gnosischain / reth_gnosis

22 stars 3 forks source link

sanity check for eip 1559 #28

Closed debjit-bw closed 1 week ago

debjit-bw commented 2 weeks ago

sanity check script for eip 1559 (to ensure collector gets base fee and coinbase gets the effectivegas-basefee)

this PR includes a CI step which runs a couple txs and checks whether the collector address receives the base fees, and the coinbase receives the tip (effective gas minus base fee)

check the last few lines of the CI step here.

dapplion commented 3 days ago

Closing in favor of:

Adding separate bash scripts for every test scales pretty bad. The scripts should result in producing a sequence of blocks from Nethermind with the engine API and then apply those blocks on Reth.

So you can have multiple generators, each generates a directory of block JSONs blocks_test_withdrawalseip4895, then we have a script that you pass a blocks directory as argument and runs the test.