Bastian Köcher
|
f3662b4bba
|
Happy new year 2022 (#10573)
|
2022-01-03 09:22:14 +01:00 |
|
Kian Paimani
|
f10203c793
|
move generics of election trait to associated types (#10475)
* move generics of election trait to associated types
* fix doctest
|
2021-12-16 06:24:28 +00:00 |
|
Ayevbeosa Iyamu
|
56fb1cfbb6
|
Used CountedStorageMap in pallet-staking (#10233)
* Removed counters and used CountedStorageMap instead.
* Little refactoring
* Update frame/staking/src/migrations.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
* Removed redundant code to update counter for validator & nominator.
* Removed redundant code to update counter for validator & nominator.
* Removed unreachable code to inject the hashed prefix for nominator & validator.
* Removed redundant check for nominator & validator count.
* Generated `fn prefix_hash` for `CountedStorageMap`.
* Applied changes from `cargo fmt`
* Possible correct implementation of migration code
* Implemented fn module_prefix, storage_prefix and prefix_hash.
* Removed counted_map.rs
* Renamed `fn storage_prefix` to `storage_counter_prefix`.
* Update frame/support/src/storage/types/counted_map.rs
* Update frame/bags-list/remote-tests/src/snapshot.rs
* Update frame/support/src/storage/types/counted_map.rs
* Fixed errors.
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
|
2021-12-07 09:21:27 +00:00 |
|
Guillaume Thiolliere
|
9756615d5b
|
Fix pallet bags list and doc (#10231)
* fix bags list
* improve doc
* doc
* inner doc
* fix test
* Update docs in frame/election-provider-support/src/lib.rs
* fix staking impl
* prepend unsafe to clear and regenerate
* fix test
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
|
2021-12-03 05:58:12 +00:00 |
|
David
|
eeb80f9e0b
|
Upgrade jsonrpsee to v0.4.1 (#10022)
* Upgrade jsonrpsee to v0.4.1
* remove needless BlockT trait bound
* use default wss port in URL
* Fix try_runtime build
* Partially fix for "remote-tests" feature
* Review feedback
* fmt
* Sort out trait bounds for benches
* Fmt
* fmt again?
* fmt with nightly-2021-09-13
* Upgrade try-runtime as well
* fmt
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
|
2021-11-11 11:29:28 +00:00 |
|
Kian Paimani
|
937b6f246e
|
put TryInto and TryFrom in sp_std::prelude (#10183)
* Switch to Rust 2021
* Update trybuild to fix errors
* half baked
* fix
* remove unused import
* remove more warnings
Co-authored-by: Bastian Köcher <info@kchr.de>
|
2021-11-08 00:24:53 +01:00 |
|
Kian Paimani
|
bba9cfd8a2
|
introduce remote-tests for pallet-bags-list (#10036)
* make a few primitives in bags-list public
* push new stuff
* update
* update log target
* bring remote tests here
* revert pub
* Update frame/bags-list/remote-tests/Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* some rev commnets
* Fix
* cleanup
* Update Cargo.lock
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
|
2021-11-01 14:41:38 +00:00 |
|