Documentation
¶
Index ¶
- type FeeMarketKeeper
- type VMKeeperI
- func (_m *VMKeeperI) DeleteAccount(ctx types.Context, addr common.Address) error
- func (_m *VMKeeperI) DeleteCode(ctx types.Context, codeHash []byte)
- func (_m *VMKeeperI) DeleteState(ctx types.Context, addr common.Address, key common.Hash)
- func (_m *VMKeeperI) ForEachStorage(ctx types.Context, addr common.Address, cb func(common.Hash, common.Hash) bool)
- func (_m *VMKeeperI) GetAccount(ctx types.Context, addr common.Address) *statedb.Account
- func (_m *VMKeeperI) GetBaseFee(ctx types.Context) *big.Int
- func (_m *VMKeeperI) GetCode(ctx types.Context, codeHash common.Hash) []byte
- func (_m *VMKeeperI) GetCodeHash(ctx types.Context, addr common.Address) common.Hash
- func (_m *VMKeeperI) GetEvmCoinInfo(ctx types.Context) vmtypes.EvmCoinInfo
- func (_m *VMKeeperI) GetParams(ctx types.Context) vmtypes.Params
- func (_m *VMKeeperI) GetState(ctx types.Context, addr common.Address, key common.Hash) common.Hash
- func (_m *VMKeeperI) KVStoreKeys() map[string]storetypes.StoreKey
- func (_m *VMKeeperI) SetAccount(ctx types.Context, addr common.Address, account statedb.Account) error
- func (_m *VMKeeperI) SetCode(ctx types.Context, codeHash []byte, code []byte)
- func (_m *VMKeeperI) 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 VMKeeperI ¶ added in v0.7.0
VMKeeperI is an autogenerated mock type for the VMKeeperI type
func NewVMKeeperI ¶ added in v0.7.0
NewVMKeeperI creates a new instance of VMKeeperI. 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 (*VMKeeperI) DeleteAccount ¶ added in v0.7.0
DeleteAccount provides a mock function with given fields: ctx, addr
func (*VMKeeperI) DeleteCode ¶ added in v0.7.0
DeleteCode provides a mock function with given fields: ctx, codeHash
func (*VMKeeperI) DeleteState ¶ added in v0.7.0
DeleteState provides a mock function with given fields: ctx, addr, key
func (*VMKeeperI) ForEachStorage ¶ added in v0.7.0
func (_m *VMKeeperI) 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 (*VMKeeperI) GetAccount ¶ added in v0.7.0
GetAccount provides a mock function with given fields: ctx, addr
func (*VMKeeperI) GetBaseFee ¶ added in v0.7.0
GetBaseFee provides a mock function with given fields: ctx
func (*VMKeeperI) GetCode ¶ added in v0.7.0
GetCode provides a mock function with given fields: ctx, codeHash
func (*VMKeeperI) GetCodeHash ¶ added in v0.7.0
GetCodeHash provides a mock function with given fields: ctx, addr
func (*VMKeeperI) GetEvmCoinInfo ¶ added in v0.7.0
func (_m *VMKeeperI) GetEvmCoinInfo(ctx types.Context) vmtypes.EvmCoinInfo
GetEvmCoinInfo provides a mock function with given fields: ctx
func (*VMKeeperI) GetParams ¶ added in v0.7.0
GetParams provides a mock function with given fields: ctx
func (*VMKeeperI) GetState ¶ added in v0.7.0
GetState provides a mock function with given fields: ctx, addr, key
func (*VMKeeperI) KVStoreKeys ¶ added in v0.7.0
func (_m *VMKeeperI) KVStoreKeys() map[string]storetypes.StoreKey
KVStoreKeys provides a mock function with no fields
func (*VMKeeperI) SetAccount ¶ added in v0.7.0
func (_m *VMKeeperI) SetAccount(ctx types.Context, addr common.Address, account statedb.Account) error
SetAccount provides a mock function with given fields: ctx, addr, account