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/json-rpc-to-proof.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,9 +112,7 @@ With this implementation approach, the sequencer needs to ensure that block cons
112
112
113
113
The sequencer can modify the timestamp of the various blocks in a batch by utilizing a specific transaction as a marker, dubbed `changeL2Block`.
114
114
115
-
This transaction is included in the batch to indicate a change from one block to the next
116
-
117
-
in blocks and is responsible for modifying the timestamp and the L2 block number.
115
+
This transaction is included in the batch to indicate a change from one block to the next, is responsible for modifying the timestamp and the L2 block number.
118
116
119
117
The figure below depicts the structure of the Etrog upgrade's batches.
120
118
@@ -132,9 +130,9 @@ The information is retrieved with the same RPC call as in Ethereum.
132
130
133
131
Users are less concerned with the transaction being in a block, and more with when the newly generated batch results in a state transition.
134
132
135
-
The zkEVM protocol has additional endpoints for retrieving various information pertaining to the status of the L2 block.
133
+
The zkEVM protocol has additional endpoints for retrieving various information pertaining to the state of the L2 block.
136
134
137
-
For example, the user may query whether a block is virtualized or not by using a specific endpoint as shown in the figure below.
135
+
For example, the user may query whether a block is in the virtual state or not by using a specific endpoint as shown in the figure below.
138
136
139
137

140
138
@@ -184,8 +182,7 @@ In the `validateTx()` function performs the following preliminary checks:
184
182
185
183
3. The transaction’s `chainID` is the same as the pool’s `chainID` (which is the `chainID` of the L2 Network) whenever `chainID` is not zero.
186
184
187
-
4. The transaction string has an encoding that is accepted by the zkEVM. (See the next subsection for more details on this encoding.)
188
-
185
+
4. The transaction string has an encoding that is accepted by the zkEVM. (See the [next subsection](./json-rpc-to-proof.md#zkevm-customized-transaction-encoding) for more details on this encoding.)
189
186
5. The transaction sender’s address can be correctly retrieved from the transaction, using the `ecRecover` algorithm.
190
187
191
188
6. The transaction size is not too large (more specifically, larger than 100132 bytes), to prevent DoS attacks.
0 commit comments