File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ title: 'Snowbridge: drop outbound-queue-v2 message leaves from state'
2+ doc:
3+ - audience: Runtime Dev
4+ description: |-
5+ The `outbound-queue-v2` pallet stored the per-message merkle leaves in the `MessageLeaves` storage value
6+ and only cleared them at the start of the next block, so the leaves persisted across blocks and were
7+ needlessly included in the PoV. They are only needed to build the commitment root and to generate proofs
8+ off-chain.
9+
10+ `MessageLeaves` is now truly transient: the leaves are still appended during block execution to build the
11+ merkle root, but the value is killed within the same block, right after the commitment is produced in
12+ `commit()`. The committed root inserted into the header digest is unchanged, so relayers and the
13+ Ethereum-side verification are unaffected. The `prove_message` runtime API keeps the same signature and now
14+ recomputes the leaves from `Messages` (read off-chain only).
15+ crates:
16+ - name: snowbridge-pallet-outbound-queue-v2
17+ bump: patch
You can’t perform that action at this time.
0 commit comments