Versions in this module Expand all Collapse all v1 v1.10.17 Oct 18, 2021 Changes in this version + func ChainArbitrumMainnet(t *testing.T) evmconfig.ChainScopedConfig + func ChainArbitrumRinkeby(t *testing.T) evmconfig.ChainScopedConfig + func ChainEthMainnet(t *testing.T) evmconfig.ChainScopedConfig + func ChainOptimismKovan(t *testing.T) evmconfig.ChainScopedConfig + func ChainOptimismMainnet(t *testing.T) evmconfig.ChainScopedConfig + func MustGetDefaultChain(t testing.TB, cc evm.ChainSet) evm.Chain + func MustInsertChainWithNode(t testing.TB, db *gorm.DB, chain evmtypes.Chain) evmtypes.Chain + func NewChainScopedConfig(t testing.TB, cfg config.GeneralConfig) evmconfig.ChainScopedConfig + func NewChainSet(t testing.TB, testopts TestChainOpts) evm.ChainSet + type MockORM struct + func NewMockORM(chains []evmtypes.Chain) *MockORM + func (mo *MockORM) Chain(id utils.Big) (evmtypes.Chain, error) + func (mo *MockORM) Chains(offset int, limit int) ([]evmtypes.Chain, int, error) + func (mo *MockORM) Clear(chainID *big.Int, key string) error + func (mo *MockORM) CreateChain(id utils.Big, config evmtypes.ChainCfg) (evmtypes.Chain, error) + func (mo *MockORM) CreateNode(data evmtypes.NewNode) (evmtypes.Node, error) + func (mo *MockORM) DeleteChain(id utils.Big) error + func (mo *MockORM) DeleteNode(id int64) error + func (mo *MockORM) EnabledChainsWithNodes() ([]evmtypes.Chain, error) + func (mo *MockORM) Nodes(offset int, limit int) ([]evmtypes.Node, int, error) + func (mo *MockORM) NodesForChain(chainID utils.Big, offset int, limit int) ([]evmtypes.Node, int, error) + func (mo *MockORM) StoreString(chainID *big.Int, key, val string) error + func (mo *MockORM) UpdateChain(id utils.Big, enabled bool, config evmtypes.ChainCfg) (evmtypes.Chain, error) + type TestChainOpts struct + ChainCfg evmtypes.ChainCfg + Client eth.Client + DB *gorm.DB + GeneralConfig config.GeneralConfig + HeadTracker httypes.Tracker + KeyStore keystore.Eth + LogBroadcaster log.Broadcaster + TxManager bulletprooftxmanager.TxManager