mocks

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) 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