mocks

package
v0.7.0-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeeMarketKeeper

type FeeMarketKeeper struct {
	mock.Mock
}

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

type VMKeeperI struct {
	mock.Mock
}

VMKeeperI is an autogenerated mock type for the VMKeeperI type

func NewVMKeeperI added in v0.7.0

func NewVMKeeperI(t interface {
	mock.TestingT
	Cleanup(func())
},
) *VMKeeperI

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

func (_m *VMKeeperI) DeleteAccount(ctx types.Context, addr common.Address) error

DeleteAccount provides a mock function with given fields: ctx, addr

func (*VMKeeperI) DeleteCode added in v0.7.0

func (_m *VMKeeperI) DeleteCode(ctx types.Context, codeHash []byte)

DeleteCode provides a mock function with given fields: ctx, codeHash

func (*VMKeeperI) DeleteState added in v0.7.0

func (_m *VMKeeperI) DeleteState(ctx types.Context, addr common.Address, key common.Hash)

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

func (_m *VMKeeperI) GetAccount(ctx types.Context, addr common.Address) *statedb.Account

GetAccount provides a mock function with given fields: ctx, addr

func (*VMKeeperI) GetBaseFee added in v0.7.0

func (_m *VMKeeperI) GetBaseFee(ctx types.Context) *big.Int

GetBaseFee provides a mock function with given fields: ctx

func (*VMKeeperI) GetCode added in v0.7.0

func (_m *VMKeeperI) GetCode(ctx types.Context, codeHash common.Hash) []byte

GetCode provides a mock function with given fields: ctx, codeHash

func (*VMKeeperI) GetCodeHash added in v0.7.0

func (_m *VMKeeperI) GetCodeHash(ctx types.Context, addr common.Address) common.Hash

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

func (_m *VMKeeperI) GetParams(ctx types.Context) vmtypes.Params

GetParams provides a mock function with given fields: ctx

func (*VMKeeperI) GetState added in v0.7.0

func (_m *VMKeeperI) GetState(ctx types.Context, addr common.Address, key common.Hash) common.Hash

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

func (*VMKeeperI) SetCode added in v0.7.0

func (_m *VMKeeperI) SetCode(ctx types.Context, codeHash []byte, code []byte)

SetCode provides a mock function with given fields: ctx, codeHash, code

func (*VMKeeperI) SetEvmMempool

func (_m *VMKeeperI) SetEvmMempool(evmMempool mempool.NotifiedMempool)

SetEvmMempool provides a mock function with given fields: evmMempool

func (*VMKeeperI) SetState added in v0.7.0

func (_m *VMKeeperI) SetState(ctx types.Context, addr common.Address, key common.Hash, value []byte)

SetState provides a mock function with given fields: ctx, addr, key, value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL