Skip to content

Commit 6257568

Browse files
committed
Fix copy pre-state on fill
1 parent 53085f7 commit 6257568

File tree

1 file changed

+2
-1
lines changed
  • src/ethereum_test_tools/filling

1 file changed

+2
-1
lines changed

src/ethereum_test_tools/filling/fill.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Filler object definitions.
33
"""
4+
from copy import copy
45
from typing import List, Mapping, Optional
56

67
from evm_block_builder import BlockBuilder
@@ -60,7 +61,7 @@ def fill_test(
6061
fork="+".join([fork] + [str(eip) for eip in eips])
6162
if eips is not None
6263
else fork,
63-
pre_state=test.pre,
64+
pre_state=copy(test.pre),
6465
post_state=alloc,
6566
seal_engine=engine,
6667
name=test.name,

0 commit comments

Comments
 (0)