mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 15:31:10 +00:00
Coretime Feature branch (relay chain) (#1694)
Also fixes: https://github.com/paritytech/polkadot-sdk/issues/1417 - [x] CoreIndex -> AssignmentProvider mapping will be able to change any time. - [x] Implement - [x] Provide Migrations - [x] Add and fix tests - [x] Implement bulk assigner logic - [x] bulk assigner tests - [x] Port over current assigner to use bulk designer (+ share on-demand with bulk): top-level assigner has core ranges: legacy, bulk - [x] Adjust migrations to reflect new assigner structure - [x] Move migration code to Assignment code directly and make it recursive (make it possible to skip releases) -> follow up ticket. - [x] Test migrations - [x] Add migration PR to runtimes repo -> follow up ticket. - [x] Wire up with actual UMP messages - [x] Write PR docs --------- Co-authored-by: eskimor <eskimor@no-such-url.com> Co-authored-by: Bradley Olson <34992650+BradleyOlson64@users.noreply.github.com> Co-authored-by: BradleyOlson64 <lotrftw9@gmail.com> Co-authored-by: Anton Vilhelm Ásgeirsson <antonva@users.noreply.github.com> Co-authored-by: antonva <anton.asgeirsson@parity.io> Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Marcin S. <marcin@realemail.net> Co-authored-by: Bastian Köcher <info@kchr.de> Co-authored-by: command-bot <>
This commit is contained in:
Generated
+8
@@ -74,6 +74,7 @@ pub trait WeightInfo {
|
||||
fn process_pool() -> Weight;
|
||||
fn process_core_schedule() -> Weight;
|
||||
fn request_revenue_info_at() -> Weight;
|
||||
fn notify_core_count() -> Weight;
|
||||
fn do_tick_base() -> Weight;
|
||||
}
|
||||
|
||||
@@ -447,6 +448,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Minimum execution time: 147_000 picoseconds.
|
||||
Weight::from_parts(184_000, 0)
|
||||
}
|
||||
fn notify_core_count() -> Weight {
|
||||
T::DbWeight::get().reads_writes(1, 1)
|
||||
}
|
||||
/// Storage: `Broker::Status` (r:1 w:1)
|
||||
/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Broker::Configuration` (r:1 w:0)
|
||||
@@ -835,6 +839,10 @@ impl WeightInfo for () {
|
||||
// Minimum execution time: 147_000 picoseconds.
|
||||
Weight::from_parts(184_000, 0)
|
||||
}
|
||||
fn notify_core_count() -> Weight {
|
||||
RocksDbWeight::get().reads(1)
|
||||
.saturating_add(RocksDbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: `Broker::Status` (r:1 w:1)
|
||||
/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Broker::Configuration` (r:1 w:0)
|
||||
|
||||
Reference in New Issue
Block a user