Skip to content

Commit

Permalink
docs: optimistic mode permissionless proving warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Dec 19, 2024
1 parent e795254 commit 0155667
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions book/advanced/toggle-optimistic.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ When optimistic mode is enabled, the `OPSuccinctL2OutputOracle`'s `proposeL2Outp

## Enable Optimistic Mode

> **Warning**: If you had permissionless proving enabled in non-optimistic (OP Succinct) mode, ensure that `address(0)` is set to false in the `approvedProposers` mapping before enabling optimistic mode. If `address(0)` remains approved, any account will be able to submit outputs without verification in optimistic mode.
To enable optimistic mode, call the `enableOptimisticMode` function on the `OPSuccinctL2OutputOracle` contract.

```solidity
Expand Down

0 comments on commit 0155667

Please sign in to comment.