Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing register for new msg #368

Merged
merged 1 commit into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading