Skip to content

Commit

Permalink
fix(eof): eofwrap.py to respect original genesis env
Browse files Browse the repository at this point in the history
  • Loading branch information
pdobacz committed Dec 10, 2024
1 parent dc05b42 commit deae668
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/cli/eofwrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,14 @@ def _short_exception_msg(self, e: Exception):
return short

def _wrap_fixture(self, fixture: BlockchainFixture, traces: bool):
env = Environment()
env = Environment(
difficulty=fixture.genesis.difficulty,
gas_limit=fixture.genesis.gas_limit,
base_fee_per_gas=fixture.genesis.base_fee_per_gas,
blob_gas_used=fixture.genesis.blob_gas_used,
excess_blob_gas=fixture.genesis.excess_blob_gas,
parent_beacon_block_root=fixture.genesis.parent_beacon_block_root,
)

pre = fixture.pre

Expand Down

0 comments on commit deae668

Please sign in to comment.