Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

stop if the basic selector doesn't match #81

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/tutorial/the-basics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ To accept external calls for multiple functions we will have to extract our `add

// Jump to the implementation of the ADD_TWO function if the calldata matches the function selector
__FUNC_SIG(addTwo) eq addTwo jumpi

// Stop execution if the calldata doesn't match the function selector
stop

addTwo:
ADD_TWO()
Expand Down