Skip to content

Commit

Permalink
Update EOF1_RJUMP_RJUMPI_Execution tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Dec 29, 2022
1 parent e571c58 commit 7903da6
Showing 1 changed file with 9 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,59 +22,45 @@ EOF1_RJUMP_RJUMPI_Execution:
storage: {}
1000000000000000000000000000000000000001:
balance: 0
# RJUMP(1) INVALID PUSH1(1) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RETURN
code: ':raw 0xef000101000e005c0001fe600160005360016000f3'
# RJUMP(1) RETURN PUSH1(1) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RJUMP(-13)
code: ':raw 0xef0001010004020001001003000000000000025c0001f36001600053600160005cfff3'
nonce: 0
storage: {}
1000000000000000000000000000000000000002:
balance: 0
# RJUMP(1) INVALID PUSH1(1) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RETURN
code: ':raw 0xef000101000e020004005c0001fe600160005360016000f3deadbeef'
nonce: 0
storage: {}
1000000000000000000000000000000000000003:
balance: 0
# RJUMP(11) INVALID PUSH1(1) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RETURN RJUMP(-13) STOP
code: ':raw 0xef0001010012005c000bfe600160005360016000f35cfff300'
nonce: 0
storage: {}
1000000000000000000000000000000000000004:
balance: 0
# RJUMP(-11) INVALID PUSH1(1) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RETURN RJUMP(-11) STOP
code: ':raw 0xef0001010012020004005c000bfe600160005360016000f35cfff300deadbeef'
# RJUMP(1) RETURN PUSH1(1) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RJUMP(-13)
code: ':raw 0xef0001010004020001001003000400000000025c0001f36001600053600160005cfff3deadbeef'
nonce: 0
storage: {}
1000000000000000000000000000000000000005:
balance: 0
# RJUMP(0) PUSH1(1) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RETURN
code: ':raw 0xef000101000d005c0000600160005360016000f3'
code: ':raw 0xef0001010004020001000d03000000000000025c0000600160005360016000f3'
nonce: 0
storage: {}
1000000000000000000000000000000000000006:
balance: 0
# PUSH1(0) CALLDATALOAD RJUMPI(10) PUSH1(2) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RETURN PUSH1(1) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RETURN
code: ':raw 0xef000101001a006000355d000a600260005360016000f3600160005360016000f3'
code: ':raw 0xef0001010004020001001a03000000000000026000355d000a600260005360016000f3600160005360016000f3'
nonce: 0
storage: {}
1000000000000000000000000000000000000007:
balance: 0
# RJUMP(11) INVALID PUSH1(1) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RETURN PUSH1(0) CALLDATALOAD RJUMPI(-16) PUSH1(2) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RETURN
code: ':raw 0xef000101001e005c000bfe600160005360016000f36000355dfff0600260005360016000f3'
# RJUMP(10) PUSH1(1) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RETURN PUSH1(0) CALLDATALOAD RJUMPI(-16) PUSH1(2) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RETURN
code: ':raw 0xef0001010004020001001d03000000000000025c000a600160005360016000f36000355dfff0600260005360016000f3'
nonce: 0
storage: {}
1000000000000000000000000000000000000008:
balance: 0
# PUSH1(0) CALLDATALOAD RJUMPI(0) PUSH1(1) PUSH1(0) MSTORE8 PUSH1(1) PUSH1(0) RETURN
code: ':raw 0xef0001010010006000355d0000600160005360016000f3'
code: ':raw 0xef0001010004020001001003000000000000026000355d0000600160005360016000f3'
nonce: 0
storage: {}

transaction:
data:
- ':label rjump :raw 0x1000000000000000000000000000000000000001'
- ':label rjump_with_data :raw 0x1000000000000000000000000000000000000002'
- ':label rjump_backward :raw 0x1000000000000000000000000000000000000003'
- ':label rjump_backward_with_data :raw 0x1000000000000000000000000000000000000004'
- ':label rjump_zero_offset :raw 0x1000000000000000000000000000000000000005'
- ':label rjumpi_condition_true :raw 0x100000000000000000000000000000000000000601'
- ':label rjumpi_condition_false :raw 0x100000000000000000000000000000000000000600'
Expand Down Expand Up @@ -142,56 +128,6 @@ EOF1_RJUMP_RJUMPI_Execution:
1000000000000000000000000000000000000001:
storage: {}

- indexes:
data: ':label rjump_backward'
network:
- 'Merge'
result:
a94f5374fce5edbc8e2a8697c15331677e6ebf0b:
nonce: 1
b94f5374fce5edbc8e2a8697c15331677e6ebf0b:
storage: {}
1000000000000000000000000000000000000001:
storage: {}
- indexes:
data: ':label rjump_backward'
network:
- 'Merge+3540+3670+4200'
result:
a94f5374fce5edbc8e2a8697c15331677e6ebf0b:
nonce: 1
b94f5374fce5edbc8e2a8697c15331677e6ebf0b:
storage:
'0': '1'
'1': '1'
1000000000000000000000000000000000000001:
storage: {}

- indexes:
data: ':label rjump_backward_with_data'
network:
- 'Merge'
result:
a94f5374fce5edbc8e2a8697c15331677e6ebf0b:
nonce: 1
b94f5374fce5edbc8e2a8697c15331677e6ebf0b:
storage: {}
1000000000000000000000000000000000000001:
storage: {}
- indexes:
data: ':label rjump_backward_with_data'
network:
- 'Merge+3540+3670+4200'
result:
a94f5374fce5edbc8e2a8697c15331677e6ebf0b:
nonce: 1
b94f5374fce5edbc8e2a8697c15331677e6ebf0b:
storage:
'0': '1'
'1': '1'
1000000000000000000000000000000000000001:
storage: {}

- indexes:
data: ':label rjump_zero_offset'
network:
Expand Down

0 comments on commit 7903da6

Please sign in to comment.