You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/zkEVM/architecture/proving-system/processing-l2-blocks.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ Polygon zkEVM therefore stores the state root after processing each transaction.
87
87
88
88
In each case the state root is stored in a designated slot: The slot 1 of the `0x5ca1ab1e` smart contract, as illustrated in the figure below.
89
89
90
-
With this approach, the state root is stored as many times as there are transactions in a batch, resulting in accurate monitoring of the entire batch processing at transaction level.
90
+
With this approach, the state root is stored for each transaction within a batch, allowing for precise monitoring of the entire batch processing at the transaction level.
91
91
92
92
### L2 BLOCKHASH
93
93
@@ -167,7 +167,7 @@ In the RPC, the method [`zkevm_getNativeBlockHashesInRange`](https://github.com/
167
167
168
168
## Etrog upgrade (Fork-ID 6)
169
169
170
-
In the zkEVM Etrog, similarly to the Ethereum setting though not exactly, more data related to the L2 block processing is secured via the `0x5ca1ab1e` smart contract.
170
+
In the zkEVM Etrog, similar to the Ethereum setting but not identical, additional data related to the L2 block processing is secured via the `0x5ca1ab1e` smart contract.
171
171
172
172
In particular, the L2 system smart contract `0x5ca1ab1e` stores, in:
173
173
@@ -201,7 +201,7 @@ $$
201
201
\texttt{txData} = \texttt{(nonce,gasPrice, gasLimit, to, value, data, from)}
202
202
$$
203
203
204
-
But each L2 transaction data is stored in terms of its cryptographic representative as follows:
204
+
But each L2 transaction's data is stored as its cryptographic representation as follows:
@@ -346,7 +346,7 @@ Next, the system starts processing a new block, which starts with the `changeL2B
346
346
347
347
The proving system provides the $\mathtt{oldStateRoot = SR_{k−1}}$, and the initial step of processing a block in the ROM is to record it in the `0x5ca1ab1e` smart contract.
348
348
349
-
Subsequently, yet in contrast to what happened in Dragonfruit upgrade, every transaction containing the BLOCKHASH opcode now provides the correct state root, $\mathtt{SR_{k−1}}$.
349
+
Subsequently, and in contrast to what happened in Dragonfruit upgrade, every transaction containing the BLOCKHASH opcode now provides the correct state root, $\mathtt{SR_{k−1}}$.
350
350
351
351
As shown in the figure below, while transactions within the block are processed, the zkEVM not only updates the L2 state but also adds the information to the $\mathtt{BlockInfoTree}$.
0 commit comments