I would like a helper method to override account state, similar to hardhat_setStorageAt feature by hardhat. The use-case is when running in forking mode, I would like my tests to run thru various scenarios which is only possible by manipulating state of other contracts.
For now, I am able to do this by going lower-level and doing these against pyEVM directly. Here is an example where I set the balance of a given account to 5000 stETH
I would like a helper method to override account state, similar to
hardhat_setStorageAt
feature by hardhat. The use-case is when running in forking mode, I would like my tests to run thru various scenarios which is only possible by manipulating state of other contracts.For now, I am able to do this by going lower-level and doing these against pyEVM directly. Here is an example where I set the balance of a given account to 5000 stETH