Skip to content

Commit 112857d

Browse files
authored
Update docs/zkEVM/architecture/high-level/smart-contracts/verification.md
1 parent c4b03d1 commit 112857d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zkEVM/architecture/high-level/smart-contracts/verification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ This internal function calculates the inputSnark bytes value, which is a `(SHA25
2828

2929
Next, in the `_verifyAndRewardBatches` helper function, the code reverts if the proof does not verify successfully. Otherwise, the code pays POL rewards to the beneficiary.
3030

31-
The function then updates the state and calls `rollup.rollupContract.onVerifyBatches(...)` which is a callback into the rollup consensus contract to allow for customizable behavior. `onVerifyBatches(...)` takes the new state root and final batch, and emits a `VerifyBatches(...)` event.
31+
The function then updates the state and calls `rollup.rollupContract.onVerifyBatches(...)`, which is a callback into the rollup consensus contract, allowing for customizable behavior. `onVerifyBatches(...)` takes the new state root and final batch, and emits a `VerifyBatches(...)` event.
3232

3333
The command flow returns to the `verifyBatchesTrustedAggregator` function which consolidates and updates the state with the `newStateRoot` and the new `localExitRoot` and calls the `updateExitRoot(...)` function on the `GlobalExitRootManager` contract passing the rollup's updated exit root.

0 commit comments

Comments
 (0)