This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Priorities
Nicolas Laurent edited this page Feb 9, 2022
·
1 revision
This page outlines the design priorities for Optimism Bedrock:
- Minimal diff from Geth aka EVM Equivalence
- JSON RPC is 1:1 with Ethereum in every way
- Minimal diff = less surface area for bugs + security vulnerabilities
- Opcodes are the same as L1, precompiles are the same
- No added features (E.g. ETH as an ERC20 actually added friction, added L1 block number opcode added friction)
- predeploys much better than opcodes
- Results in lighter weight docs, easier integration.
- Cheapest possible L2 txs (lowest L1 cost)
- Specifically, cheaper ETH transfers, ERC20, ERC721 txs
- Perpetual protocol: “Traders are telling us $2-3 is too high. We had to introduce a fee rebate”
- Cheapest possible deposits (lowest L1 gas usage)
- Should be as close to 21k gas for ETH and 50k gas for ERC20s as possible
- Fastest possible deposits
- Currently ~20 minutes, ideally <5 minutes
- Requires: sequencer re-org support
- TODO: Kevin what is an acceptable re-org frequency vs. time to deposit
- Cheapest possible withdrawals
- This is the lowest priority one
- Currently 500k per withdrawal, ideally drop down to <150k.