Versions in this module Expand all Collapse all v1 v1.5.12 Jun 17, 2017 v1.5.11 Apr 12, 2017 v1.5.10 Feb 4, 2017 v1.5.9 Feb 1, 2017 v1.5.8 Jan 29, 2017 Changes in this version + var BlockSkipTests = []string + var EnableJit bool + var ForceJit bool + var StateSkipTests = []string + var TransSkipTests = []string + var VmSkipTests = []string + func BenchStateTest(chainConfig *params.ChainConfig, p string, conf bconf, b *testing.B) error + func BenchVmTest(p string, conf bconf, b *testing.B) error + func LoadBlockTests(file string) (map[string]*BlockTest, error) + func NewEVMEnvironment(vmTest bool, chainConfig *params.ChainConfig, statedb *state.StateDB, ...) (*vm.EVM, core.Message) + func RunBlockTest(homesteadBlock, gasPriceFork *big.Int, file string, skipTests []string) error + func RunBlockTestWithReader(homesteadBlock, gasPriceFork *big.Int, r io.Reader, skipTests []string) error + func RunRLPTest(file string, skip []string) error + func RunRLPTestWithReader(r io.Reader, skip []string) error + func RunState(chainConfig *params.ChainConfig, statedb *state.StateDB, ...) ([]byte, []*types.Log, *big.Int, error) + func RunStateTest(chainConfig *params.ChainConfig, p string, skipTests []string) error + func RunStateTestWithReader(chainConfig *params.ChainConfig, r io.Reader, skipTests []string) error + func RunTransactionTests(config *params.ChainConfig, file string, skipTests []string) error + func RunTransactionTestsWithReader(config *params.ChainConfig, r io.Reader, skipTests []string) error + func RunVm(statedb *state.StateDB, env, exec map[string]string) ([]byte, []*types.Log, *big.Int, error) + func RunVmTest(p string, skipTests []string) error + func RunVmTestWithReader(r io.Reader, skipTests []string) error + type Account struct + Balance string + Code string + Nonce string + Storage map[string]string + type BlockTest struct + Genesis *types.Block + Json *btJSON + func (t *BlockTest) InsertPreState(db ethdb.Database) (*state.StateDB, error) + func (t *BlockTest) TryBlocksInsert(blockchain *core.BlockChain) ([]btBlock, error) + func (t *BlockTest) ValidatePostState(statedb *state.StateDB) error + func (test *BlockTest) ValidateImportedHeaders(cm *core.BlockChain, validBlocks []btBlock) error + type Log struct + AddressF string + BloomF string + DataF string + TopicsF []string + func (self Log) Address() []byte + func (self Log) Data() []byte + func (self Log) RlpData() interface{} + func (self Log) Topics() [][]byte + type RLPTest struct + In interface{} + Out string + func (t *RLPTest) Run() error + type TransactionTest struct + Blocknumber string + Rlp string + Sender string + Transaction TtTransaction + type TtTransaction struct + Data string + GasLimit string + GasPrice string + Nonce string + R string + S string + To string + V string + Value string + type VmEnv struct + CurrentCoinbase string + CurrentDifficulty string + CurrentGasLimit string + CurrentNumber string + CurrentTimestamp interface{} + PreviousHash string + type VmTest struct + Callcreates interface{} + Env VmEnv + Exec map[string]string + Gas string + Logs []Log + Out string + Post map[string]Account + PostStateRoot string + Pre map[string]Account + Transaction map[string]string v1.5.4-BETA Dec 4, 2016