diff --git a/core/src/config/polkadot.rs b/core/src/config/polkadot.rs index 7f4e3a88f9..160c25a2df 100644 --- a/core/src/config/polkadot.rs +++ b/core/src/config/polkadot.rs @@ -17,14 +17,22 @@ pub use primitive_types::{H256, U256}; pub enum PolkadotConfig {} impl Config for PolkadotConfig { - type Hash = ::Hash; - type AccountId = ::AccountId; - type Address = MultiAddress; - type Signature = ::Signature; - type Hasher = ::Hasher; - type Header = ::Header; + // coming from: System::Config + type Hash = ::Hash; // Done + type AccountId = ::AccountId; // Done + type Hasher = ::Hasher; // Done + + // coming from ::Extrinsic type + type Address = MultiAddress; // Done + type Signature = ::Signature; // Done + + // coming from ::Header type + type Header = ::Header; // Done + type ExtrinsicParams = PolkadotExtrinsicParams; - type AssetId = u32; + + // coming from Assets::Config (interested in foreign Assets specifically) + type AssetId = u32; // Done } /// A struct representing the signed extra and additional parameters required