diff --git a/CHANGELOG.md b/CHANGELOG.md index a32260734c..22d7efbade 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.37.1] - 2024-10-22 + +This patch release adds basic support for V5 extrinsics into `subxt-core`. We only bump `subxt-core` in this release; other crates should then take this patch automatically but you may need to `cargo update` to get the change. + ## [0.37.0] - 2024-05-28 This release mainly adds support for the sign extension `CheckMetadataHash` and fixes a regression introduced in v0.36.0 diff --git a/core/src/blocks/extrinsics.rs b/core/src/blocks/extrinsics.rs index 7734f3fb10..ca07df0f4b 100644 --- a/core/src/blocks/extrinsics.rs +++ b/core/src/blocks/extrinsics.rs @@ -174,7 +174,7 @@ where let bytes: Arc<[u8]> = strip_compact_prefix(extrinsic_bytes)?.1.into(); // Extrinsic are encoded in memory in the following way: - // - first byte: abbbbbbb (a = 0 for unsigned, 1 for signed, b = version) + // - first byte: aabbbbbb (a = 00 for unsigned, 10 for signed, 01 for general, b = version) // - signature: [unknown TBD with metadata]. // - extrinsic data let first_byte: u8 = Decode::decode(&mut &bytes[..])?;