Help us shape the future of Go! Take the 2026 Go Developer Survey

testutil

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 5 Imported by: 64

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