Skip to content

Commit

Permalink
hevm: add chainid option in SymExec.hs
Browse files Browse the repository at this point in the history
  • Loading branch information
MrChico committed Jul 22, 2020
1 parent f1c3faa commit 8e1980f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/hevm/hevm-cli/hevm-cli.hs
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,6 @@ symvmFromCommand cmd = do
}
word f def = fromMaybe def (f cmd)
addr f def = fromMaybe def (f cmd)
>>>>>>> 9c392c9a... move equivalence checking out to symbolic, more customization options for symexec cli endpoint

launchTest :: Command Options.Unwrapped -> IO ()
launchTest cmd = do
Expand Down
1 change: 1 addition & 0 deletions src/hevm/src/EVM/SymExec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ loadSymVM x initStore addr callvalue' calldata' =
, vmoptGaslimit = 0xffffffffffffffff
, vmoptMaxCodeSize = 0xffffffff
, vmoptSchedule = FeeSchedule.istanbul
, vmoptChainId = 1
, vmoptCreate = False
}) & set (env . contracts . at (createAddress ethrunAddress 1))
(Just (contractWithStore x initStore))
Expand Down

0 comments on commit 8e1980f

Please sign in to comment.