Versions in this module Expand all Collapse all v0 v0.0.1 Oct 11, 2024 Changes in this version + var Forks = map[string]*params.ChainConfig + func AvailableForks() []string + func FromHex(s string) ([]byte, error) + func GetChainConfig(forkString string) (baseConfig *params.ChainConfig, eips []int, err error) + type BlockTest struct + func (t *BlockTest) Run(snapshotter bool, scheme string, witness bool, tracer *tracing.Hooks, ...) (result 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, scheme string, ...) (result error) + func (t *StateTest) RunNoVerify(subtest StateSubtest, vmconfig vm.Config, snapshotter bool, scheme string) (st StateTestState, root common.Hash, err error) + func (t *StateTest) Subtests() []StateSubtest + func (t *StateTest) UnmarshalJSON(in []byte) error + type StateTestState struct + Snapshots *snapshot.Tree + StateDB *state.StateDB + TrieDB *triedb.Database + func MakePreState(db ethdb.Database, accounts types.GenesisAlloc, snapshotter bool, ...) StateTestState + func (st *StateTestState) Close() + type TransactionTest struct + Result ttResult + Txbytes hexutil.Bytes + func (tt *TransactionTest) Run(config *params.ChainConfig) error + type UnsupportedForkError struct + Name string + func (e UnsupportedForkError) Error() string