@@ -26,6 +26,7 @@ import System.Process qualified as P
2626import EVM (bytecode , replaceCodeOfSelf , loadContract , exec1 , vmOpIx , clearTStorages )
2727import EVM.ABI
2828import EVM.Dapp (DappInfo )
29+ import EVM.Effects (defaultConfig )
2930import EVM.Exec (exec , vmForEthrunCreation )
3031import EVM.Fetch qualified
3132import EVM.Format (hexText , showTraceTree )
@@ -240,7 +241,7 @@ execTx
240241 => VM Concrete RealWorld
241242 -> Tx
242243 -> m ((VMResult Concrete RealWorld , Gas ), VM Concrete RealWorld )
243- execTx vm tx = runStateT (execTxWith (fromEVM exec) tx) vm
244+ execTx vm tx = runStateT (execTxWith (fromEVM ( exec defaultConfig) ) tx) vm
244245
245246-- | A type alias for the context we carry while executing instructions
246247type CoverageContext = (Bool , Maybe (VMut. IOVector CoverageInfo , Int ))
@@ -289,7 +290,7 @@ execTxWithCov tx = do
289290
290291 -- | Execute one instruction on the EVM
291292 stepVM :: VM Concrete RealWorld -> IO (VM Concrete RealWorld )
292- stepVM = stToIO . execStateT exec1
293+ stepVM = stToIO . execStateT ( exec1 defaultConfig)
293294
294295 -- | Add current location to the CoverageMap
295296 addCoverage :: VM Concrete RealWorld -> IO ()
@@ -339,6 +340,6 @@ initialVM :: Bool -> ST s (VM Concrete s)
339340initialVM ffi = do
340341 vm <- vmForEthrunCreation mempty
341342 pure $ vm & # block % # timestamp .~ Lit initialTimestamp
342- & # block % # number .~ initialBlockNumber
343+ & # block % # number .~ Lit initialBlockNumber
343344 & # env % # contracts .~ mempty -- fixes weird nonce issues
344345 & # config % # allowFFI .~ ffi
0 commit comments