Skip to content

Commit 2dbdc03

Browse files
authored
minor clarifications to state diff commitment in blocks (#1699)
1 parent cc409e0 commit 2dbdc03

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

modules/architecture/pages/blocks.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,13 @@ h(
122122
Where:
123123

124124
- `h` is the Poseidon hash function
125+
- `s` is the number of deployed contracts
126+
- `r` is the number of contracts whose class was replaced
127+
- `d` is the number of declared classes
125128
- `1` and `0` are placeholders that may be used in the future
126-
- `c~i~,k~i,1~, v~i,1~, ... , k~i,m^i^~,v~i,m^i^~` are `m^i^` updates `(k~i,1~, v~i,1~), ... ,(k~i,m^i^~, v~i,m^i^~)` to contract addresses `c~i~`
129+
- `n` is the number of contracts whose storage was updated
130+
- `c~i~,k~i,1~, v~i,1~, ... , k~i,m^i^~,v~i,m^i^~` are `m^i^` updates `(k~i,1~, v~i,1~), ... ,(k~i,m^i^~, v~i,m^i^~)` to contract address `c~i~` (where `k~i,1~, ... , k~i,m^i^~` are the keys and `v~i,1~, ... , v~i,m^i^~` are the new values)
131+
- `k` is the number of accounts whose nonce was updated
127132

128133
== Transactions, events, and receipts commitments
129134
The commitment to transactions, the commitment to events and the commitment to receipts are all roots of height-64 binary Merkle Patricia tries where the leaf at index `i` corresponds to:

0 commit comments

Comments
 (0)