mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 21:11:07 +00:00
Add changelog entry and tweak comment
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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[..])?;
|
||||
|
||||
Reference in New Issue
Block a user