Lesson 8: Error: Transaction reverted without a string and invalid block tags. #475
Replies: 5 comments 6 replies
-
When I run the node I get this as well: Whereas in Patrick's video his has FundMe |
Beta Was this translation helpful? Give feedback.
-
Ok so if I do "yarn hardhat deploy" first then it gets a fund me in the contract deployment but now I get this error in the node terminal:
|
Beta Was this translation helpful? Give feedback.
-
Hello.. I got the same error ( eth_call Error: Transaction reverted: function selector was not recognized and there's no fallback function ) How do you know that the transaction goes through? |
Beta Was this translation helpful? Give feedback.
-
not quite sure if this will solve it but you have: |
Beta Was this translation helpful? Give feedback.
-
@MichaelGKing @zahraha97 Hey I was getting the same issue In advanced section , you can find the reddish button to reset: And also change the chainId in your metamasks's localhost hardhat network, Good luck |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am having trouble running my code on the local hardhat node.
On both Patrick's cloned repo's and my own work I consistently get this error:
Error: Transaction reverted without a reason string
Also in my node terminal, even after resetting my Metamask I get this issue: (block number changes)
Received invalid block tag 4. Latest block number is 3
When cloning Patrick's repo I do everything the Readme says. Except this part, I'm unsure what it means:
Reserve the front end with yarn http-server, input an amount in the text box, and hit fund button after connecting
This is my index.js folder:
Any help on the issue would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions