Skip to content
Discussion options

You must be logged in to vote

I figured out, the test network is wrong, but forge didn't prompt anything

If the test network is wrong you likely interacted with an account with no code. The error here is a run-time error generated by Solidity, i.e. Solidity inserts either an extcodesize check (checking that the account has code) or an attempt to decode the return data of the function. So, it is Solidity that is reverting with no error: this is not really something we can check for, hence the lacking error message.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@CaledoniaProject
Comment options

Answer selected by CaledoniaProject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants