You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x/gov/README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ staking token of the chain.
63
63
64
64
## Concepts
65
65
66
-
The governance process is divided in a few steps that are outlined below:
66
+
The governance process is divided into a few steps that are outlined below:
67
67
68
68
***Proposal submission:** Proposal is submitted to the blockchain with a
69
69
deposit.
@@ -92,7 +92,7 @@ and have a respective path to execute on but do not perform a full validity chec
92
92
93
93
:::warning
94
94
Ultimately, governance is able to execute any proposal, even if they weren't meant to be executed by governance (ie. no authority present).
95
-
Messages without authority are message meant to be executed by users. Using the `MsgSudoExec` message in a proposal, let governance can execute any message, effectively acting as super user.
95
+
Messages without authority are messages meant to be executed by users. Using the `MsgSudoExec` message in a proposal, let governance be able to execute any message, effectively acting as super user.
96
96
:::
97
97
98
98
### Deposit
@@ -216,7 +216,7 @@ A proposal can be expedited, making the proposal use shorter voting duration and
216
216
217
217
#### Optimistic Proposal
218
218
219
-
An optimistic proposal is a proposal that passes unless a threshold a NO votes is reached.
219
+
An optimistic proposal is a proposal that passes unless a threshold of NO votes is reached.
220
220
Voter can only vote NO on the proposal. If the NO threshold is reached, the optimistic proposal is converted to a standard proposal.
221
221
222
222
That threshold is defined by the `optimistic_rejected_threshold` governance parameter.
@@ -273,7 +273,7 @@ Later, we may add permissioned keys that could only sign txs from certain module
273
273
There are three parameters that define if the deposit of a proposal should be burned or returned to the depositors.
274
274
275
275
*`BurnVoteVeto` burns the proposal deposit if the proposal gets vetoed.
276
-
*`BurnVoteQuorum` burns the proposal deposit if the proposal deposit if the vote does not reach quorum.
276
+
*`BurnVoteQuorum` burns the proposal deposit if the vote does not reach quorum.
277
277
*`BurnProposalDepositPrevote` burns the proposal deposit if it does not enter the voting phase.
278
278
279
279
> Note: These parameters are modifiable via governance.
@@ -282,7 +282,7 @@ There are three parameters that define if the deposit of a proposal should be bu
282
282
283
283
Execution is the process of executing the messages contained in a proposal. The execution phase will commence after the proposal has been accepted by the network. The messages contained in the proposal will be executed in the order they were submitted.
284
284
285
-
Execution has a upper limit on how much gas can be consumed in a single block. This limit is defined by the `ProposalExecutionGas` parameter.
285
+
Execution has an upper limit on how much gas can be consumed in a single block. This limit is defined by the `ProposalExecutionGas` parameter.
286
286
287
287
## State
288
288
@@ -305,9 +305,9 @@ Since this is more of a social feature than a technical feature, we'll now get i
305
305
* What is the purpose of the chain, specifically?
306
306
* best example of this is the Cosmos hub, where different founding groups, have different interpretations of the purpose of the network.
307
307
308
-
This genesis entry, "constitution" hasn't been designed for existing chains, who should likely just ratify a constitution using their governance system. Instead, this is for new chains. It will allow for validators to have a much clearer idea of purpose and the expectations placed on them while operating their nodes. Likewise, for community members, the constitution will give them some idea of what to expect from both the "chain team" and the validators, respectively.
308
+
This genesis entry, "constitution" hasn't been designed for existing chains, who should likely just ratify a constitution using their governance system. Instead, this is for new chains. It will allow for validators to have a much clearer idea of purpose and the expectations placed on them while operating their nodes. Likewise, for community members, the constitution will give them some idea of what to expect from both the "chain team" and the validators, respectively.
309
309
310
-
This constitution is designed to be immutable, and placed only in genesis, though that could change over time by a pull request to the cosmos-sdk that allows for the constitution to be changed by governance. Communities wishing to make amendments to their original constitution should use the governance mechanism and a "signaling proposal" to do exactly that.
310
+
This constitution is designed to be immutable, and placed only in genesis, though that could change over time by a pull request to the cosmos-sdk that allows for the constitution to be changed by governance. Communities wishing to make amendments to their original constitution should use the governance mechanism and a "signaling proposal" to do exactly that.
311
311
312
312
**Ideal use scenario for a cosmos chain constitution**
313
313
@@ -445,7 +445,7 @@ We will use one KVStore `Governance` to store four mappings:
445
445
* A mapping from `ParamsKey|'Params'` to `Params`. This map allows to query all
446
446
x/gov params.
447
447
448
-
For pseudocode purposes, here are the two function we will use to read or write in stores:
448
+
For pseudocode purposes, here are the two functions we will use to read or write in stores:
449
449
450
450
*`load(StoreKey, Key)`: Retrieve item stored at key `Key` in store found at key `StoreKey` in the multistore
451
451
*`store(StoreKey, Key, value)`: Write value `Value` at key `Key` in store found at key `StoreKey` in the multistore
@@ -472,7 +472,7 @@ A legacy proposal is the old implementation of governance proposal.
472
472
Contrary to proposal that can contain any messages, a legacy proposal allows to submit a set of pre-defined proposals.
473
473
These proposals are defined by their types and handled by handlers that are registered in the gov v1beta1 router.
474
474
475
-
More information on how to submit proposals in the [client section](#client).
475
+
More information on how to submit proposals is in the [client section](#client).
0 commit comments