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
Fix: Adding min threshold and duration for dao motion (#974)
* fix:adding min threshold and duration for dao motion
* fix: adjusting dao benchmarks for new threshold validation
* test: use MinThreshold defined in place of hardcoded value
* refactor: tiny refactor
* fix: adjust threshold in benchmarking tests
* chore: update benchmark `weights.rs` file for all pallets
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: substrate-node/pallets/pallet-dao/creating_proposal_farmers.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,11 @@ Open the Polkadot JS UI in your browser:
21
21
22
22
The proposal must include the following arguments:
23
23
24
-
*`threshold`: minimal number of farmer votes required to be able to close proposal before its end.
24
+
*`threshold`: minimal number of farmer votes required to be able to close proposal before its end. should be at least 5 or more.
25
25
*`action`: call/extrinsic to execute on chain. If there is no call to be executed (which is usually the case) then `system` -> `remark()` should be set.
26
26
*`description`: a small description of what the proposal is about.
27
27
*`link`: a link to a more elaborate explanation of the proposal.
28
-
*`duration`: optional duration of the proposal after beeing created (default is 7 days, max value is 30 days), expressed in number of blocks (1 block = 6 sec).
28
+
*`duration`: optional duration of the proposal after beeing created (default is 7 days, min value is 1 day, max value is 30 days), expressed in number of blocks (1 block = 6 sec).
0 commit comments