Skip to content

Commit

Permalink
fix: add missing register for new msg
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Jan 6, 2024
1 parent 7565ea7 commit 72b314c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions x/paramHub/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion x/paramHub/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ var (
"side_delegate": {},
"side_redelegate": {},
"side_undelegate": {},
"side_stake_migration": {},

"bsc_submit_evidence": {},
"side_chain_unjail": {},
Expand Down Expand Up @@ -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)
}

Expand Down
1 change: 1 addition & 0 deletions x/stake/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 72b314c

Please sign in to comment.