Skip to content
Snippets Groups Projects
Commit 1d9e7f9e authored by Éloïs's avatar Éloïs
Browse files

tests(cucumber): comment log extrinsic encoded

parent ed662c37
No related branches found
No related tags found
1 merge request!103Remove genesis params `*certs_expire_on`
This commit is part of merge request !103. Comments created here will be created in the context of that merge request.
......@@ -132,14 +132,7 @@ pub async fn create_block_with_extrinsic(
client: &Client,
extrinsic: SignedSubmittableExtrinsic,
) -> Result<subxt::tx::TxEvents<GdevConfig>> {
/*// Get a hash of the extrinsic (we'll need this later).
use subxt::sp_runtime::traits::Hash as _;
let ext_hash = <GdevConfig as subxt::Config>::Hashing::hash_of(&encoded_extrinsic);
// Submit and watch for transaction progress.
let sub = client.rpc().submit_extrinsic(encoded_extrinsic).await?;
let watcher = TxProgress::new(sub, client, ext_hash);*/
println!("extrinsic encoded: {}", hex::encode(extrinsic.encoded()));
//println!("extrinsic encoded: {}", hex::encode(extrinsic.encoded()));
let watcher = extrinsic.submit_and_watch().await?;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment