diff --git a/x/paramHub/hub.go b/x/paramHub/hub.go index 80a41a0ea..3dd8a913f 100644 --- a/x/paramHub/hub.go +++ b/x/paramHub/hub.go @@ -177,6 +177,7 @@ func init() { "side_delegate": fees.FixedFeeCalculatorGen, "side_redelegate": fees.FixedFeeCalculatorGen, "side_undelegate": fees.FixedFeeCalculatorGen, + "side_stake_migration": fees.FixedFeeCalculatorGen, "bsc_submit_evidence": fees.FixedFeeCalculatorGen, "side_chain_unjail": fees.FixedFeeCalculatorGen, "dexList": fees.FixedFeeCalculatorGen, diff --git a/x/paramHub/types/types.go b/x/paramHub/types/types.go index 464ff2ace..56f36e8b0 100644 --- a/x/paramHub/types/types.go +++ b/x/paramHub/types/types.go @@ -59,6 +59,7 @@ var ( "side_delegate": {}, "side_redelegate": {}, "side_undelegate": {}, + "side_stake_migration": {}, "bsc_submit_evidence": {}, "side_chain_unjail": {}, @@ -292,7 +293,7 @@ type SCParam interface { subspace.ParamSet UpdateCheck() error // native means weather the parameter stored in native store context or side chain store context - //GetParamAttribute() (string, bool) + // GetParamAttribute() (string, bool) GetParamAttribute() (string, bool) } diff --git a/x/stake/types/codec.go b/x/stake/types/codec.go index 6d78180bb..08bb0fc25 100644 --- a/x/stake/types/codec.go +++ b/x/stake/types/codec.go @@ -23,6 +23,7 @@ func RegisterCodec(cdc *codec.Codec) { cdc.RegisterConcrete(MsgSideChainDelegate{}, "cosmos-sdk/MsgSideChainDelegate", nil) cdc.RegisterConcrete(MsgSideChainRedelegate{}, "cosmos-sdk/MsgSideChainRedelegate", nil) cdc.RegisterConcrete(MsgSideChainUndelegate{}, "cosmos-sdk/MsgSideChainUndelegate", nil) + cdc.RegisterConcrete(MsgSideChainStakeMigration{}, "cosmos-sdk/MsgSideChainStakeMigration", nil) cdc.RegisterConcrete(&Params{}, "params/StakeParamSet", nil) }