Skip to content

Commit

Permalink
Update Polkadot extrinsic encoding to support new spec for Acala
Browse files Browse the repository at this point in the history
  • Loading branch information
doom committed Nov 13, 2024
1 parent 6be89c9 commit 55660ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Polkadot/Extrinsic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 55660ec

Please sign in to comment.