Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions prdoc/pr_10390.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title: 'UncheckedExtrinsic: Ensure that encoding leads to same bytes an ext was decoded
from'
doc:
- audience: Runtime Dev
description: |-
This pull request ensures that when decoding an `UncheckedExtrinsic` from a certain byte string, it also encodes to the same byte string. This is achieved by keeping the original bytes used to decode the `call` around and then directly encode these.
crates:
- name: sp-runtime
bump: major
3 changes: 2 additions & 1 deletion substrate/primitives/runtime/src/generic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ pub use self::{
era::{Era, Phase},
header::Header,
unchecked_extrinsic::{
ExtensionVersion, Preamble, SignedPayload, UncheckedExtrinsic, EXTRINSIC_FORMAT_VERSION,
CallAndMaybeEncoded, ExtensionVersion, Preamble, SignedPayload, UncheckedExtrinsic,
EXTRINSIC_FORMAT_VERSION,
},
};
pub use unchecked_extrinsic::UncheckedSignaturePayload;
Loading
Loading