BlockVote
BlockVote copied to clipboard
display of winner
i have gone through the code but how do you declare the winner there is no functionality regarding it
Good Catch. Go ahead and create a PR, will be happy to see the enchancement.
ive tried running the application but cast vote option is not working can you please let me know whats the issue there

ive tried running the application but cast vote option is not working can you please let me know whats the issue there
Yeah even I have got the same issue please can anyone help me learn and work on this project practically
This project is running on a legacy solc version. There are some updates required in the endpoint, I'll update my code.
Please refer to the issue #11 I will be posting all my updates there.
cc: @tarunratan @Nanda9959
Fixed the Cast Vote page issue, please clone/pull the latest changes from master and run the project with steps that I've mentioned in the README.
cc: @tarunratan @Nanda9959
Thanks for the update sir. But I wish to have one hour of your time, for me to discuss few doubts with you. Please can you mention your free time and give your contact number.
Thanks & Regards Nanda Kishore
On Thu, Aug 11, 2022, 2:29 PM Sumit Banik @.***> wrote:
Fixed the Cast Vote page issue, please clone/pull the latest changes from master and run the project with steps that I've mentioned in the README.
cc: @tarunratan https://github.com/tarunratan @Nanda9959 https://github.com/Nanda9959
— Reply to this email directly, view it on GitHub https://github.com/iSumitBanik/BlockVote/issues/6#issuecomment-1211720704, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATMZR2ION2VK5BB6ZRLWPG3VYS6FVANCNFSM5SVA5LHQ . You are receiving this because you were mentioned.Message ID: @.***>
I got an error with respect to delopying the smart contracts using the command " truffle migrate --reset "
But I got the following error
E:\PROJECT files\BlockVote-master>truffle migrate --reset Compiling .\contracts\Election.sol... Compiling .\contracts\Migrations.sol...
/E/PROJECT files/BlockVote-master/contracts/Election.sol:2:1: SyntaxError: Source file requires different compiler version (current compiler is 0.5.0+commit.1d4f565a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version pragma solidity 0.8.16; ^---------------------^ ,/E/PROJECT files/BlockVote-master/contracts/Migrations.sol:2:1: SyntaxError: Source file requires different compiler version (current compiler is 0.5.0+commit.1d4f565a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version pragma solidity 0.8.16; ^---------------------^ Compilation failed. See above. Truffle v5.0.2 (core: 5.0.2) Node v16.16.0
EDIT I have changed the solidity files version for my case to strictly 0.5.0 and my files got compiled and deployed. BUT still, the problem of cast vote is not working.
I got an error with respect to delopying the smart contracts using the command " truffle migrate --reset "
But I got the following error
E:\PROJECT files\BlockVote-master>truffle migrate --reset Compiling .\contracts\Election.sol... Compiling .\contracts\Migrations.sol...
/E/PROJECT files/BlockVote-master/contracts/Election.sol:2:1: SyntaxError: Source file requires different compiler version (current compiler is 0.5.0+commit.1d4f565a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version pragma solidity 0.8.16; ^---------------------^ ,/E/PROJECT files/BlockVote-master/contracts/Migrations.sol:2:1: SyntaxError: Source file requires different compiler version (current compiler is 0.5.0+commit.1d4f565a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version pragma solidity 0.8.16; ^---------------------^ Compilation failed. See above. Truffle v5.0.2 (core: 5.0.2) Node v16.16.0
EDIT I have changed the solidity files version for my case to strictly 0.5.0 and my files got compiled and deployed. BUT still, the problem of cast vote is not working.
have you connected your account to metamask?
That's not being possible The same loading page can be seen
On Thu, Aug 11, 2022, 9:43 PM Sumit Banik @.***> wrote:
I got an error with respect to delopying the smart contracts using the command " truffle migrate --reset "
But I got the following error
E:\PROJECT files\BlockVote-master>truffle migrate --reset Compiling .\contracts\Election.sol... Compiling .\contracts\Migrations.sol...
/E/PROJECT files/BlockVote-master/contracts/Election.sol:2:1: SyntaxError: Source file requires different compiler version (current compiler is 0.5.0+commit.1d4f565a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version pragma solidity 0.8.16; ^---------------------^ ,/E/PROJECT files/BlockVote-master/contracts/Migrations.sol:2:1: SyntaxError: Source file requires different compiler version (current compiler is 0.5.0+commit.1d4f565a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version pragma solidity 0.8.16; ^---------------------^ Compilation failed. See above. Truffle v5.0.2 (core: 5.0.2) Node v16.16.0
EDIT I have changed the solidity files version for my case to strictly 0.5.0 and my files got compiled and deployed. BUT still, the problem of cast vote is not working.
have you connected your account to metamask?
— Reply to this email directly, view it on GitHub https://github.com/iSumitBanik/BlockVote/issues/6#issuecomment-1212199690, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATMZR2L2ZFABPRLRPIM4BJ3VYUREHANCNFSM5SVA5LHQ . You are receiving this because you were mentioned.Message ID: @.***>
That's not being possible The same loading page can be seen … On Thu, Aug 11, 2022, 9:43 PM Sumit Banik @.> wrote: I got an error with respect to delopying the smart contracts using the command " truffle migrate --reset " But I got the following error E:\PROJECT files\BlockVote-master>truffle migrate --reset Compiling .\contracts\Election.sol... Compiling .\contracts\Migrations.sol... /E/PROJECT files/BlockVote-master/contracts/Election.sol:2:1: SyntaxError: Source file requires different compiler version (current compiler is 0.5.0+commit.1d4f565a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version pragma solidity 0.8.16; ^---------------------^ ,/E/PROJECT files/BlockVote-master/contracts/Migrations.sol:2:1: SyntaxError: Source file requires different compiler version (current compiler is 0.5.0+commit.1d4f565a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version pragma solidity 0.8.16; ^---------------------^ Compilation failed. See above. Truffle v5.0.2 (core: 5.0.2) Node v16.16.0 EDIT I have changed the solidity files version for my case to strictly 0.5.0 and my files got compiled and deployed. BUT still, the problem of cast vote is not working. I https://user-images.githubusercontent.com/63529934/161937998-5d70f421-0da5-4432-a131-92bd4829c80d.png have you connected your account to metamask? — Reply to this email directly, view it on GitHub <#6 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATMZR2L2ZFABPRLRPIM4BJ3VYUREHANCNFSM5SVA5LHQ . You are receiving this because you were mentioned.Message ID: @.>
What is not possible? You have to click on three dots and manually connect to the site!
good morning sir there is no option for connecting metamask to the site sir when we go to the cast vote section it just starts loading, no any such options will be visible.
I have a doubt from the below reference image please have a look at it "AT BASEDIR" the one it is taking files from

here I feel like it is taking JSON files of election and migration files right? is this the reason for the error I am getting? I tried even removing the JSON files, but yet the problem persists
@iSumitBanik sir please can you do a small screen sharing video from the starting like how you executed it may be then I think we can figure out this problem
Hello, sir please can you help by creating a small youtube video on the exact process of getting the output of the project? like how you executed it and what each file does. please do this needful. I request your support.
hello sir please help me I have no much time to complete this project successfully and also to submit the same as my mini project.
I do require your help a lot. please make a small video for me on the whole process to run the way you did and how you got the cast vote page be available