Documentation ¶
Index ¶
- func BankGenesisState(cdc codec.Codec, genesisState app.GenesisState) app.GenesisState
- func DefaultNetworkConfig(opts ...func(config *network.Config)) network.Config
- func GovGenesisState(cdc codec.Codec, genesisState app.GenesisState, votingPeriod time.Duration) app.GenesisState
- func IbcGenesisState(cdc codec.Codec, genesisState app.GenesisState) app.GenesisState
- func NoSupplyGenesisState(cdc codec.JSONCodec, moduleBasics module.BasicManager) app.GenesisState
- func ResetTestRootWithChainID(testName, chainID string) *config.Config
- func SlashingGenesisState(cdc codec.Codec, genesisState app.GenesisState, signedBlocksWindow int64, ...) app.GenesisState
- type TestContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BankGenesisState ¶
func BankGenesisState(cdc codec.Codec, genesisState app.GenesisState) app.GenesisState
func DefaultNetworkConfig ¶
DefaultNetworkConfig returns a sane default configuration suitable for nearly all testing requirements.
func GovGenesisState ¶
func GovGenesisState(cdc codec.Codec, genesisState app.GenesisState, votingPeriod time.Duration) app.GenesisState
func IbcGenesisState ¶
func IbcGenesisState(cdc codec.Codec, genesisState app.GenesisState) app.GenesisState
func NoSupplyGenesisState ¶
func NoSupplyGenesisState(cdc codec.JSONCodec, moduleBasics module.BasicManager) app.GenesisState
func SlashingGenesisState ¶
Types ¶
type TestContext ¶
func DefaultContextWithDB ¶
func DefaultContextWithDB(t *testing.T, key, tkey storetypes.StoreKey) TestContext
Directories ¶
Path | Synopsis |
---|---|
Package network implements and exposes a fully operational in-process Tendermint test network that consists of at least one or potentially many validators.
|
Package network implements and exposes a fully operational in-process Tendermint test network that consists of at least one or potentially many validators. |
Click to show internal directories.
Click to hide internal directories.