chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -5,9 +5,6 @@
|
||||
#![allow(dead_code)]
|
||||
#![allow(unused_variables)]
|
||||
|
||||
use clap::Parser;
|
||||
use codec::Compact;
|
||||
use std::{fs, fs::File, io::BufReader, time::Duration};
|
||||
use bizinikiwi_txtesttool::{
|
||||
block_monitor::BlockMonitor,
|
||||
cli::{Cli, CliCommand},
|
||||
@@ -20,6 +17,9 @@ use bizinikiwi_txtesttool::{
|
||||
EthTransactionsSink, SubstrateTransaction, SubstrateTransactionsSink, SENDER_SEED,
|
||||
},
|
||||
};
|
||||
use clap::Parser;
|
||||
use codec::Compact;
|
||||
use std::{fs, fs::File, io::BufReader, time::Duration};
|
||||
use subxt::{ext::frame_metadata::RuntimeMetadataPrefixed, PolkadotConfig};
|
||||
use tracing::info;
|
||||
|
||||
|
||||
@@ -356,10 +356,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
async fn submit(
|
||||
&self,
|
||||
tx: &dyn Transaction<HashType = HashOf<C>>,
|
||||
) -> Result<HashOf<C>, Error> {
|
||||
async fn submit(&self, tx: &dyn Transaction<HashType = HashOf<C>>) -> Result<HashOf<C>, Error> {
|
||||
let tx = tx.as_any().downcast_ref::<SubxtTransaction<C>>().unwrap();
|
||||
tx.transaction.submit().await.map_err(|e| e.into())
|
||||
}
|
||||
@@ -382,9 +379,7 @@ where
|
||||
}
|
||||
|
||||
fn transaction_monitor(&self) -> Option<&dyn TransactionMonitor<HashOf<C>>> {
|
||||
self.block_monitor
|
||||
.as_ref()
|
||||
.map(|m| m as &dyn TransactionMonitor<HashOf<C>>)
|
||||
self.block_monitor.as_ref().map(|m| m as &dyn TransactionMonitor<HashOf<C>>)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user