Muharem Ismailov
f919894c84
Alliance pallet: split force_set_members call ( #12179 )
...
* Alliance pallet: split force_set_members call
* use counts for event
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
Co-authored-by: command-bot <>
2022-09-05 15:08:50 +00:00
Muharem Ismailov
a9a2fdca7b
Alliance pallet: fix func name, fix migration weights ( #12174 )
...
* Alliance pallet: fix func name, fix migration weights
* update comment order
2022-09-02 18:54:30 +02:00
Muharem Ismailov
d8e951758c
Alliance pallet: add force_set_members instead of init_members function ( #11997 )
...
* Alliance pallet: add force_set_members instead of init_members function
* benchmark with witness data
* remove invalid limit for clear
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Revert "remove invalid limit for clear"
This reverts commit dba54e3071b63bfea908087aef213f4640e3ccbf.
* compile constructor only for test
* Update comments for force_set_members
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
* benchmark - founders count range
* Revert "benchmark - founders count range"
This reverts commit aad16796f8dfed48079fb7f587b8f5b59382cda6.
* witness members count instead votable members count
* update the doc
* use decode_len for witness data checks
* change witness data member count to voting member count; update clear limits
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
* merge master
* fixes after merge master
* revert to cb3e63
* disband alliance and return deposits
* revert debug changes
* weights
* update docs
* update test comments
* Apply Joe suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* rename event from AllianceDisband to AllianceDisbanded
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: command-bot <>
2022-09-01 10:31:32 +00:00
Muharem Ismailov
b74fba5dac
Alliance pallet: retirement notice call ( #11970 )
...
* Alliance pallet: retirement notice
* add alliance pallet to benchmark list for dev chain
* fix type
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
* link weight generated by bench for retirement_notice method
* migration to clear UpForKicking storage prefix
* rename migration from v1 to v0_to_v1
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* rename `retirement-notice to give-retirement-notice
* Apply suggestions from code review
Co-authored-by: Squirrel <gilescope@gmail.com >
* review fixes: update doc, saturating add, BlockNumber type alias
* add suffix to duratin consts *_IN_BLOCKS
* ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance
* add negative tests (#11995 )
* add negative tests
* remove tests powerless asserts checking against announcment origin
* assert bad origin from announcement origin checks
Co-authored-by: muharem <ismailov.m.h@gmail.com >
Co-authored-by: command-bot <>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Squirrel <gilescope@gmail.com >
2022-08-29 16:02:23 +00:00
Squirrel
a68a80fbae
declone and close the door ( #12035 )
...
* declone and close the door
* cargo fmt
* remove brackets
2022-08-15 19:38:36 +00:00
Xiliang Chen
5788461196
pallet alliance ( #11112 )
...
* Add pallet-alliance
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update multihash/cid and format
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove useless deps
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Add pallet-alliance into node runtime
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix has_identity
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Add TooMantBlacklist Error
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Add TooLongWebsiteUrlLength Error
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Add remove_announcement
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Derive pallet_identity::Config and Fix test/benchmarking
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Add part weight for call of pallet-alliance
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove pallet_identity Config trait
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix propose arguments
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* cargo fmt
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix benchmarking of add_blacklist/remove_blacklist
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Add benchmarking for init_members
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Add benchmarking for propose/vote/veto
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix benchmarking
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove some useless
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* 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: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* 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: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* add docs to public interfaces
* Apply suggestions from code review
Co-authored-by: Squirrel <gilescope@gmail.com >
* 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: koushiro <koushiro.cqx@gmail.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: joepetrowski <joe@parity.io >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Squirrel <gilescope@gmail.com >
2022-06-10 18:39:26 +00:00