package
23.1.6+incompatible
Repository: https://github.com/zeta-chain/node.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AccountKeeper instantiates an account keeper for testing purposes.
AuthorityKeeper instantiates an authority keeper for testing purposes.
BankKeeper instantiates a bank keeper for testing purposes.
CapabilityKeeper instantiates a capability keeper for testing purposes.
No description provided by the author
CrosschainKeeper initializes a crosschain keeper for testing purposes.
CrosschainKeeperAllMocks initializes a crosschain keeper for testing purposes with all mocks.
CrosschainKeeperWithMocks initializes a crosschain keeper for testing purposes with option to mock specific keepers.
DistributionKeeper instantiates a distribution keeper for testing purposes.
No description provided by the author
No description provided by the author
EVMKeeper instantiates an evm keeper for testing purposes.
FeeMarketKeeper instantiates a feemarket keeper for testing purposes.
FungibleKeeper initializes a fungible keeper for testing purposes.
FungibleKeeperAllMocks initializes a fungible keeper for testing purposes with all keeper mocked.
FungibleKeeperWithMocks initializes a fungible keeper for testing purposes with option to mock specific keepers.
No description provided by the author
GetCrosschainAuthorityMock returns a new crosschain authority keeper mock.
No description provided by the author
No description provided by the author
GetCrosschainLightclientMock returns a new crosschain lightclient keeper mock.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetFungibleAuthorityMock returns a new fungible authority keeper mock.
No description provided by the author
No description provided by the author
No description provided by the author
GetLightclientAuthorityMock returns a new lightclient authority keeper mock.
GetObserverAuthorityMock returns a new observer authority keeper mock.
GetObserverLightclientMock returns a new observer lightclient keeper mock.
GetObserverSlashingMock returns a new observer slashing keeper mock.
GetObserverStakingMock returns a new observer staking keeper mock.
IBCCrosschainKeeper creates a new ibccrosschain keeper with no mocked keepers.
IBCCrosschainKeeperAllMocks creates a new ibccrosschain keeper with all mocked keepers.
No description provided by the author
IBCKeeper instantiates an ibc keeper for testing purposes.
LightclientKeeper instantiates an lightclient keeper for testing purposes.
LightclientKeeperWithMocks instantiates a lightclient keeper for testing purposes with the option to mock specific keepers.
MockCctxByNonce is a utility function using observer mock to returns a cctx of the given status from crosschain keeper mocks the methods called by CctxByNonce to directly return the given cctx or error.
MockCheckAuthorization mocks the CheckAuthorization method of the authority keeper.
No description provided by the author
MockGetChainList mocks the GetAdditionalChainList method of the authority keeper.
MockGetChainListEmpty mocks the GetAdditionalChainList method of the authority keeper.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ModuleAccountAddrs returns all the app's module account addresses.
No description provided by the author
NewContext creates a new sdk.Context for testing purposes with initialized header.
NewSDKKeepers instantiates regular Cosmos SDK keeper such as staking with local storage for testing purposes.
NewSDKKeepers instantiates regular Cosmos SDK keeper such as staking with local storage for testing purposes.
ObserverKeeper instantiates an observer keeper for testing purposes.
ObserverKeeperWithMocks instantiates an observer keeper for testing purposes with the option to mock specific keepers.
ParamsKeeper instantiates a param keeper for testing purposes TODO: remove https://github.com/zeta-chain/node/issues/848.
No description provided by the author
SlashingKeeper instantiates a slashing keeper for testing purposes.
StakingKeeper instantiates a staking keeper for testing purposes.
No description provided by the author
TransferKeeper instantiates an ibc transfer keeper for testing purposes.
UpgradeKeeper instantiates an upgrade keeper for testing purposes.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LightclientMockOptions represents options for instantiating a lightclient keeper with mocks.
ObserverMockOptions represents options for instantiating an observer keeper with mocks.
ObserverMockSlashingKeeper is a wrapper of the observer slashing keeper mock that add methods to mock the IsTombstoned method.
ObserverMockStakingKeeper is a wrapper of the observer staking keeper mock that add methods to mock the GetValidator method.
ProtocolVersionSetter mock.
SDKKeepers is a struct containing regular SDK module keepers for test purposes.
ZetaKeepers is a struct containing Zeta module keepers for test purposes.