Skip to content

Commit

Permalink
refactor: use sdk MsgTypeURL instead of string
Browse files Browse the repository at this point in the history
  • Loading branch information
fx0x55 authored and zakir-code committed Aug 16, 2024
1 parent 9794ab0 commit 61e135e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/gov/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ func EGFProposalParams(minDeposit []sdk.Coin, minInitialDeposit sdk.Coin, voting
maxDepositPeriod *time.Duration, threshold string, vetoThreshold, minInitialDepositRatio string, burnVoteQuorum, burnProposalDepositPrevote, burnVoteVeto bool,
) []*Params {
EGFMsgType := []string{
"/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",
// TODO v1 MsgServer MsgCommunityPoolSpend pending
sdk.MsgTypeURL(&distributiontypes.MsgCommunityPoolSpend{}),
}
baseParams := make([]*Params, 0, len(EGFMsgType))
for _, msgType := range EGFMsgType {
Expand Down

0 comments on commit 61e135e

Please sign in to comment.