Register-parachain subcommand of substrate-relay (#1170)

* register parachain relay subcommand

* revert cargo patch

* added basic test

* fmt
This commit is contained in:
Svyatoslav Nikolsky
2021-10-08 12:54:39 +03:00
committed by Bastian Köcher
parent 4b525f4fe1
commit a635048b8a
15 changed files with 732 additions and 62 deletions
@@ -570,7 +570,7 @@ async fn read_account_balance<C: ChainWithBalances>(
/// Wait until transaction is included into finalized block.
///
/// Returns the hash of the finalized block with transaction.
async fn wait_until_transaction_is_finalized<C: Chain>(
pub(crate) async fn wait_until_transaction_is_finalized<C: Chain>(
subscription: Subscription<TransactionStatusOf<C>>,
) -> anyhow::Result<HashOf<C>> {
loop {