Skip to content

Commit

Permalink
🔨 Codecopy offset
Browse files Browse the repository at this point in the history
  • Loading branch information
smitrajput committed May 31, 2023
1 parent 3d0ca26 commit edff453
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PuzzleBoxSolution_V2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ contract PuzzleBoxSolution_V2 {
// copy encoded selectors + Helper contract bytecode from environment code (at 'garage' below) to memory, to avoid 'add(selectoors, specificSelectorOffset)' opcodes for
// calls to zip, creep, torch, spread, open
// codecopy(0x20, 469, 1020)
codecopy(0x20, 155, 1063)
// codecopy(0x20, 509, 1020)
codecopy(0x20, 477, 1020)

// test call to log calldata at 0x320
// pop(call(gas(), 0x69209d8a7d258515eC9a4D25F7Be1dB85cB1B826, callvalue(), 0x320, 252, callvalue(), callvalue()))
Expand Down

0 comments on commit edff453

Please sign in to comment.