Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMultiStore ¶
func CreateMultiStore(keys map[string]*storetypes.KVStoreKey, logger log.Logger) storetypes.CommitMultiStore
CreateMultiStore is a helper for setting up multiple stores for provided modules.
func MakeTestTxConfig ¶ added in v0.47.3
func MakeTestTxConfig(codecOpt testutil.CodecOptions) client.TxConfig
Types ¶
type TestBuilderTxConfig ¶ added in v0.47.3
type TestBuilderTxConfig struct { client.TxConfig TxBuilder *TestTxBuilder }
func MakeBuilderTestTxConfig ¶ added in v0.47.3
func MakeBuilderTestTxConfig(codecOpt testutil.CodecOptions) TestBuilderTxConfig
func (TestBuilderTxConfig) NewTxBuilder ¶ added in v0.47.3
func (cfg TestBuilderTxConfig) NewTxBuilder() client.TxBuilder
type TestEncodingConfig ¶
type TestEncodingConfig struct { InterfaceRegistry types.InterfaceRegistry Codec codec.Codec TxConfig client.TxConfig Amino *codec.LegacyAmino }
TestEncodingConfig defines an encoding configuration that is used for testing purposes. Note, MakeTestEncodingConfig takes a series of AppModule types which should only contain the relevant module being tested and any potential dependencies.
func MakeTestEncodingConfig ¶
func MakeTestEncodingConfig(codecOpt testutil.CodecOptions, modules ...module.AppModule) TestEncodingConfig
type TestTxBuilder ¶ added in v0.47.3
func (*TestTxBuilder) SetExtensionOptions ¶ added in v0.47.3
func (b *TestTxBuilder) SetExtensionOptions(extOpts ...*types.Any)
Click to show internal directories.
Click to hide internal directories.