Files

19 lines
619 B
Go
Raw Permalink Normal View History

2024-07-05 22:20:13 -04:00
package params
import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/types"
)
// EncodingConfig specifies the concrete encoding types to use for a given app.
// This is provided for compatibility between protobuf and amino implementations.
2025-10-03 14:45:52 -04:00
// It encapsulates all the required components for encoding/decoding transactions
// and other data structures in the blockchain.
2024-07-05 22:20:13 -04:00
type EncodingConfig struct {
InterfaceRegistry types.InterfaceRegistry
Codec codec.Codec
TxConfig client.TxConfig
Amino *codec.LegacyAmino
}