Skip to content

Commit c4b03d1

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

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
@@ -26,7 +26,7 @@ This internal function calculates the inputSnark bytes value, which is a `(SHA25
2626
!!! note
2727
Using a `verifier` variable on the rollup object means the verifier implementation can be customized in the future.
2828

29-
Next in the `_verifyAndRewardBatches` helper function, if the proof does not verify successfully the code reverts. If the proof verifies successfully, the code pays POL rewards to the beneficiary.
29+
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

3131
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.
3232

0 commit comments

Comments
 (0)