Skip to content

Commit

Permalink
delegatecall coverage fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrieco-tob committed Jun 22, 2023
1 parent 13aac04 commit b88a4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Echidna/Exec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ execTxWithCov tx = do

-- | Get the current contract's bytecode metadata
currentMeta vm = fromMaybe (error "no contract information on coverage") $ do
buffer <- vm ^? #env % #contracts % at vm.state.contract % _Just % bytecode
buffer <- vm ^? #env % #contracts % at vm.state.codeContract % _Just % bytecode
let bc = forceBuf buffer
pure $ lookupBytecodeMetadata cache bc

Expand Down

0 comments on commit b88a4c0

Please sign in to comment.