testapp

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 22 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

func ToEvmAppCreator

func ToEvmAppCreator[T any](create func(string, uint64, ...func(*baseapp.BaseApp)) evm.EvmApp, ifaceName string) func(string, uint64, ...func(*baseapp.BaseApp)) evm.EvmApp

ToEvmAppCreator validates that the provided factory returns an app implementing the desired interface T and then wraps it behind the keeper adapter so downstream helpers can keep using evm.EvmApp.

func ToIBCAppCreator

func ToIBCAppCreator[T any](creator ibctesting.AppCreator, ifaceName string) ibctesting.AppCreator

ToIBCAppCreator adapts an ibctesting.AppCreator into one that guarantees the returned app implements the desired interface T and exposes the evm.EvmApp API via the testing adapter.

Types

type EvmAppAdapter

type EvmAppAdapter struct {
	evm.TestApp
}

func NewEvmAppAdapter

func NewEvmAppAdapter(app evm.TestApp) *EvmAppAdapter

NewEvmAppAdapter wraps a specialized TestApp (one that implements the keeper provider interfaces) into a full evm.EvmApp so shared testing helpers can keep using the broader interface.

func (*EvmAppAdapter) GetAccountKeeper

func (a *EvmAppAdapter) GetAccountKeeper() authkeeper.AccountKeeper

func (*EvmAppAdapter) GetBankKeeper

func (a *EvmAppAdapter) GetBankKeeper() bankkeeper.Keeper

func (*EvmAppAdapter) GetCallbackKeeper

func (a *EvmAppAdapter) GetCallbackKeeper() keeper.ContractKeeper

func (*EvmAppAdapter) GetConsensusParamsKeeper

func (a *EvmAppAdapter) GetConsensusParamsKeeper() consensusparamkeeper.Keeper

func (*EvmAppAdapter) GetDistrKeeper

func (a *EvmAppAdapter) GetDistrKeeper() distrkeeper.Keeper

func (*EvmAppAdapter) GetEVMKeeper

func (a *EvmAppAdapter) GetEVMKeeper() *evmkeeper.Keeper

func (*EvmAppAdapter) GetErc20Keeper

func (a *EvmAppAdapter) GetErc20Keeper() *erc20keeper.Keeper

func (*EvmAppAdapter) GetEvidenceKeeper

func (a *EvmAppAdapter) GetEvidenceKeeper() *evidencekeeper.Keeper

func (*EvmAppAdapter) GetFeeGrantKeeper

func (a *EvmAppAdapter) GetFeeGrantKeeper() feegrantkeeper.Keeper

func (*EvmAppAdapter) GetFeeMarketKeeper

func (a *EvmAppAdapter) GetFeeMarketKeeper() *feemarketkeeper.Keeper

func (*EvmAppAdapter) GetGovKeeper

func (a *EvmAppAdapter) GetGovKeeper() govkeeper.Keeper

func (*EvmAppAdapter) GetIBCKeeper

func (a *EvmAppAdapter) GetIBCKeeper() *ibckeeper.Keeper

func (*EvmAppAdapter) GetKey

func (a *EvmAppAdapter) GetKey(storeKey string) *storetypes.KVStoreKey

func (*EvmAppAdapter) GetMintKeeper

func (a *EvmAppAdapter) GetMintKeeper() mintkeeper.Keeper

func (*EvmAppAdapter) GetSlashingKeeper

func (a *EvmAppAdapter) GetSlashingKeeper() slashingkeeper.Keeper

func (*EvmAppAdapter) GetStakingKeeper

func (a *EvmAppAdapter) GetStakingKeeper() *stakingkeeper.Keeper

func (*EvmAppAdapter) GetTransferKeeper

func (a *EvmAppAdapter) GetTransferKeeper() *transferkeeper.Keeper

func (*EvmAppAdapter) SetErc20Keeper

func (a *EvmAppAdapter) SetErc20Keeper(k erc20keeper.Keeper)

func (*EvmAppAdapter) SetTransferKeeper

func (a *EvmAppAdapter) SetTransferKeeper(k *transferkeeper.Keeper)

Jump to

Keyboard shortcuts

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