eosnetworkfoundation / eos-evm-node

Other
3 stars 5 forks source link

Automated gas consumption test: token swap #314

Open taokayan opened 1 month ago

taokayan commented 1 month ago

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