Develop automated tests to verify the gas consumption are same across the following executors (including using the latest gas algorithm with custom gas parameters):
executor in the evm-runtime contract
executor in evm-node
executor used in gas estimation via rpc
executor in transaction trace
executor in vmTrace
for the following transactions:
swap contract deployment
swap contract initialization
1st transfer tokens to swap contract (init funds for the swap pool)
2nd transfer tokens to swap contract (add funds to existing pool)
token swap to new account (account that does not have ERC20 token balance)
token swap to existing account (account that has ERC20 token balance)
use eth-brownie to help us with the setup of the contracts (uniswap pools, nft, etc) and also with the interaction with the EVM since all our integration tests are using python already.
Depends on https://github.com/eosnetworkfoundation/eos-evm-node/issues/305
Develop automated tests to verify the gas consumption are same across the following executors (including using the latest gas algorithm with custom gas parameters):
for the following transactions:
use eth-brownie to help us with the setup of the contracts (uniswap pools, nft, etc) and also with the interaction with the EVM since all our integration tests are using python already.
also look into hardhat.config used in
eos-evm-node
and also scripts.measure the executor in the evm-runtime contract by using the balance difference and the gas price