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
pallet alliance #11112
Merged
paritytech-processbot
merged 81 commits into
paritytech:master
from
xlc:polkadot-alliance-review
Jun 10, 2022
Merged
pallet alliance #11112
Changes from 1 commit
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
94cf161
Add pallet-alliance
koushiro f12601d
Update multihash/cid and format
koushiro 0d93dd6
Remove useless deps
koushiro 3bfc260
Add pallet-alliance into node runtime
koushiro 445649e
Fix has_identity
koushiro 0d2eaee
Add TooMantBlacklist Error
koushiro b69980d
Add TooLongWebsiteUrlLength Error
koushiro 9cab715
Add remove_announcement
koushiro 9241f08
Derive pallet_identity::Config and Fix test/benchmarking
koushiro 0a71502
Add part weight for call of pallet-alliance
koushiro d7aeddf
Remove pallet_identity Config trait
koushiro b07520e
Fix propose arguments
koushiro 9774055
Some nits
koushiro 0013afd
cargo fmt
koushiro 6b2c8af
Fix benchmarking of add_blacklist/remove_blacklist
koushiro 1d2bc71
Some nits
koushiro e7f0cd3
Add benchmarking for init_members
koushiro 181738b
Add benchmarking for propose/vote/veto
koushiro a359aea
Fix benchmarking
koushiro d1bb18d
Remove some useless
koushiro a2f986f
fix some compile issue
xlc e37664e
more fix
xlc a04c5b8
all checks
xlc fde2562
refactor
xlc 1757810
refactor event
xlc 03a6be5
refactor
xlc 3e4e7f4
cleanup
xlc 7333148
cleanup
xlc 06b42a8
Merge branch 'master' into polkadot-alliance-review
xlc c49b633
fix benchmarking
xlc bbd087b
fix warning
xlc 062bad8
fmt
xlc 8ab53a8
fix benchmarks
xlc 86b4fcf
Merge remote-tracking branch 'origin/master' into polkadot-alliance-r…
xlc c16c2a7
with storage info
xlc 58ca07d
fmt
xlc 4013d84
add new config
xlc a0c0971
fix benchmarks
xlc 31f846b
fix
xlc 616646b
fmt
xlc 02aaf4e
Apply suggestions from code review
xlc 82f84d1
improvements
xlc 551e830
fix
xlc 451396e
update docs
joepetrowski 814d520
rename events, errors, and functions
joepetrowski f90df9e
make kicking events clearer
joepetrowski d93f872
Merge pull request #2 from joepetrowski/polkadot-alliance-review
xlc 35d50b9
fix
xlc e024c73
fix tests
xlc 1d0eef4
fix tests
xlc 4f2a0bd
fix runtime
xlc 3c8b878
fix build
xlc 0f12ed4
remove unneeded change
xlc b20b72a
Merge remote-tracking branch 'origin/master' into polkadot-alliance-r…
xlc 5b6b336
remove Candidate role from Alliance
joepetrowski a97b897
merge master
joepetrowski 0970b78
fmt grumbles
joepetrowski d292548
update lock
joepetrowski 6da40be
update recursion limit
joepetrowski dc6400c
benchmarks
joepetrowski 428638a
convert-try
joepetrowski c029b0c
benchmark assertions
joepetrowski 5ed70ae
fmt ,
joepetrowski d7766b0
merge master
joepetrowski 50726b3
cargo lock
joepetrowski 60d9434
Update frame/alliance/src/benchmarking.rs
joepetrowski 2809717
Apply suggestions from code review
joepetrowski f270ada
add docs to public interfaces
joepetrowski 955854a
Apply suggestions from code review
joepetrowski 944a612
fix build (node)
joepetrowski 7c063c8
review
joepetrowski 5feb2d1
Merge remote-tracking branch 'origin' into polkadot-alliance-review
joepetrowski a576428
Merge remote-tracking branch 'origin' into polkadot-alliance-review
joepetrowski fb8dd06
merge master
joepetrowski 0e39490
use EitherOfDiverse
joepetrowski d89078d
update cargo toml
joepetrowski 8338125
make all dispatch class Normal
joepetrowski fdf4dc9
change blacklist to unscrupulous
joepetrowski 0c10bcd
formatting
joepetrowski 3ee24a8
fmt oops
joepetrowski 78b63c1
rename benchmarking unscrupulous account creator
joepetrowski 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
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.
Should we have NotInBlacklist(usize) where we specify which item's index was offending in the input? Would take out some of the guesswork when they have to re-submit without that item.
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.
Seems reasonable, but it does fail on the first one, so there could be further items.
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.
Max blacklist length is
u32(4 bytes), but the max error encoding is 4 bytes (as implemented in #10242). Since you also need the enum variant, it serializes to more than 4 bytes. Will leave this for now as it's quite easy for front ends to verify inputs before submission.