In mainnet forking, I am trying to move some fund, say from one LP token contract to address I control so that I can test functionality. Is there any cheatcode that enables me to do this?
1 Answer
For hardhat, there is an RPC method Impersonating accounts that allows you to do this. and it seems like Foundry implemented something similar as anvil_impersonateAccount
.