Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeTestTxConfig ¶
Types ¶
type TestBuilderTxConfig ¶
type TestBuilderTxConfig struct {
client.TxConfig
TxBuilder *TestTxBuilder
}
func MakeBuilderTestTxConfig ¶
func MakeBuilderTestTxConfig() TestBuilderTxConfig
func (TestBuilderTxConfig) NewTxBuilder ¶
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 AppModuleBasic types which should only contain the relevant module being tested and any potential dependencies.
func MakeTestEncodingConfig ¶
func MakeTestEncodingConfig(modules ...module.AppModuleBasic) TestEncodingConfig
type TestTxBuilder ¶
func (*TestTxBuilder) SetExtensionOptions ¶
func (b *TestTxBuilder) SetExtensionOptions(extOpts ...*types.Any)
Click to show internal directories.
Click to hide internal directories.