Shared library
All three circuits share one library:- ECDSA: secp256k1 signature verification over the EIP-1559 signing hash
- RLP: rebuilding the typed transaction from its fields
- Poseidon2 T4: matching
Poseidon2T4Unrolledon-chain - LeanIMT: Merkle membership, up to depth 32
- Note: commitment, nullifier, encryption on Grumpkin (
GRUMPKIN_Bmust equal the contract’s constant)
Proving
1
Witness
The proxy assembles the signed transaction, the selected notes, their Merkle paths,
nk, and fresh randomness for outputs.2
Prove
Barretenberg produces an UltraHonk proof over BN254.
3
Preflight
The scheduler or relayer simulates the call against the current state before broadcasting.