Skip to content

Commit

Permalink
Automatically merged updates to draft EIP(s) 2315 (ethereum#2591)
Browse files Browse the repository at this point in the history
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
  • Loading branch information
holiman authored and pizzarob committed Jun 12, 2020
1 parent 6d9b14d commit 149e222
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions EIPS/eip-2315.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ any `BEGINSUB` operation.

This should jump into a subroutine, back out and stop.

Bytecode: `0x6004b300b5b7`
Bytecode: `0x6004b200b3b7`


| Pc | Op | Cost | Stack | RStack |
Expand All @@ -96,7 +96,7 @@ Bytecode: `0x6004b300b5b7`
### Two levels of subroutines

This should execute fine, going into one two depths of subroutines
Bytecode: `0x6800000000000000000cb300b56011b3b7b5b7`
Bytecode: `0x6800000000000000000cb200b36011b2b7b3b7`

| Pc | Op | Cost | Stack | RStack |
|-------|-------------|------|-----------|-----------|
Expand All @@ -116,7 +116,7 @@ Bytecode: `0x6800000000000000000cb300b56011b3b7b5b7`
This should fail, since the given `location` is outside of the code-range. The code is the same as previous example,
except that the pushed `location` is `0x01000000000000000c` instead of `0x0c`.

Bytecode: `0x6801000000000000000cb300b56011b3b7b5b7`
Bytecode: `0x6801000000000000000cb200b36011b2b7b3b7 `

| Pc | Op | Cost | Stack | RStack |
|-------|-------------|------|-----------|-----------|
Expand Down

0 comments on commit 149e222

Please sign in to comment.