Documentation
¶
Index ¶
- type FeeMarketKeeper
- type VMKeeper
- func (_m *VMKeeper) DeleteAccount(ctx types.Context, addr common.Address) error
- func (_m *VMKeeper) DeleteCode(ctx types.Context, codeHash []byte)
- func (_m *VMKeeper) DeleteState(ctx types.Context, addr common.Address, key common.Hash)
- func (_m *VMKeeper) ForEachStorage(ctx types.Context, addr common.Address, cb func(common.Hash, common.Hash) bool)
- func (_m *VMKeeper) GetAccount(ctx types.Context, addr common.Address) *statedb.Account
- func (_m *VMKeeper) GetBaseFee(ctx types.Context) *big.Int
- func (_m *VMKeeper) GetCode(ctx types.Context, codeHash common.Hash) []byte
- func (_m *VMKeeper) GetCodeHash(ctx types.Context, addr common.Address) common.Hash
- func (_m *VMKeeper) GetEvmCoinInfo(ctx types.Context) vmtypes.EvmCoinInfo
- func (_m *VMKeeper) GetParams(ctx types.Context) vmtypes.Params
- func (_m *VMKeeper) GetState(ctx types.Context, addr common.Address, key common.Hash) common.Hash
- func (_m *VMKeeper) KVStoreKeys() map[string]*storetypes.KVStoreKey
- func (_m *VMKeeper) SetAccount(ctx types.Context, addr common.Address, account statedb.Account) error
- func (_m *VMKeeper) SetCode(ctx types.Context, codeHash []byte, code []byte)
- func (_m *VMKeeper) SetEvmMempool(evmMempool *mempool.ExperimentalEVMMempool)
- func (_m *VMKeeper) SetState(ctx types.Context, addr common.Address, key common.Hash, value []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeeMarketKeeper ¶
FeeMarketKeeper is an autogenerated mock type for the FeeMarketKeeperI type
func NewFeeMarketKeeper ¶
func NewFeeMarketKeeper(t interface {
mock.TestingT
Cleanup(func())
}) *FeeMarketKeeper
NewFeeMarketKeeper creates a new instance of FeeMarketKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FeeMarketKeeper) GetBlockGasWanted ¶
func (_m *FeeMarketKeeper) GetBlockGasWanted(ctx types.Context) uint64
GetBlockGasWanted provides a mock function with given fields: ctx
type VMKeeper ¶
VMKeeper is an autogenerated mock type for the VMKeeper type
func NewVMKeeper ¶
NewVMKeeper creates a new instance of VMKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*VMKeeper) DeleteAccount ¶
DeleteAccount provides a mock function with given fields: ctx, addr
func (*VMKeeper) DeleteCode ¶
DeleteCode provides a mock function with given fields: ctx, codeHash
func (*VMKeeper) DeleteState ¶
DeleteState provides a mock function with given fields: ctx, addr, key
func (*VMKeeper) ForEachStorage ¶
func (_m *VMKeeper) ForEachStorage(ctx types.Context, addr common.Address, cb func(common.Hash, common.Hash) bool)
ForEachStorage provides a mock function with given fields: ctx, addr, cb
func (*VMKeeper) GetAccount ¶
GetAccount provides a mock function with given fields: ctx, addr
func (*VMKeeper) GetBaseFee ¶
GetBaseFee provides a mock function with given fields: ctx
func (*VMKeeper) GetCodeHash ¶
GetCodeHash provides a mock function with given fields: ctx, addr
func (*VMKeeper) GetEvmCoinInfo ¶
func (_m *VMKeeper) GetEvmCoinInfo(ctx types.Context) vmtypes.EvmCoinInfo
GetEvmCoinInfo provides a mock function with given fields: ctx
func (*VMKeeper) KVStoreKeys ¶
func (_m *VMKeeper) KVStoreKeys() map[string]*storetypes.KVStoreKey
KVStoreKeys provides a mock function with no fields
func (*VMKeeper) SetAccount ¶
func (_m *VMKeeper) SetAccount(ctx types.Context, addr common.Address, account statedb.Account) error
SetAccount provides a mock function with given fields: ctx, addr, account
func (*VMKeeper) SetEvmMempool ¶
func (_m *VMKeeper) SetEvmMempool(evmMempool *mempool.ExperimentalEVMMempool)
SetEvmMempool provides a mock function with given fields: evmMempool