crytic / building-secure-contracts

Guidelines and training material to write secure smart contracts
https://secure-contracts.com/
GNU Affero General Public License v3.0
2.18k stars 341 forks source link

Add `PUSH0` opcode #319

Closed ardislu closed 6 months ago

ardislu commented 1 year ago

This PR updates the EVM Opcode Reference page to add the PUSH0 (0x5f) opcode, which was introduced in EIP-3855 and implemented as part of the Shapella upgrade (April 12, 2023).

I wasn't sure how to populate the function notation in the instruction details section, please let me know how to update it correctly.

montyly commented 6 months ago

Good catch, thanks @ardislu