bd2d665c4e
- Fix serde optional dependency issues by adding dep:serde to serde features (24 crates) - Run zepter to propagate runtime-benchmarks, std, try-runtime, serde, experimental, with-tracing, tuples-96 features - Regenerate umbrella crate with proper feature propagation - Format all TOML files with taplo This resolves check-umbrella and check-zepter CI failures.
Verify Signature Module
A module that provides a TransactionExtension that validates a signature against a payload and
authorizes the origin.
Overview
This module serves two purposes:
VerifySignature: ATransactionExtensionthat checks the provided signature against a payload constructed through hashing the inherited implication withblake2b_256. If the signature is valid, then the extension authorizes the origin as signed. The extension can be disabled, or passthrough, allowing users to use other extensions to authorize different origins other than the traditionally signed origin.- Benchmarking: The extension is bound within a pezpallet to leverage the benchmarking functionality in
FRAME. The
SignatureandSignertypes are specified in the pezpallet configuration and a benchmark helper trait is used to create a signature which is then validated in the benchmark.
License: Apache-2.0