Versions in this module Expand all Collapse all v0 v0.8.0 Mar 30, 2021 Changes in this version + type Snapshot struct + func NewSnapshot(mach machine.Machine, time inbox.ChainTime, chainId *big.Int, ...) *Snapshot + func (s *Snapshot) AddMessage(msg message.Message, sender common.Address, targetHash common.Hash) (*evm.TxResult, error) + func (s *Snapshot) AdvanceTime(time inbox.ChainTime) + func (s *Snapshot) BasicCall(data []byte, dest common.Address) (*evm.TxResult, error) + func (s *Snapshot) Call(msg message.ContractTransaction, sender common.Address) (*evm.TxResult, error) + func (s *Snapshot) Clone() *Snapshot + func (s *Snapshot) GetBalance(account common.Address) (*big.Int, error) + func (s *Snapshot) GetCode(account common.Address) ([]byte, error) + func (s *Snapshot) GetStorageAt(account common.Address, index *big.Int) (*big.Int, error) + func (s *Snapshot) GetTransactionCount(account common.Address) (*big.Int, error) + func (s *Snapshot) Height() *common.TimeBlocks + func (s *Snapshot) TryTx(msg message.Message, sender common.Address, targetHash common.Hash) (*evm.TxResult, error)