Skip to content

Commit

Permalink
docs: clarify legacy proposal mention (#16932)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored Jul 11, 2023
1 parent d2d3e5f commit 8bef7fa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions x/gov/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,11 +494,13 @@ And the pseudocode for the `ProposalProcessingQueue`:

### Legacy Proposal

:::warning
Legacy proposals are deprecated. Use the new proposal flow by granting the governance module the right to execute the message.
:::

A legacy proposal is the old implementation of governance proposal.
Contrary to proposal that can contain any messages, a legacy proposal allows to submit a set of pre-defined proposals.
These proposal are defined by their types.

While proposals should use the new implementation of the governance proposal, we need still to use legacy proposal in order to submit a `software-upgrade` and a `cancel-software-upgrade` proposal.
These proposals are defined by their types and handled by handlers that are registered in the gov v1beta1 router.

More information on how to submit proposals in the [client section](#client).

Expand Down

0 comments on commit 8bef7fa

Please sign in to comment.