Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data BlockchainCase Source #
Instances
Show BlockchainCase Source # | |
Defined in EVM.VMTest showsPrec :: Int -> BlockchainCase -> ShowS # show :: BlockchainCase -> String # showList :: [BlockchainCase] -> ShowS # | |
FromJSON BlockchainCase Source # | |
Defined in EVM.VMTest parseJSON :: Value -> Parser BlockchainCase # parseJSONList :: Value -> Parser [BlockchainCase] # |
parseBCSuite :: ByteString -> Either String (Map String Case) 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
checkExpectation :: HasCallStack => Bool -> Case -> VM -> IO Bool Source #