mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
Reduce Westend deposit requirements (#1341)
* Switch branch * Return chain ops parts in new_chain_ops * Remove where param from new_chain_ops * Add task manager to new_chain_ops return * Revert branch switch * Revert "Revert branch switch" This reverts commit 7c7900c047abd794ddc759aa092811db4961a7a6. * network/test/src/lib: Adjust network worker polling Companion for https://github.com/paritytech/substrate/pull/6552. * Fix adder parachain * Fix collator tests * Revert branch switch * Bump everything - Remove old migration code - Reduce deposit requried for westend * Reapply fixes * Bump locl * Fix for #6550 * Fix message Co-authored-by: Ashley Ruglys <ashley.ruglys@gmail.com> Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
@@ -28,7 +28,7 @@ use primitives::{
|
||||
};
|
||||
use collator::{ParachainContext, Network, BuildParachainContext, Cli, SubstrateCli};
|
||||
use parking_lot::Mutex;
|
||||
use futures::future::{Ready, ready, TryFutureExt};
|
||||
use futures::future::{Ready, ready, FutureExt};
|
||||
|
||||
const GENESIS: AdderHead = AdderHead {
|
||||
number: 0,
|
||||
@@ -135,12 +135,14 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let cli = Cli::from_iter(&["-dev"]);
|
||||
let runner = cli.create_runner(&cli.run.base)?;
|
||||
runner.async_run(|config| {
|
||||
collator::start_collator(
|
||||
let (future, task_manager) = collator::start_collator(
|
||||
context,
|
||||
id,
|
||||
key,
|
||||
config,
|
||||
).map_err(|e| e.into())
|
||||
)?;
|
||||
|
||||
Ok((future.map(Ok), task_manager))
|
||||
})?;
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user