Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add ResourceMetering contract configuration checks #871

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,13 @@ the following privilege grants and role designations:
than the legacy `L2OutputOracle` contract.
5. Trusted system config. For example, `OptimismPortalProxy`
specifies the system config they trust to get resource config
from. TODO(issues/37): add checks for the `ResourceMetering`
contract.
from. The `ResourceMetering` contract must be configured with:
- `max_resource_limit` set to 20000000
- `elasticity_multiplier` set to 10
- `base_fee_max_change_denominator` set to 8
- `minimum_base_fee` set to 1000000000
- `system_tx_max_gas` set to 1000000
- `maximum_base_fee` set to 340282366920938463463374607431768211455
3. Optimism privileged operational roles:
1. Guardians. This is the role that can pause withdrawals in the
Optimism protocol.
Expand Down