Skip to content

Running tests and enabling cheats outside forge command #4475

Answered by mds1
miohtama asked this question in Q&A
Discussion options

You must be logged in to vote

Cheat codes and the Vm interface are only usable in forge, you can do the equivalent in anvil with RPC calls https://book.getfoundry.sh/reference/anvil/#custom-methods

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by miohtama
Comment options

You must be logged in to vote
3 replies
@mds1
Comment options

mds1 Mar 9, 2023
Maintainer

@miohtama
Comment options

@mds1
Comment options

mds1 Mar 24, 2023
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants