Skip to content

Commit df088ff

Browse files
committed
docs(fast-inbox): describe the inbox rolling-hash mechanism without a spec reference (A-1378)
1 parent d5b004d commit df088ff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

l1-contracts/src/core/interfaces/messagebridge/IInbox.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interface IInbox {
2828
* fixed-size ring indexed by a dense bucket sequence number (`seq % ringSize`). A bucket only accumulates
2929
* messages sent within a single L1 block, so its final state is the chain position as of the end of that
3030
* block; the censorship check at `propose` compares the checkpoint header's rolling hash against these
31-
* snapshots (AZIP-22 Fast Inbox).
31+
* snapshots.
3232
*/
3333
struct InboxBucket {
3434
// Rolling hash after the last message absorbed into this bucket. Each link is

l1-contracts/src/core/libraries/crypto/Hash.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ library Hash {
5353
/**
5454
* @notice Advances the Inbox consensus rolling hash by one message leaf
5555
* @dev Truncated at every link so the value is always a field element; the rollup circuits recompute the
56-
* identical chain over the message leaves they insert (AZIP-22 Fast Inbox). The genesis value is zero.
56+
* identical chain over the message leaves they insert. The genesis value is zero.
5757
* @param _rollingHash - The current rolling hash
5858
* @param _leaf - The message leaf to absorb
5959
* @return The updated rolling hash

0 commit comments

Comments
 (0)