Documentation
¶
Index ¶
- type AccountKeeperProvider
- type AnteHandlerProvider
- type AnteIntegrationApp
- type BankKeeperProvider
- type BankPrecompileApp
- type Bech32PrecompileApp
- type CallbackKeeperProvider
- type ChainIDProvider
- type ConsensusParamsKeeperProvider
- type DistrKeeperProvider
- type DistributionPrecompileApp
- type Erc20IntegrationApp
- type Erc20KeeperProvider
- type Erc20KeeperSetter
- type Erc20PrecompileApp
- type EvidenceKeeperProvider
- type EvmApp
- type FeeGrantKeeperProvider
- type FeeMarketKeeperProvider
- type GovKeeperProvider
- type GovPrecompileApp
- type IBCApp
- type IBCCallbackIntegrationApp
- type IBCIntegrationApp
- type IBCKeeperProvider
- type IBCTestApp
- type ICS20PrecompileApp
- type IntegrationNetworkApp
- type KeyProvider
- type MempoolProvider
- type MintKeeperProvider
- type MsgServiceRouterProvider
- type P256PrecompileApp
- type SlashingKeeperProvider
- type SlashingPrecompileApp
- type StakingKeeperProvider
- type StakingPrecompileApp
- type TestApp
- type TransferKeeperProvider
- type TransferKeeperSetter
- type VMIntegrationApp
- type VMKeeperProvider
- type WERC20PrecompileApp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountKeeperProvider ¶ added in v0.7.0
type AccountKeeperProvider interface {
GetAccountKeeper() authkeeper.AccountKeeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type AnteHandlerProvider ¶ added in v0.7.0
type AnteHandlerProvider interface {
GetAnteHandler() sdk.AnteHandler
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type AnteIntegrationApp ¶ added in v0.7.0
type AnteIntegrationApp interface {
IntegrationNetworkApp
FeeGrantKeeperProvider
IBCKeeperProvider
}
type BankKeeperProvider ¶ added in v0.7.0
type BankKeeperProvider interface {
GetBankKeeper() bankkeeper.Keeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type BankPrecompileApp ¶ added in v0.7.0
type BankPrecompileApp interface {
TestApp
BankKeeperProvider
Erc20KeeperProvider
}
Precompile-focused application interfaces describe the exact keepers that a given precompile test suite requires. External chains can implement only the interfaces relevant to the suites they wish to run.
type Bech32PrecompileApp ¶ added in v0.7.0
type Bech32PrecompileApp interface {
TestApp
}
type CallbackKeeperProvider ¶ added in v0.7.0
type CallbackKeeperProvider interface {
GetCallbackKeeper() keeper.ContractKeeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type ChainIDProvider ¶ added in v0.7.0
type ChainIDProvider interface {
ChainID() string
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type ConsensusParamsKeeperProvider ¶ added in v0.7.0
type ConsensusParamsKeeperProvider interface {
GetConsensusParamsKeeper() consensusparamkeeper.Keeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type DistrKeeperProvider ¶ added in v0.7.0
type DistrKeeperProvider interface {
GetDistrKeeper() distrkeeper.Keeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type DistributionPrecompileApp ¶ added in v0.7.0
type DistributionPrecompileApp interface {
TestApp
DistrKeeperProvider
StakingKeeperProvider
}
type Erc20IntegrationApp ¶ added in v0.7.0
type Erc20IntegrationApp interface {
IntegrationNetworkApp
TransferKeeperProvider
IBCKeeperProvider
}
type Erc20KeeperProvider ¶ added in v0.7.0
type Erc20KeeperProvider interface {
GetErc20Keeper() *erc20keeper.Keeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type Erc20KeeperSetter ¶ added in v0.7.0
type Erc20KeeperSetter interface {
SetErc20Keeper(erc20keeper.Keeper)
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type Erc20PrecompileApp ¶ added in v0.7.0
type Erc20PrecompileApp interface {
TestApp
AccountKeeperProvider
BankKeeperProvider
Erc20KeeperProvider
TransferKeeperProvider
}
type EvidenceKeeperProvider ¶ added in v0.7.0
type EvidenceKeeperProvider interface {
GetEvidenceKeeper() *evidencekeeper.Keeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type EvmApp ¶
type EvmApp interface {
TestApp
AccountKeeperProvider
AnteHandlerProvider
CallbackKeeperProvider
ConsensusParamsKeeperProvider
DistrKeeperProvider
EvidenceKeeperProvider
Erc20KeeperProvider
Erc20KeeperSetter
FeeGrantKeeperProvider
FeeMarketKeeperProvider
GovKeeperProvider
KeyProvider
MempoolProvider
MintKeeperProvider
MsgServiceRouterProvider
SlashingKeeperProvider
TransferKeeperProvider
TransferKeeperSetter
}
EvmApp defines the interface for an EVM application.
type FeeGrantKeeperProvider ¶ added in v0.7.0
type FeeGrantKeeperProvider interface {
GetFeeGrantKeeper() feegrantkeeper.Keeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type FeeMarketKeeperProvider ¶ added in v0.7.0
type FeeMarketKeeperProvider interface {
GetFeeMarketKeeper() *feemarketkeeper.Keeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type GovKeeperProvider ¶ added in v0.7.0
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type GovPrecompileApp ¶ added in v0.7.0
type GovPrecompileApp interface {
TestApp
GovKeeperProvider
}
type IBCApp ¶ added in v0.7.0
type IBCApp interface {
EvmApp
IBCKeeperProvider
}
type IBCCallbackIntegrationApp ¶ added in v0.7.0
type IBCCallbackIntegrationApp interface {
IntegrationNetworkApp
CallbackKeeperProvider
IBCKeeperProvider
}
type IBCIntegrationApp ¶ added in v0.7.0
type IBCIntegrationApp interface {
IntegrationNetworkApp
TransferKeeperProvider
IBCKeeperProvider
}
type IBCKeeperProvider ¶ added in v0.7.0
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type IBCTestApp ¶ added in v0.7.0
type IBCTestApp interface {
TestApp
ibctesting.TestingApp
}
type ICS20PrecompileApp ¶ added in v0.7.0
type ICS20PrecompileApp interface {
TestApp
ChainIDProvider
BankKeeperProvider
StakingKeeperProvider
TransferKeeperProvider
IBCKeeperProvider
}
type IntegrationNetworkApp ¶ added in v0.7.0
type IntegrationNetworkApp interface {
TestApp
AccountKeeperProvider
DistrKeeperProvider
Erc20KeeperProvider
FeeMarketKeeperProvider
GovKeeperProvider
MintKeeperProvider
SlashingKeeperProvider
EvidenceKeeperProvider
}
Base interface required by the integration network helpers. Any app used by evm/testutil/integration must satisfy these keeper providers so the shared network setup can access the necessary modules.
type KeyProvider ¶ added in v0.7.0
type KeyProvider interface {
GetKey(storeKey string) *storetypes.KVStoreKey
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type MempoolProvider ¶ added in v0.7.0
type MempoolProvider interface {
GetMempool() mempool.ExtMempool
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type MintKeeperProvider ¶ added in v0.7.0
type MintKeeperProvider interface {
GetMintKeeper() mintkeeper.Keeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type MsgServiceRouterProvider ¶ added in v0.7.0
type MsgServiceRouterProvider interface {
MsgServiceRouter() *baseapp.MsgServiceRouter
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type P256PrecompileApp ¶ added in v0.7.0
type P256PrecompileApp interface {
TestApp
}
type SlashingKeeperProvider ¶ added in v0.7.0
type SlashingKeeperProvider interface {
GetSlashingKeeper() slashingkeeper.Keeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type SlashingPrecompileApp ¶ added in v0.7.0
type SlashingPrecompileApp interface {
TestApp
SlashingKeeperProvider
StakingKeeperProvider
}
type StakingKeeperProvider ¶ added in v0.7.0
type StakingKeeperProvider interface {
GetStakingKeeper() *stakingkeeper.Keeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type StakingPrecompileApp ¶ added in v0.7.0
type StakingPrecompileApp interface {
TestApp
AccountKeeperProvider
BankKeeperProvider
StakingKeeperProvider
}
type TestApp ¶ added in v0.7.0
type TestApp interface {
servertypes.Application
runtime.AppI
InterfaceRegistry() types.InterfaceRegistry
AppCodec() codec.Codec
GetTxConfig() client.TxConfig
LegacyAmino() *codec.LegacyAmino
ChainID() string
DefaultGenesis() map[string]json.RawMessage
GetKey(storeKey string) *storetypes.KVStoreKey
GetBaseApp() *baseapp.BaseApp
LastCommitID() storetypes.CommitID
LastBlockHeight() int64
GetAnteHandler() sdk.AnteHandler
MsgServiceRouter() *baseapp.MsgServiceRouter
GetMempool() mempool.ExtMempool
// keeper getters
VMKeeperProvider
BankKeeperProvider
StakingKeeperProvider
}
TestApp captures the minimal functionality all test harnesses require.
type TransferKeeperProvider ¶ added in v0.7.0
type TransferKeeperProvider interface {
GetTransferKeeper() *transferkeeper.Keeper
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type TransferKeeperSetter ¶ added in v0.7.0
type TransferKeeperSetter interface {
SetTransferKeeper(*transferkeeper.Keeper)
}
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type VMIntegrationApp ¶ added in v0.7.0
type VMIntegrationApp interface {
IntegrationNetworkApp
ConsensusParamsKeeperProvider
}
type VMKeeperProvider ¶ added in v0.7.0
Keeper provider interfaces allow tests to depend on the exact subset of keepers they need without requiring a fully fledged evmd application.
type WERC20PrecompileApp ¶ added in v0.7.0
type WERC20PrecompileApp interface {
TestApp
BankKeeperProvider
Erc20KeeperProvider
TransferKeeperProvider
}
Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
cosmos/evm/ante/v1
Code generated by protoc-gen-go-pulsar.
|
Code generated by protoc-gen-go-pulsar. |
|
cosmos/evm/crypto/v1/ethsecp256k1
Code generated by protoc-gen-go-pulsar.
|
Code generated by protoc-gen-go-pulsar. |
|
cosmos/evm/eip712/v1
Code generated by protoc-gen-go-pulsar.
|
Code generated by protoc-gen-go-pulsar. |
|
cosmos/evm/erc20/v1
Code generated by protoc-gen-go-pulsar.
|
Code generated by protoc-gen-go-pulsar. |
|
cosmos/evm/feemarket/v1
Code generated by protoc-gen-go-pulsar.
|
Code generated by protoc-gen-go-pulsar. |
|
cosmos/evm/server/v1
Code generated by protoc-gen-go-pulsar.
|
Code generated by protoc-gen-go-pulsar. |
|
cosmos/evm/vm/v1
Code generated by protoc-gen-go-pulsar.
|
Code generated by protoc-gen-go-pulsar. |
|
contrib
|
|
|
x/precisebank/types
Package types is a reverse proxy.
|
Package types is a reverse proxy. |
|
crypto
|
|
|
ethereum
|
|
|
evmd
module
|
|
|
example_chain
module
|
|
|
txpool/legacypool
Package legacypool implements the normal EVM execution transaction pool.
|
Package legacypool implements the normal EVM execution transaction pool. |
|
precompiles
|
|
|
tests
|
|
|
jsonrpc/simulator
module
|
|
|
systemtests
module
|
|
|
ibc
This file contains the variables, constants, and default values used in the testing package and commonly defined in tests.
|
This file contains the variables, constants, and default values used in the testing package and commonly defined in tests. |
|
wallets
|
|
|
x
|
|
|
erc20/types
Package types is a reverse proxy.
|
Package types is a reverse proxy. |
|
erc20/types/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
feemarket/types
Package types is a reverse proxy.
|
Package types is a reverse proxy. |
|
vm/runner
Package runner installs a baseapp TxRunner wrapped with the EVM module's post-execution log-index fix-up (evmtypes.PatchTxResponses).
|
Package runner installs a baseapp TxRunner wrapped with the EVM module's post-execution log-index fix-up (evmtypes.PatchTxResponses). |
|
vm/types
Package types is a reverse proxy.
|
Package types is a reverse proxy. |
|
vm/wrappers/testutil
Package testutil is a generated GoMock package.
|
Package testutil is a generated GoMock package. |