-
I have the following simple setup and somehow some cheatcodes just won't work, even though they are present and declared
Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Answered by
mds1
May 9, 2022
Replies: 2 comments 1 reply
-
You just need to cast to address first, i.e. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
stmario
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You just need to cast to address first, i.e.
hoax(address(0xdeadbeef))
andvm.prank(address(0xdeadbeef))
. I think the default type it gives without casting is an integer