13 lines
417 B
Go
13 lines
417 B
Go
package types
|
|
|
|
import (
|
|
"github.com/cosmos/cosmos-sdk/codec"
|
|
)
|
|
|
|
// RegisterCodec registers concrete types on the Amino codec
|
|
func RegisterCodec(cdc *codec.Codec) {
|
|
cdc.RegisterConcrete(Plan{}, "cosmos-sdk/Plan", nil)
|
|
cdc.RegisterConcrete(SoftwareUpgradeProposal{}, "cosmos-sdk/SoftwareUpgradeProposal", nil)
|
|
cdc.RegisterConcrete(CancelSoftwareUpgradeProposal{}, "cosmos-sdk/CancelSoftwareUpgradeProposal", nil)
|
|
}
|