Skip to content

Commit 3eeaeef

Browse files
committed
[WIP] Implement subroutine opcodes
1 parent 4a83d42 commit 3eeaeef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eth/vm/rstack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def push_int(self, value: int) -> None:
4545

4646
validate_stack_int(value)
4747

48-
self._append(value)
48+
self._append((int, value))
4949

5050
def pop1_int(self) -> int:
5151
#

tests/core/opcodes/test_opcodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ def test_blake2b_f_compression(vm_class, input_hex, output_hex, expect_exception
11441144
(
11451145
BerlinVM,
11461146
'0x6005565c5d5b60035e',
1147-
0,
1147+
30,
11481148
),
11491149
)
11501150
)

0 commit comments

Comments
 (0)