Skip to content

Commit

Permalink
Merge pull request #623 from ethereum/missing-override
Browse files Browse the repository at this point in the history
Adding a note about prank and delegatecall
  • Loading branch information
msooseth authored Jan 2, 2025
2 parents 037ff11 + ab14ffb commit 20b36c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/EVM.hs
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,8 @@ exec1 = do
case gasTryFrom xGas of
Left _ -> vmError IllegalOverflow
Right gas ->
-- NOTE: we don't update overrideCaller in this case because
-- forge-std doesn't. see: https://github.com/foundry-rs/foundry/pull/8863
delegateCall this gas xTo' self (Lit 0) xInOffset xInSize xOutOffset xOutSize xs $
\_ -> touchAccount self
_ -> underrun
Expand Down

0 comments on commit 20b36c2

Please sign in to comment.