Update to 2024 edition (#2001)

* Update to 2024 edition

* Update to 2024 edition; fmt, use<> and remove refs

* async functions
This commit is contained in:
James Wilson
2025-05-09 16:12:18 +01:00
committed by GitHub
parent 98c1d153b6
commit 23c62f3d5d
120 changed files with 399 additions and 322 deletions
@@ -3,20 +3,21 @@
// see LICENSE for license details.
use crate::{
TestClient, TestConfig, TestContext,
node_runtime::{
self,
contracts::events,
runtime_types::{pallet_contracts::wasm::Determinism, sp_weights::weight_v2::Weight},
system,
},
subxt_test, test_context, TestClient, TestConfig, TestContext,
subxt_test, test_context,
};
use subxt::ext::futures::StreamExt;
use subxt::{
Error,
config::{Config, HashFor},
tx::TxProgress,
utils::MultiAddress,
Error,
};
use subxt_signer::sr25519::{self, dev};
@@ -16,8 +16,8 @@ use crate::{
use assert_matches::assert_matches;
use subxt::error::{DispatchError, Error};
use subxt_signer::{
sr25519::{self, dev},
SecretUri,
sr25519::{self, dev},
};
/// Helper function to generate a crypto pair from seed