hevm-0.48.0: Ethereum virtual machine evaluator
Safe HaskellNone
LanguageHaskell2010

EVM.VMTest

Synopsis

Documentation

data Case Source #

Instances

Instances details
Show Case Source # 
Instance details

Defined in EVM.VMTest

Methods

showsPrec :: Int -> Case -> ShowS #

show :: Case -> String #

showList :: [Case] -> ShowS #

data BlockchainCase Source #

Instances

Instances details
Show BlockchainCase Source # 
Instance details

Defined in EVM.VMTest

FromJSON BlockchainCase Source # 
Instance details

Defined in EVM.VMTest

initTx :: VM -> VM Source #

Given a valid tx loaded into the vm state, subtract gas payment from the origin, increment the nonce and pay receiving address

setupTx :: Addr -> Addr -> Word -> Word -> Map Addr Contract -> Map Addr Contract Source #

Increments origin nonce and pays gas deposit

Orphan instances