2023-04-18 15:51:26 +08:00
|
|
|
package v1
|
2020-05-20 12:16:09 +08:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/tendermint/go-amino"
|
|
|
|
cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Codec = amino.Codec
|
|
|
|
|
|
|
|
var Cdc *Codec
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
cdc := amino.NewCodec()
|
|
|
|
cryptoAmino.RegisterAmino(cdc)
|
|
|
|
Cdc = cdc.Seal()
|
|
|
|
}
|