testutil

package
v0.50.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodecOptions

type CodecOptions struct {
	AccAddressPrefix string
	ValAddressPrefix string
}

CodecOptions are options for creating a test codec.

func (CodecOptions) NewCodec

func (o CodecOptions) NewCodec() *codec.ProtoCodec

NewCodec returns a new codec with the given options.

func (CodecOptions) NewInterfaceRegistry

func (o CodecOptions) NewInterfaceRegistry() codectypes.InterfaceRegistry

NewInterfaceRegistry returns a new InterfaceRegistry with the given options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL