diff --git a/rust/chains/tw_polkadot/src/entry.rs b/rust/chains/tw_polkadot/src/entry.rs index 21d893761b8..c120fda2c31 100644 --- a/rust/chains/tw_polkadot/src/entry.rs +++ b/rust/chains/tw_polkadot/src/entry.rs @@ -21,6 +21,7 @@ use crate::call_encoder::CallEncoder; fn require_check_metadata(network_id: NetworkId, spec_version: u32) -> bool { match network_id { NetworkId::POLKADOT | NetworkId::KUSAMA if spec_version >= 1_002_005 => true, + NetworkId::ACALA if spec_version >= 2_270 => true, _ => false, } } diff --git a/rust/tw_ss58_address/src/lib.rs b/rust/tw_ss58_address/src/lib.rs index f61572669e8..8abab1ae02f 100644 --- a/rust/tw_ss58_address/src/lib.rs +++ b/rust/tw_ss58_address/src/lib.rs @@ -19,6 +19,7 @@ pub struct NetworkId(u16); impl NetworkId { pub const POLKADOT: Self = Self::new_unchecked(0); pub const KUSAMA: Self = Self::new_unchecked(2); + pub const ACALA: Self = Self::new_unchecked(10); pub const POLYMESH: Self = Self::new_unchecked(12); pub const GENERIC_SUBSTRATE: Self = Self::new_unchecked(42); }