Commit 57884611 authored by Xiliang Chen's avatar Xiliang Chen Committed by GitHub
Browse files

pallet alliance (#11112)



* Add pallet-alliance

Signed-off-by: default avatarkoushiro <[email protected]>

* Update multihash/cid and format

Signed-off-by: default avatarkoushiro <[email protected]>

* Remove useless deps

Signed-off-by: default avatarkoushiro <[email protected]>

* Add pallet-alliance into node runtime

Signed-off-by: default avatarkoushiro <[email protected]>

* Fix has_identity

Signed-off-by: default avatarkoushiro <[email protected]>

* Add TooMantBlacklist Error

Signed-off-by: default avatarkoushiro <[email protected]>

* Add TooLongWebsiteUrlLength Error

Signed-off-by: default avatarkoushiro <[email protected]>

* Add remove_announcement

Signed-off-by: default avatarkoushiro <[email protected]>

* Derive pallet_identity::Config and Fix test/benchmarking

Signed-off-by: default avatarkoushiro <[email protected]>

* Add part weight for call of pallet-alliance

Signed-off-by: default avatarkoushiro <[email protected]>

* Remove pallet_identity Config trait

Signed-off-by: default avatarkoushiro <[email protected]>

* Fix propose arguments

Signed-off-by: default avatarkoushiro <[email protected]>

* Some nits

Signed-off-by: default avatarkoushiro <[email protected]>

* cargo fmt

Signed-off-by: default avatarkoushiro <[email protected]>

* Fix benchmarking of add_blacklist/remove_blacklist

Signed-off-by: default avatarkoushiro <[email protected]>

* Some nits

Signed-off-by: default avatarkoushiro <[email protected]>

* Add benchmarking for init_members

Signed-off-by: default avatarkoushiro <[email protected]>

* Add benchmarking for propose/vote/veto

Signed-off-by: default avatarkoushiro <[email protected]>

* Fix benchmarking

Signed-off-by: default avatarkoushiro <[email protected]>

* Remove some useless

Signed-off-by: default avatarkoushiro <[email protected]>

* fix some compile issue

* more fix

* all checks

* refactor

* refactor event

* refactor

* cleanup

* cleanup

* fix benchmarking

* fix warning

* fmt

* fix benchmarks

* with storage info

* fmt

* add new config

* fix benchmarks

* fix

* fmt

* Apply suggestions from code review

Co-authored-by: default avatarKian Paimani <[email protected]>

* improvements

* fix

* update docs

* rename events, errors, and functions

* make kicking events clearer

* fix

* fix tests

* fix tests

* fix runtime

* fix build

* remove unneeded change

* remove Candidate role from Alliance

* fmt grumbles

* update lock

* update recursion limit

* benchmarks

* convert-try

* benchmark assertions

* fmt ,

* cargo lock

* Update frame/alliance/src/benchmarking.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Apply suggestions from code review

Co-authored-by: default avatarKian Paimani <[email protected]>

* add docs to public interfaces

* Apply suggestions from code review

Co-authored-by: default avatarSquirrel <[email protected]>

* fix build (node)

* review

* use EitherOfDiverse

* update cargo toml

* make all dispatch class Normal

* change blacklist to unscrupulous

* formatting

* fmt oops

* rename benchmarking unscrupulous account creator

Co-authored-by: default avatarkoushiro <[email protected]>
Co-authored-by: default avatarKian Paimani <[email protected]>
Co-authored-by: default avatarjoepetrowski <[email protected]>
Co-authored-by: default avatarjoe petrowski <[email protected]>
Co-authored-by: default avatarSquirrel <[email protected]>
parent 09b5def9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment