Skip to content

Commit

Permalink
Merge pull request #785 from ethereum-optimism/qbzzt/230614-push0
Browse files Browse the repository at this point in the history
feat(build/differences): Add the fact we don't support PUSH0 yet
  • Loading branch information
qbzzt authored Jun 30, 2023
2 parents 3197f75 + 22ef921 commit 745f74a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/docs/developers/build/differences.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ You should be aware of these descrepancies when building apps on top of OP Mainn
| `TIMESTAMP` | `block.timestamp` | Timestamp of the L2 block
| `ORIGIN` | `tx.origin` | If the transaction is an L1 ⇒ L2 transaction, then `tx.origin` is set to the [aliased address](#address-aliasing) of the address that triggered the L1 ⇒ L2 transaction. Otherwise, this opcode behaves normally. |
| `CALLER` | `msg.sender` | If the transaction is an L1 ⇒ L2 transaction, and this is the initial call (rather than an internal transaction from one contract to another), the same [address aliasing](#address-aliasing) behavior applies.
| [`PUSH0`](https://www.evm.codes/#5f?fork=shanghai) | N/A | Opcode not supported yet (will be added in a hardfork)

::: tip `tx.origin == msg.sender`

Expand Down

0 comments on commit 745f74a

Please sign in to comment.