✅Puzzle 1
CALLVALUE, JUMP, JUMPDEST
Puzzle
Solution
Look up CALLVALUE
on evm.codes:
Get deposited value by the instruction/transaction responsible for this execution
In other words, CALLVALUE
pushes msg.value onto the stack. In this puzzle, our input is used as msg.value.
After that, JUMP
is going to pop the top element from the stack, which is msg.value. This is equivalent to calling jump(msg.value)
. It changes the PC to the address specified by our input.
The objective is to jump to address 0x08
, so 8 is the correct input.
Last updated