This repository was 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.7k
Add tipping into treasury #4480
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
9cd6e0a
First draft
gavofyork 31a1e38
Initial work on tests
gavofyork 20eef24
Add tests.
gavofyork e645eea
Ensure old members can't tip.
gavofyork 113302f
Merge remote-tracking branch 'origin/master' into gav-treasury-tip
gavofyork a9c184d
Fix complexity
gavofyork ff776b2
Update node runtime
gavofyork d37868e
Build fix.
gavofyork 287e74f
build fix
gavofyork 6a179a6
Fix tests
gavofyork da826aa
Fix tests
gavofyork ae9d70b
Refactor Contains impl for tests
gavofyork 4e3195a
Introduce new way to avoid impl Contains conflicts
gavofyork 861b638
Fixes
gavofyork 3cea713
Docs.
gavofyork 138bd65
Docs.
gavofyork 5328ad2
Merge remote-tracking branch 'origin/master' into gav-treasury-tip
gavofyork 6816d0d
Typo
gavofyork fa95eeb
Whitespace
gavofyork 4c57a23
Docs
gavofyork 905b851
Typo
gavofyork e912d4c
Formatting
gavofyork 7d8e249
Update frame/treasury/src/lib.rs
gavofyork 834a7ba
Update frame/treasury/src/lib.rs
gavofyork 73357e2
Update frame/treasury/src/lib.rs
gavofyork b95e6d5
Apply suggestions from code review
gavofyork c0f8d64
Add provisional weights.
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
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 won't work if we also have specialisation for a module as we do now with the treasury module, hence the need for these changes and
ord_parameter_types.