mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: Apache-2.0 Imports: 8 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 VMKeeper

type VMKeeper struct {
	mock.Mock
}

VMKeeper is an autogenerated mock type for the VMKeeper type

func NewVMKeeper

func NewVMKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *VMKeeper

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

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

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

func (*VMKeeper) DeleteCode

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

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

func (*VMKeeper) DeleteState

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

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

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

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

func (*VMKeeper) GetBaseFee

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

GetBaseFee provides a mock function with given fields: ctx

func (*VMKeeper) GetCode

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

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

func (*VMKeeper) GetCodeHash

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

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

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

GetParams provides a mock function with given fields: ctx

func (*VMKeeper) GetState

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

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

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

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

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

func (*VMKeeper) SetEvmMempool

func (_m *VMKeeper) SetEvmMempool(evmMempool *mempool.ExperimentalEVMMempool)

SetEvmMempool provides a mock function with given fields: evmMempool

func (*VMKeeper) SetState

func (_m *VMKeeper) 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