Block a user
End to end: three tiers of proof, ending in a real transfer in a real block
The negative cases pass
scripts/tier1/cases.mjs, against Heisenberg at spec 148:
PASS the empty signing context is rejected — 1010: Invalid Transaction: Transaction has a bad…
End to end: three tiers of proof, ending in a real transfer in a real block
Tier 2: built, and the extension's own signing path is now on
Tier 2: built, and the extension's own signing path is now on @quantus/codec
Two pieces landed.
The extension signs its own payload now
Tier 1 proved the crypto in a script that used…
Sign with mortal eras, not immortal ones
@quantus/codec: storage keys and values, so the wallet can read balances and nonces
Decide whether @polkadot/types needs patching for DilithiumSignatureScheme, or whether registry overrides suffice
Decide whether @polkadot/types needs patching for DilithiumSignatureScheme, or whether registry overrides suffice
Resolved, by removal
@quantus/codec (quantus/wasm#3) landed and quantus/extension#7 tier 1 now signs a balances.transfer_keep_alive that Heisenberg accepts and includes — block…
End to end: three tiers of proof, ending in a real transfer in a real block
Tier 1 passes. The fork can spend.
scripts/tier1/submit.mjs, against Heisenberg (wss://a1-heisenberg.quantus.cat):
signer qzk1Nxai3dZD9Cn5kwGcgL6mKxsfxwqdis7kDQJ52aJS2vSn7
chain …
@quantus/codec: encode and decode against the runtime's own metadata, not a hand-written codec
Decide whether @polkadot/types needs patching for DilithiumSignatureScheme, or whether registry overrides suffice
Answer: neither.
Answer: neither. @polkadot/api's codec cannot be the encode/decode path at all.
Tested directly against Heisenberg (spec 148, genesis 0xa5aa9e5c…c8d3b4f) with a tier-1 harness that signs…
Signing: choose the context from specVersion, and return sig ‖ pk for raw bytes
Done, on quantus-accounts (7fa26252). 79 tests pass; typecheck, lint and build:chrome clean.
The plumbing question this issue posed
the context then has to travel through `ExtrinsicPay…