Add changelog entry and tweak comment

This commit is contained in:
James Wilson
2024-10-22 12:32:56 +01:00
parent 480d7d1597
commit 61b9545288
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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
+1 -1
View File
@@ -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[..])?;