EIP-8141 frame transaction constants and types.
Targets, signers, and signed messages are typed: [FrameAddress] distinguishes an omitted
address from an explicit one and [SignatureMessage] distinguishes the canonical transaction
hash from an explicit digest. Decoding rejects malformed lengths and the reserved zero digest
but not the remaining signature constraints: call [FrameSignature::validate_structure] or
[FrameSignature::validate_structure_with_sender] before cryptographic verification.
The serde feature encodes protocol discriminants and gas counters as hex quantities, and
optional addresses and signature messages as hex byte strings (empty values are "0x").
use ;
use ;
// Construct a structurally valid entry; the signature still needs cryptographic verification.
let signature = new;
let entry = from_secp256k1?;
assert!;
assert_eq!;
# Ok::