From d9a9812b52c75241a5a16e20c75801714ea50639 Mon Sep 17 00:00:00 2001 From: sonhv0212 Date: Thu, 22 May 2025 16:00:58 +0700 Subject: [PATCH] fix(tests): EIP-2935: use Op.NUMBER instead of hard-coded block number 1 --- .../test_block_hashes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/prague/eip2935_historical_block_hashes_from_state/test_block_hashes.py b/tests/prague/eip2935_historical_block_hashes_from_state/test_block_hashes.py index 7a4bcd14fc6..ff590d4c3cc 100644 --- a/tests/prague/eip2935_historical_block_hashes_from_state/test_block_hashes.py +++ b/tests/prague/eip2935_historical_block_hashes_from_state/test_block_hashes.py @@ -240,7 +240,7 @@ def test_block_hashes_call_opcodes( ) code = ( - Op.MSTORE(0, 1) + Op.MSTORE(0, Op.SUB(Op.NUMBER(), 1)) + Op.SSTORE( return_code_slot, call_opcode(