From 55660ec8b26663ac34d9ea06396b58dc4bd3cdd2 Mon Sep 17 00:00:00 2001 From: doom Date: Wed, 13 Nov 2024 16:24:46 +0100 Subject: [PATCH] Update Polkadot extrinsic encoding to support new spec for Acala --- src/Polkadot/Extrinsic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Polkadot/Extrinsic.cpp b/src/Polkadot/Extrinsic.cpp index b88e5e9a843..dcd0b31a308 100644 --- a/src/Polkadot/Extrinsic.cpp +++ b/src/Polkadot/Extrinsic.cpp @@ -390,7 +390,7 @@ Data Extrinsic::encodeIdentityAddAuthorization(const Proto::Identity::AddAuthori static bool requires_new_spec_compatbility(uint32_t network, uint32_t specVersion) noexcept { // version 1002005 introduces a breaking change for Polkadot and Kusama - return ((network == 0 || network == 2) && specVersion >= 1002005); + return ((network == 0 || network == 2) && specVersion >= 1002005) || (network == 10 && specVersion >= 2270); } Data Extrinsic::encodePayload() const {