Relative Content

Tag Archive for rustethereumevm

insert_account_info does not set the account balance

I’m trying to simulate uniswap_v2 swap using revm. But I’m stuck on setting up token pair by calling the factory contract, the issue is when I called the transaction, I got “LackOfFundForMaxFee”, but I have already set up the caller account with enough ETH by calling insert_account_info(), is there something else that I need to do to really set up the account?