Who did these subtitles? They were constantly messing up what you were saying lol, but I could still hear what you were saying even without them, thankfully
there is no deploy.js after creating hardhat , instead getting iginition\modules folder under which it has Lock.js , and also another Lock.js uder test folder like seen in video
bro, when i am deploying my contract it is showing "Contract Address deployed: undefined" it is showing undefined how to get my contract address now ????
Ur deployment was successful but you have a typo in your code that's why it doesn't show the contract address faced the same issue but I fixed it later
how do I fix these errors (the ones underlined)? ------------------------------------------------------------------------------------------------ First Error: the code: for (uint256 i = 0; i < _candidates.length; i++) { candidates.push(
); } error message: Named argument "numberOfVotes" does not match function declaration. ------------------------------------------------------------------------------------------------ Second Error: the code: // to vote function function voteTo(uint256 _id) public electionOngoing { require(checkElectionPeriod(), "Election period has ended"); require(!voterStatus(msg.sender), "You already voted. You can only vote once.");
voters[msg.sender] = true; listOfVoters.push(msg.sender); } error message: Member "numberOfVotes" not found or not visible after argument-dependent lookup in struct Voting.Candidate storage ref.
so easy to understand with basic knowledge. Bravo.
Who did these subtitles? They were constantly messing up what you were saying lol, but I could still hear what you were saying even without them, thankfully
code link?
Bro, in minute 12.27, you talked about getting an application as a prerequisite. Please which application is this?
He said you need to install Git. The subtitles are all messed up lol
how do we switch this from polygon mumbai to polygon amoy
Thanks! can I have your github link?
there is no deploy.js after creating hardhat , instead getting iginition\modules folder under which it has Lock.js , and also another Lock.js uder test folder like seen in video
same issue i am having
@@loneewolf15 what did you do ? I just made a script folder and deploy. js on my own
@@shobika.g9462 same thing
in meta mask the network mumbai is not working ..can we use another network
Will it work in another network
yes you can! just make sure you get the right rpc url
@@Aya-b4v6b all we need to change is the url? what about the mumbai installation he made?
bro, when i am deploying my contract it is showing "Contract Address deployed: undefined" it is showing undefined how to get my contract address now ????
Ur deployment was successful but you have a typo in your code that's why it doesn't show the contract address faced the same issue but I fixed it later
how you fixed it@@steveantony5775
I also have the same problem! Not sure what to do. Any ideas?
@@matthewhigginbottom2580 need to see the code
@@matthewhigginbottom2580 need to see the code
zhihai2
lknlkjnlnln
how do I fix these errors (the ones underlined)?
------------------------------------------------------------------------------------------------
First Error:
the code:
for (uint256 i = 0; i < _candidates.length; i++) {
candidates.push(
);
}
error message: Named argument "numberOfVotes" does not match function declaration.
------------------------------------------------------------------------------------------------
Second Error:
the code:
// to vote function
function voteTo(uint256 _id) public electionOngoing {
require(checkElectionPeriod(), "Election period has ended");
require(!voterStatus(msg.sender), "You already voted. You can only vote once.");
voters[msg.sender] = true;
listOfVoters.push(msg.sender);
}
error message: Member "numberOfVotes" not found or not visible after argument-dependent lookup in struct Voting.Candidate storage ref.