Skip to content

Commit 42da857

Browse files
committed
docs(fast-inbox): mirror the same-block l1ToL2TreeSnapshot semantics in the TS BlockConstantData (A-1432)
1 parent 3b37c67 commit 42da857

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

yarn-project/stdlib/src/rollup/block_constant_data.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ export class BlockConstantData {
1313
/** Archive tree snapshot at the very beginning of the entire rollup. */
1414
public lastArchive: AppendOnlyTreeSnapshot,
1515
/**
16-
* L1-to-L2 message tree snapshot after this block lands.
17-
* For the first block in a checkpoint, this should be the snapshot after inserting the new l1-to-l2 message subtree
18-
* into the last l1-to-l2 tree snapshot in `last_archive`.
19-
* For subsequent blocks, this should match the snapshot of the previous block.
16+
* L1-to-L2 message tree snapshot after this block's own message bundle has been inserted. The AVM validates this
17+
* block's l1-to-l2 message read requests against it, so a tx in this block can read the messages this block
18+
* inserts (same-block consumption). Every block-root variant that carries txs asserts this equals its computed
19+
* post-bundle root, whether or not the block is the first in its checkpoint.
2020
*/
2121
public l1ToL2TreeSnapshot: AppendOnlyTreeSnapshot,
2222
/** Root of the verification key tree. */

0 commit comments

Comments
 (0)