Skip to content

Commit

Permalink
fix filler format
Browse files Browse the repository at this point in the history
  • Loading branch information
matkt committed May 12, 2020
1 parent 8efc9b2 commit 96ec2d3
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"pre" : {
"1000000000000000000000000000000000000000" : {
"balance" : "1000000000000000000",
"//code" : "This should failed because return stack grows above 1023"
"//codeLLL" : "(asm 0x0401 0x00 SSTORE BEGINSUB 0x01 0x00 SLOAD SUB DUP1 ISZERO 0x18 JUMPI 0x00 SSTORE 0x06 JUMPSUB JUMPDEST)"
"//code" : "This should failed because return stack grows above 1023",
"//codeLLL" : "(asm 0x0401 0x00 SSTORE BEGINSUB 0x01 0x00 SLOAD SUB DUP1 ISZERO 0x18 JUMPI 0x00 SSTORE 0x06 JUMPSUB JUMPDEST)",
"code" : "0x610401600055b260016000540380156018576000556006b35b",
"nonce" : "0",
"storage": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"pre" : {
"1000000000000000000000000000000000000000" : {
"balance" : "1000000000000000000",
"//code" : "This should succeed because return stack grows until 1023"
"//codeLLL" : "(asm 0x0400 0x00 SSTORE BEGINSUB 0x01 0x00 SLOAD SUB DUP1 ISZERO 0x18 JUMPI 0x00 SSTORE 0x06 JUMPSUB JUMPDEST)"
"//code" : "This should succeed because return stack grows until 1023",
"//codeLLL" : "(asm 0x0400 0x00 SSTORE BEGINSUB 0x01 0x00 SLOAD SUB DUP1 ISZERO 0x18 JUMPI 0x00 SSTORE 0x06 JUMPSUB JUMPDEST)",
"code" : "0x610400600055b260016000540380156018576000556006b35b",
"nonce" : "0",
"storage" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"pre" : {
"1000000000000000000000000000000000000000" : {
"balance" : "1000000000000000000",
"//code" : "This should jump into a subroutine, back out and stop."
"//codeLLL" : "(asm 0x04 JUMPSUB STOP BEGINSUB RETURNSUB)"
"//code" : "This should jump into a subroutine, back out and stop.",
"//codeLLL" : "(asm 0x04 JUMPSUB STOP BEGINSUB RETURNSUB)",
"code" : "0x6004b300b2b7",
"nonce" : "0",
"storage" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"pre" : {
"1000000000000000000000000000000000000000" : {
"balance" : "1000000000000000000",
"//code" : "When the subroutine returns, it should hit the ‘virtual stop’ after the bytecode, and not exit with error"
"//codeLLL" : "(asm 0x05 JUMP BEGINSUB RETURNSUB JUMPDEST 0x03 JUMPSUB)"
"//code" : "When the subroutine returns, it should hit the ‘virtual stop’ after the bytecode, and not exit with error",
"//codeLLL" : "(asm 0x05 JUMP BEGINSUB RETURNSUB JUMPDEST 0x03 JUMPSUB)",
"code" : "0x600556b2b75b6003b3",
"nonce" : "0",
"storage" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"pre" : {
"1000000000000000000000000000000000000000" : {
"balance" : "1000000000000000000",
"//code" : "This should fail, since the given location is outside of the code-range."
"//codeLLL" : "(asm 0x01000000000000000c JUMPSUB STOP BEGINSUB 0x11 JUMPSUB RETURNSUB BEGINSUB RETURNSUB)"
"//code" : "This should fail, since the given location is outside of the code-range.",
"//codeLLL" : "(asm 0x01000000000000000c JUMPSUB STOP BEGINSUB 0x11 JUMPSUB RETURNSUB BEGINSUB RETURNSUB)",
"code" : "0x6801000000000000000cb300b26011b3b7b2b7",
"nonce" : "0",
"storage" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"pre" : {
"1000000000000000000000000000000000000000" : {
"balance" : "1000000000000000000",
"//code" : "This should fail at first opcode, due to shallow return_stack"
"//codeLLL" : "(asm RETURNSUB PC PC)"
"//code" : "This should fail at first opcode, due to shallow return_stack",
"//codeLLL" : "(asm RETURNSUB PC PC)",
"code" : "0xb75858",
"nonce" : "0",
"storage" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"pre" : {
"1000000000000000000000000000000000000000" : {
"balance" : "1000000000000000000",
"//code" : "This should execute fine, going into one two depths of subroutines Bytecode"
"//codeLLL" : "(asm 0x00000000000000000c JUMPSUB STOP BEGINSUB 0x11 JUMPSUB RETURNSUB BEGINSUB RETURNSUB)"
"//code" : "This should execute fine, going into one two depths of subroutines Bytecode",
"//codeLLL" : "(asm 0x00000000000000000c JUMPSUB STOP BEGINSUB 0x11 JUMPSUB RETURNSUB BEGINSUB RETURNSUB)",
"code" : "0x6800000000000000000cb300b26011b3b7b2b7",
"nonce" : "0",
"storage" : {
Expand Down

0 comments on commit 96ec2d3

Please sign in to comment.