Skip to content
Snippets Groups Projects
Unverified Commit ea495859 authored by bgallois's avatar bgallois
Browse files

update to subxt-v0.38

parent 9c150dcf
No related branches found
No related tags found
1 merge request!288Upgrade polkadot v1.16.2
......@@ -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;
......
......@@ -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>;
......
......@@ -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>;
......
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