Commit 38d94d63 authored by Kian Paimani's avatar Kian Paimani Committed by GitHub
Browse files

Use proper bounded vector type for nominations (#10601)



* Use proper bounded vector type for nominations

* add docs and tweak chill_other for cleanup purposes

* Fix the build

* remove TODO

* add a bit more doc

* even more docs
gushc

* Update frame/staking/src/pallet/mod.rs

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

* Update frame/staking/src/pallet/mod.rs

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

* Fix the nasty bug

* also bound the Snapshot type

* fix doc test

* document bounded_vec

* self-review

* remove unused

* Fix build

* frame-support: repetition overload for bounded_vec

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* fix

* remove the need to allocate into unbounded voters etc etc

* Don't expect

* unbreal the build again

* handle macro a bit better

Co-authored-by: default avatarZeke Mostov <[email protected]>
Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
parent d94b5e32
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