Companion - Independence for Slot-based algorithms from timestamp (#1617)

* Companion for Substrate #12224

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Davide Galassi
2022-09-23 20:58:33 +02:00
committed by GitHub
parent 86bdaec2ea
commit 1dd0d072a3
4 changed files with 262 additions and 264 deletions
+6 -6
View File
@@ -722,7 +722,7 @@ pub fn rococo_parachain_build_import_queue(
slot_duration,
);
Ok((timestamp, slot))
Ok((slot, timestamp))
},
registry: config.prometheus_registry(),
spawner: &task_manager.spawn_essential_handle(),
@@ -797,7 +797,7 @@ pub async fn start_rococo_parachain_node(
)
})?;
Ok((timestamp, slot, parachain_inherent))
Ok((slot, timestamp, parachain_inherent))
}
},
block_import: client.clone(),
@@ -1096,7 +1096,7 @@ where
slot_duration,
);
Ok((timestamp, slot))
Ok((slot, timestamp))
},
telemetry: telemetry_handle,
},
@@ -1223,7 +1223,7 @@ where
)
})?;
Ok((timestamp, slot, parachain_inherent))
Ok((slot, timestamp, parachain_inherent))
}
},
block_import: client2.clone(),
@@ -1537,7 +1537,7 @@ pub fn contracts_rococo_build_import_queue(
slot_duration,
);
Ok((timestamp, slot))
Ok((slot, timestamp))
},
registry: config.prometheus_registry(),
spawner: &task_manager.spawn_essential_handle(),
@@ -1611,7 +1611,7 @@ pub async fn start_contracts_rococo_node(
)
})?;
Ok((timestamp, slot, parachain_inherent))
Ok((slot, timestamp, parachain_inherent))
}
},
block_import: client.clone(),