Add integrity check for signed extensions (#1780)

* Add integrity check for signed extensions

* Remove unneeded type specification
This commit is contained in:
Serban Iorga
2023-01-18 12:47:20 +02:00
committed by Bastian Köcher
parent 4cdb85247e
commit 2ff3a7aa38
13 changed files with 64 additions and 19 deletions
+4 -4
View File
@@ -266,7 +266,7 @@ impl PolkadotSignedExtension for DefaultSignedExtension {
(), // Check weight
tip.into(), // transaction payment / tip (compact encoding)
),
(
Some((
(),
spec_version,
transaction_version,
@@ -275,7 +275,7 @@ impl PolkadotSignedExtension for DefaultSignedExtension {
(),
(),
(),
),
)),
)
}
@@ -326,7 +326,7 @@ impl PolkadotSignedExtension for BridgeSignedExtension {
tip.into(), // transaction payment / tip (compact encoding)
(), // bridge reject obsolete headers and msgs
),
(
Some((
(),
spec_version,
transaction_version,
@@ -336,7 +336,7 @@ impl PolkadotSignedExtension for BridgeSignedExtension {
(),
(),
(),
),
)),
)
}