Skip to content

Commit

Permalink
re-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
albertchon committed Dec 28, 2021
1 parent 890f453 commit f937d4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions chain/exchange/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
cdc.RegisterConcrete(&DerivativeMarketParamUpdateProposal{}, "exchange/DerivativeMarketParamUpdateProposal", nil)
cdc.RegisterConcrete(&TradingRewardCampaignLaunchProposal{}, "exchange/TradingRewardCampaignLaunchProposal", nil)
cdc.RegisterConcrete(&TradingRewardCampaignUpdateProposal{}, "exchange/TradingRewardCampaignUpdateProposal", nil)
cdc.RegisterConcrete(&TradingRewardPointsUpdateProposal{}, "exchange/TradingRewardPointsUpdateProposal", nil)
cdc.RegisterConcrete(&FeeDiscountProposal{}, "exchange/FeeDiscountProposal", nil)
cdc.RegisterConcrete(&BatchCommunityPoolSpendProposal{}, "exchange/BatchCommunityPoolSpendProposal", nil)
}
Expand Down Expand Up @@ -81,6 +82,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
&DerivativeMarketParamUpdateProposal{},
&TradingRewardCampaignLaunchProposal{},
&TradingRewardCampaignUpdateProposal{},
&TradingRewardPointsUpdateProposal{},
&FeeDiscountProposal{},
&BatchCommunityPoolSpendProposal{},
)
Expand Down
2 changes: 1 addition & 1 deletion chain/exchange/types/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const (
ProposalTypeDerivativeMarketParamUpdate string = "ProposalTypeDerivativeMarketParamUpdate"
ProposalTypeTradingRewardCampaign string = "ProposalTypeTradingRewardCampaign"
ProposalTypeTradingRewardCampaignUpdate string = "ProposalTypeTradingRewardCampaignUpdateProposal"
ProposalTypeTradingRewardPointsUpdate string = "ProposalTypeTradingRewardPointsUpdate"
ProposalTypeTradingRewardPointsUpdate string = "ProposalTypeTradingRewardPointsUpdateProposal"
ProposalTypeFeeDiscountProposal string = "ProposalTypeFeeDiscountProposal"
ProposalTypeBatchCommunityPoolSpendProposal string = "ProposalTypeBatchCommunityPoolSpendProposal"
)
Expand Down

0 comments on commit f937d4f

Please sign in to comment.