You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to call the enterLottery function, in lesson 10, of the contract on hardhat local test-net I get this error in the HH node console:
eth_call
Contract call: Raffle#
From: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
To: 0xcf7ed3acca5a467e9e704c703e8d87f634fb0fc9
Error: Transaction reverted: functionselector was not recognized and there's no fallback function at Raffle. (contracts/Raffle.sol:22)
This is reappearing multiple times, with only one transaction send.
I found out that the issue appeared before in this course and was discussed in this issue by Patrick,
and this discussion.
But the final conclusion seemed to be to reset the Metamask account, which I tried and does not work for me.
Did I miss some other part of the discussion that needs to be taken into account? Is anyone else still having that issue?
The other getter functions do work and the UI does even update the "numberOfPlayers" and other fields. Also, the account balance in metamask is being reduced. As also described in the discussion above. I'm not sure if that means, that the transaction is actually executed and the hh node log messages are wrong and can be ignored or if an actual problem occurs.
Is this something I should be highly concerned about in a real project?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When trying to call the enterLottery function, in lesson 10, of the contract on hardhat local test-net I get this error in the HH node console:
This is reappearing multiple times, with only one transaction send.
I found out that the issue appeared before in this course and was discussed in this issue by Patrick,
and this discussion.
But the final conclusion seemed to be to reset the Metamask account, which I tried and does not work for me.
Did I miss some other part of the discussion that needs to be taken into account? Is anyone else still having that issue?
The other getter functions do work and the UI does even update the "numberOfPlayers" and other fields. Also, the account balance in metamask is being reduced. As also described in the discussion above. I'm not sure if that means, that the transaction is actually executed and the hh node log messages are wrong and can be ignored or if an actual problem occurs.
Is this something I should be highly concerned about in a real project?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions