Versions in this module Expand all Collapse all v1 v1.0.0 Jan 16, 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) + func MakePreState(db ethdb.Database, accounts core.GenesisAlloc, snapshotter bool, scheme string) (*trie.Database, *snapshot.Tree, *state.StateDB) + type BlockTest struct + func (t *BlockTest) Run(snapshotter bool, scheme string, tracer vm.EVMLogger) 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) (*trie.Database, *snapshot.Tree, *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