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
Society v2 #11324
Merged
Merged
Society v2 #11324
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
62dc0d7
New Society
gavofyork 135009c
More logic drafting
gavofyork 01c6834
More work
gavofyork a6577e0
Building
gavofyork feb7d6b
Some tests
gavofyork f7ce7e3
Fixes
gavofyork 841c732
Improvements to the voting process
gavofyork 8b997cd
More tests
gavofyork 3f9fdbd
Test number 20
gavofyork 98f4060
Tests
gavofyork 3f6ba74
30 tests
gavofyork 89c4bf6
Another test]
gavofyork db636be
All tests enabled
gavofyork d6abcb9
Minor stuff
gavofyork f8360a8
generate_storage_alias: Rewrite as proc macro attribute
bkchr 43cf8c1
Maintenance operations don't pay fee
gavofyork 0fbf6b5
Merge remote-tracking branch 'origin/master' into gav-society-v2
gavofyork 287269d
Merge remote-tracking branch 'origin/bkchr-storage-alias-proc-macro' …
gavofyork b12cbb2
Fix compilation and FMT
bkchr 249b664
Moare fixes
bkchr 0763482
Merge remote-tracking branch 'origin/bkchr-storage-alias-proc-macro' …
gavofyork 676595c
Migrations
gavofyork 0fe52d8
Fix tests and add migration testing
gavofyork 27abee7
Introduce lazy-cleanup and avoid unbounded prefix removal
gavofyork adccb66
Fixes
gavofyork 06700bd
Merge remote-tracking branch 'origin/master' into gav-society-v2
gavofyork aefd6db
Fixes
gavofyork 1bbc803
Merge remote-tracking branch 'origin/master' into gav-society-v2
gavofyork be940c1
[WIP][Society] Adding benchmarking to the v2. (#11776)
arturgontijo 0f4f927
Merge branch 'master' into gav-society-v2
gavofyork 3f20f36
Fix Cargo
gavofyork db9990f
Fixes
gavofyork 6218e32
Merge remote-tracking branch 'origin/master' into gav-society-v2
gavofyork d9dce35
Fixes
gavofyork 4c60eef
Spelling
gavofyork fc1d682
Merge branch 'master' into gav-society-v2
gavofyork e1214b3
Merge remote-tracking branch 'origin/master' into gav-society-v2
gavofyork 3f119f1
Fix benchmarks
gavofyork 59d1545
Merge remote-tracking branch 'origin/master' into gav-society-v2
gavofyork 2440062
Another fix
gavofyork 7811ac1
Remove println
gavofyork 687d914
Society migration
gavofyork 4841585
Merge remote-tracking branch 'origin/master' into gav-society-v2
1864679
Merge branch 'gav-society-v2' of github.com:paritytech/substrate into…
gavofyork ab1eafd
Fixes
gavofyork c01e8bc
Docs
gavofyork 3d3b43c
Docs
gavofyork 3b73c57
Remove accidental addition.
gavofyork e51eebf
Fixes
gavofyork 43ea1db
Clippy
gavofyork bfed684
Fixes
gavofyork ba534a6
Docs
gavofyork 1528a58
Improve try_runtime test
gavofyork af65cf7
Use pallet storage version
gavofyork 308e646
Fix up society cargo toml file
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
Merge branch 'master' into gav-society-v2
- Loading branch information
commit fc1d682e2cb6d99edf1836917e007e0a150bc94d
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 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
You are viewing a condensed version of this merge commit. You can view the full changes here.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
Could we get complexity notation for this one and later ones as well since we have it on the earlier calls?
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.
Or the other way, I find most of these complexity/weight comments pretty useless. Even if they should exist, it should be in the benchmarking code, not in the call documentation (where end users will see it through metadata).
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.
Indeed - they're actually mostly old and incorrect. As can be seen from the weight calls, they're all O(1) now. The only caveat to that is that
BoundedVecs in storage items must generally be full to ensure the maximum possible weight is determined. But I don't think that's especially useful to have in the function docs since it's a) fairly obvious; and b) as closely related to the storage item itself as it is the function.