From f937d4f7cc03b01e20a497f5a84f5884b7f09693 Mon Sep 17 00:00:00 2001 From: Albert Chon Date: Tue, 28 Dec 2021 08:38:57 -0500 Subject: [PATCH] re-gen --- chain/exchange/types/codec.go | 2 ++ chain/exchange/types/proposal.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/chain/exchange/types/codec.go b/chain/exchange/types/codec.go index f37301b8..c492c294 100644 --- a/chain/exchange/types/codec.go +++ b/chain/exchange/types/codec.go @@ -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) } @@ -81,6 +82,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) { &DerivativeMarketParamUpdateProposal{}, &TradingRewardCampaignLaunchProposal{}, &TradingRewardCampaignUpdateProposal{}, + &TradingRewardPointsUpdateProposal{}, &FeeDiscountProposal{}, &BatchCommunityPoolSpendProposal{}, ) diff --git a/chain/exchange/types/proposal.go b/chain/exchange/types/proposal.go index ec40a649..f32aac9f 100644 --- a/chain/exchange/types/proposal.go +++ b/chain/exchange/types/proposal.go @@ -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" )