Crate example_custom_opcodes

Source
Expand description

Custom opcodes example

Constants§

MY_STATIC_JUMP 🔒
Opcode hex value

Functions§

main
Demonstrates how to implement and use custom opcodes in REVM. This example shows how to create a custom static jump opcode that reads a 16-bit offset from the bytecode and performs a relative jump.