From deae66840493b8483ed206934589f2cee9ca37dc Mon Sep 17 00:00:00 2001 From: pdobacz <5735525+pdobacz@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:54:33 +0100 Subject: [PATCH] fix(eof): eofwrap.py to respect original genesis env --- src/cli/eofwrap.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/cli/eofwrap.py b/src/cli/eofwrap.py index e7a8269cd9..5e3646b0cc 100644 --- a/src/cli/eofwrap.py +++ b/src/cli/eofwrap.py @@ -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