Skip to content

Commit d0f584a

Browse files
committed
eth/vm: fix accidental override of ensure_no_static() in Constantinople.
1 parent ff11358 commit d0f584a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: eth/vm/forks/constantinople/opcodes.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
opcode_values,
1212
)
1313
from eth.vm.forks.byzantium.opcodes import (
14-
BYZANTIUM_OPCODES
14+
BYZANTIUM_OPCODES,
15+
ensure_no_static
1516
)
1617
from eth.vm.forks.constantinople.constants import (
1718
GAS_EXTCODEHASH_EIP1052
@@ -56,7 +57,7 @@
5657
gas_cost=constants.GAS_CREATE,
5758
)(),
5859
opcode_values.SSTORE: as_opcode(
59-
logic_fn=sstore_eip1283,
60+
logic_fn=ensure_no_static(sstore_eip1283),
6061
mnemonic=mnemonics.SSTORE,
6162
gas_cost=constants.GAS_NULL,
6263
),

0 commit comments

Comments
 (0)