Skip to content

Foundry compiler error when using cheatcodes #1569

Answered by mds1
stmario asked this question in Help
Discussion options

You must be logged in to vote

You just need to cast to address first, i.e. hoax(address(0xdeadbeef)) and vm.prank(address(0xdeadbeef)). I think the default type it gives without casting is an integer

Replies: 2 comments 1 reply

Comment options

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

Answer selected by stmario
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