This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Several tweaks needed for Governance 2.0 #11124
Merged
Merged
Changes from 33 commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
2c7960e
Add stepped curve for referenda
gavofyork f756d98
Treasury SpendOrigin
gavofyork de49a27
Merge remote-tracking branch 'origin/master' into gav-gov2-tweaks
gavofyork 788a85f
Add tests
gavofyork 9b967e7
Better Origin Or-gating
gavofyork b84e299
Reciprocal curve
gavofyork c8e8a5c
Tests for reciprical and rounding in PerThings
gavofyork a1a4619
Tweaks and new quad curve
gavofyork 5710058
Const derivation of reciprocal curve parameters
gavofyork 6bde6aa
Remove some unneeded code
gavofyork abb8a8f
Actually useful linear curve
gavofyork 9cecb07
Fixes
gavofyork 31da176
Provisional curves
gavofyork e6c0f02
Rejig 'turnout' as 'support'
gavofyork 7aeab6c
Merge remote-tracking branch 'origin/master' into gav-gov2-tweaks
gavofyork ed050ca
Use TypedGet
gavofyork 386977a
Fixes
gavofyork 2cd8a46
Enable curve's ceil to be configured
gavofyork cb567e5
Merge remote-tracking branch 'origin/master' into gav-gov2-tweaks
gavofyork 3f424ae
Merge remote-tracking branch 'origin/master' into gav-gov2-tweaks
gavofyork 485fd23
Formatting
gavofyork f5d6f45
Fixes
gavofyork 7ce42e8
Fixes
gavofyork b25bc5f
Fixes
gavofyork 45208e0
Remove EnsureOneOf
gavofyork 35764fb
Fixes
gavofyork 3b53be6
Fixes
gavofyork cbadc3e
Fixes
gavofyork 940f4b3
Fixes
gavofyork a091e9d
Formatting
gavofyork 73bbf7c
Fixes
gavofyork ef59083
Merge remote-tracking branch 'origin/master' into gav-gov2-tweaks
gavofyork a291d47
Merge remote-tracking branch 'origin/master' into gav-gov2-tweaks
gavofyork 8019e33
Update frame/support/src/traits/dispatch.rs
gavofyork 7596264
Grumbles
gavofyork 2b4a20a
Merge remote-tracking branch 'origin/master' into gav-gov2-tweaks
gavofyork 40ca11e
Formatting
gavofyork 18c6438
Fixes
gavofyork ed23dc4
Merge remote-tracking branch 'origin/master' into gav-gov2-tweaks
gavofyork d04ebd0
APIs of VoteTally should include class
gavofyork 91b1094
Fixes
gavofyork 471b43a
Fix overlay prefix removal result
gavofyork 92cd9a3
Second part of the overlay prefix removal fix.
gavofyork 0239621
Merge remote-tracking branch 'origin/master' into gav-gov2-tweaks
gavofyork d504d70
Formatting
gavofyork cace119
Fixes
gavofyork e988654
Add some tests and make clear rounding algo
gavofyork 38f14fd
Fixes
gavofyork 064de3d
Formatting
gavofyork 4f456f8
Revert questionable fix
gavofyork 697bff5
Introduce test for kill_prefix
gavofyork d111c87
Fixes
gavofyork 244c5f4
Formatting
gavofyork 656baff
Fixes
gavofyork bcce142
Fix possible overflow
gavofyork af7b81e
Docs
gavofyork ad9a732
Add benchmark test
gavofyork fd5e03a
Formatting
gavofyork 18c72d3
Merge remote-tracking branch 'origin/master' into gav-gov2-tweaks
gavofyork db730db
Update frame/referenda/src/types.rs
gavofyork c251948
Docs
gavofyork 4088a11
Merge branch 'gav-gov2-tweaks' of github.com:paritytech/substrate int…
gavofyork 9b1bd8b
Fixes
gavofyork d2730c2
Use latest API in tests
gavofyork 5f7b13e
Formatting
gavofyork b58dbbc
Whitespace
gavofyork e1b00d8
Use latest API in tests
gavofyork File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a change of definition, not a bug right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
turnout implies all votes, support implies only aye votes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. From the PR's summary: