Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
903437d1
Commit
903437d1
authored
Nov 23, 2022
by
0xYYY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: fix spec typos
parent
c3235dfb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
introduction.md
specs/introduction.md
+4
-4
overview.md
specs/overview.md
+2
-2
rollup-node.md
specs/rollup-node.md
+1
-1
No files found.
specs/introduction.md
View file @
903437d1
...
...
@@ -60,13 +60,13 @@ In order to scale Ethereum without sacrificing security, we must preserve 3 crit
liveness, availability, and validity.
1.
**Liveness**
- Anyone must be able to extend the rollup chain by sending transactions at any time.
-
There are two ways transactions can be sent to the rollup chain: 1) via the sequencer, and 2) directly on layer
2.
The sequencer provides low latency & low cost transactions, while sending transactions directly to layer 1 provides
-
There are two ways transactions can be sent to the rollup chain: 1) via the sequencer, and 2) directly on layer
1.
The sequencer provides low latency & low cost transactions, while sending transactions directly to layer 1 provides
censorship resistance.
3
.
**Availability**
- Anyone must be able to download the rollup chain.
2
.
**Availability**
- Anyone must be able to download the rollup chain.
-
All information required to derive the chain is embedded into layer 1 blocks. That way as long as the layer 1
chain is available, so is the rollup.
4
.
**Validity**
- All transactions must be correctly executed and all withdrawals correctly processed.
3
.
**Validity**
- All transactions must be correctly executed and all withdrawals correctly processed.
-
The rollup state and withdrawals are managed on an L1 contract called the
`L2 State Oracle`
. This oracle is
guaranteed to _only_ finalize correct (ie. valid) rollup block hashes given a
**single honest verifier**
assumption. If
there is ever an invalid block hash asserted on layer 1, an honest verifier will prove it is invalid and win a bond.
...
...
specs/overview.md
View file @
903437d1
...
...
@@ -26,7 +26,7 @@ This document assumes you've read the [introduction](./introduction.md).
## Architecture Design Goals
-
**Execution-Level EVM Equivalence:**
The developer experience should be identical to L
2
except where L2 introduces a
-
**Execution-Level EVM Equivalence:**
The developer experience should be identical to L
1
except where L2 introduces a
fundamental difference.
-
No special compiler.
-
No unexpected gas costs.
...
...
@@ -137,7 +137,7 @@ Optimism's block derivation function is designed such that it:
The rollup chain is subdivided into epochs. There is a 1:1 correspondence between L1 block numbers and epoch numbers.
For L1 block number
`n`
, there is a corresponding rollup epoch
`n`
which can only be derived after a _sequencing window_
worth of blocks haspassed, i.e. after L1 block number
`n + SEQUENCING_WINDOW_SIZE`
is added to the L1 chain.
worth of blocks has
passed, i.e. after L1 block number
`n + SEQUENCING_WINDOW_SIZE`
is added to the L1 chain.
Each epoch contains at least one block. Every block in the epoch contains an L1 info transaction which contains
contextual information about L1 such as the block hash and timestamp. The first block in the epoch also contains all
...
...
specs/rollup-node.md
View file @
903437d1
...
...
@@ -72,4 +72,4 @@ The input and return types here are as defined by the [engine API specs][engine-
OR
`String`
- one of
`"safe"`
,
`"latest"`
, or
`"pending"`
.
-
returns:
1.
`version`
:
`DATA`
, 32 Bytes - the output root version number, beginning with 0.
1.
`l2OutputRoot`
:
`DATA`
, 32 Bytes - the output root
2.
`l2OutputRoot`
:
`DATA`
, 32 Bytes - the output root.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment