Versions in this module Expand all Collapse all v1 v1.0.5 Dec 26, 2020 Changes in this version + var Forks = map[string]*params.ChainConfig + func FromHex(s string) ([]byte, error) + func MakePreState(db ethdb.Database, accounts core.GenesisAlloc, snapshotter bool) *state.StateDB + type BlockTest struct + func (t *BlockTest) Run(snapshotter bool) error + func (t *BlockTest) UnmarshalJSON(in []byte) error + type DifficultyTest struct + CurrentBlockNumber uint64 + CurrentDifficulty *big.Int + CurrentTimestamp uint64 + ParentDifficulty *big.Int + ParentTimestamp uint64 + UncleHash common.Hash + func (d *DifficultyTest) UnmarshalJSON(input []byte) error + func (d DifficultyTest) MarshalJSON() ([]byte, error) + func (test *DifficultyTest) Run(config *params.ChainConfig) error + type RLPTest struct + In interface{} + Out string + func (t *RLPTest) Run() error + type StateSubtest struct + Fork string + Index int + type StateTest struct + func (t *StateTest) Run(subtest StateSubtest, vmconfig vm.Config, snapshotter bool) (*state.StateDB, error) + func (t *StateTest) RunNoVerify(subtest StateSubtest, vmconfig vm.Config, snapshotter bool) (*state.StateDB, common.Hash, error) + func (t *StateTest) Subtests() []StateSubtest + func (t *StateTest) UnmarshalJSON(in []byte) error + type TransactionTest struct + Byzantium ttFork + Constantinople ttFork + EIP150 ttFork + EIP158 ttFork + Frontier ttFork + Homestead ttFork + Istanbul ttFork + RLP hexutil.Bytes + func (tt *TransactionTest) Run(config *params.ChainConfig) error + type UnsupportedForkError struct + Name string + func (e UnsupportedForkError) Error() string + type VMTest struct + func (t *VMTest) Run(vmconfig vm.Config, snapshotter bool) error + func (t *VMTest) UnmarshalJSON(data []byte) error