use subxt::{
Config,
config::{
polkadot::PolkadotExtrinsicParams,
substrate::{BlakeTwo256, SubstrateHeader},
},
};
pub type Header = SubstrateHeader<u32, BlakeTwo256>;
#[derive(Clone, Debug)]
pub struct GearConfig;
impl Config for GearConfig {
type AssetId = ();
type Hasher = BlakeTwo256;
type AccountId = sp_runtime::AccountId32;
type Address = sp_runtime::MultiAddress<Self::AccountId, ()>;
type Header = Header;
type Signature = sp_runtime::MultiSignature;
type ExtrinsicParams = PolkadotExtrinsicParams<Self>;
}