Skip to content

Commit

Permalink
fix: fix x/gov messages type url (#617)
Browse files Browse the repository at this point in the history
## Description

Closes: #XXXX

<!-- Add a description of the changes that this PR introduces and the
files that
are the most critical to review. -->

This PR fixes the type url of all the x/gov messages

---

### Author Checklist

*All items are required. Please add a note to the item if the item is
not applicable and
please add links to any relevant follow up issues.*

I have...

- [ ] included the correct [type
prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json)
in the PR title
- [ ] targeted the correct branch (see [PR
Targeting](https://github.com/desmos-labs/desmjs/blob/master/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable
and please add
your handle next to the items reviewed if you only reviewed selected
items.*

I have...

- [ ] confirmed the correct [type
prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json)
in the PR title
- [ ] confirmed all author checklist items have been addressed
- [ ] confirmed that this PR does not change production code
  • Loading branch information
manu0466 committed Jun 20, 2023
1 parent 4b71e46 commit b5c58fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/const/cosmos/gov/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const MsgSubmitProposalTypeUrl = "/cosmos.gov.v1beta.MsgSubmitProposal";
export const MsgSubmitProposalTypeUrl = "/cosmos.gov.v1beta1.MsgSubmitProposal";
export const MsgSubmitProposalAminoType = "cosmos-sdk/MsgSubmitProposal";

export const MsgDepositTypeUrl = "/cosmos.gov.v1beta.MsgDeposit";
export const MsgDepositTypeUrl = "/cosmos.gov.v1beta1.MsgDeposit";
export const MsgDepositAminoType = "cosmos-sdk/MsgDeposit";

export const MsgVoteTypeUrl = "/cosmos.gov.v1beta.MsgVote";
export const MsgVoteTypeUrl = "/cosmos.gov.v1beta1.MsgVote";
export const MsgVoteAminoType = "cosmos-sdk/MsgVote";

0 comments on commit b5c58fa

Please sign in to comment.