From ea495859ee1b79354fdd22ddf52db219fbf9cb54 Mon Sep 17 00:00:00 2001 From: bgallois <benjamin@gallois.cc> Date: Thu, 14 Nov 2024 18:13:43 +0100 Subject: [PATCH] update to subxt-v0.38 --- distance-oracle/src/api.rs | 2 +- distance-oracle/src/lib.rs | 2 +- end2end-tests/tests/common/mod.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/distance-oracle/src/api.rs b/distance-oracle/src/api.rs index abb6e96b8..16f98a61b 100644 --- a/distance-oracle/src/api.rs +++ b/distance-oracle/src/api.rs @@ -19,7 +19,7 @@ use crate::runtime; use log::debug; -use sp_core::H256; +use subxt::utils::H256; pub type Client = subxt::OnlineClient<crate::RuntimeConfig>; pub type AccountId = subxt::utils::AccountId32; diff --git a/distance-oracle/src/lib.rs b/distance-oracle/src/lib.rs index 895b5491d..b2b25f1c5 100644 --- a/distance-oracle/src/lib.rs +++ b/distance-oracle/src/lib.rs @@ -42,7 +42,7 @@ impl subxt::config::Config for RuntimeConfig { type Address = subxt::ext::sp_runtime::MultiAddress<Self::AccountId, u32>; type AssetId = (); type ExtrinsicParams = subxt::config::substrate::SubstrateExtrinsicParams<Self>; - type Hash = sp_core::H256; + type Hash = subxt::utils::H256; type Hasher = subxt::config::substrate::BlakeTwo256; type Header = subxt::config::substrate::SubstrateHeader<u32, subxt::config::substrate::BlakeTwo256>; diff --git a/end2end-tests/tests/common/mod.rs b/end2end-tests/tests/common/mod.rs index 6ed0e8375..5f8230da5 100644 --- a/end2end-tests/tests/common/mod.rs +++ b/end2end-tests/tests/common/mod.rs @@ -59,7 +59,7 @@ impl subxt::config::Config for GdevConfig { type Address = sp_runtime::MultiAddress<Self::AccountId, u32>; type AssetId = (); type ExtrinsicParams = SubstrateExtrinsicParams<Self>; - type Hash = sp_core::H256; + type Hash = subxt::utils::H256; type Hasher = subxt::config::substrate::BlakeTwo256; type Header = subxt::config::substrate::SubstrateHeader<u32, subxt::config::substrate::BlakeTwo256>; -- GitLab