Error: call revert exception When calling a read function #1910
Replies: 3 comments 1 reply
-
Your |
Beta Was this translation helpful? Give feedback.
-
It seems the issue was that I was deploying to Anyone have any idea why it threw an error for that? I thought hardhat was a local network. |
Beta Was this translation helpful? Give feedback.
-
Oh, AFAIK in hardhat, |
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.
-
Whenever I call a read function it causes a
The
contract
shows that it indeed has the function available and that it's true it has asigner
so I'm not sure why it keeps doing this error whenever I try to call a function to get its return value??Also, whenever I do a transaction it will just allow me to send it without reverting from the
require()
statements I put.Setting
contract
:Beta Was this translation helpful? Give feedback.
All reactions