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
6e877942
Commit
6e877942
authored
Mar 28, 2023
by
Mark Tyneway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update specs/proposals.md
Co-authored-by:
refcell.eth
<
abigger87@gmail.com
>
parent
6f30e283
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
proposals.md
specs/proposals.md
+5
-5
No files found.
specs/proposals.md
View file @
6e877942
...
@@ -38,8 +38,8 @@ are part of later specification milestones.
...
@@ -38,8 +38,8 @@ are part of later specification milestones.
## Proposing L2 Output Commitments
## Proposing L2 Output Commitments
The proposer's role is to construct and submit output roots, which are commitments to the L2's state,
The proposer's role is to construct and submit output roots, which are commitments to the L2's state,
to the
`L2OutputOracle`
contract
running on L1. It does this by running the
[
L2 output proposer
](
../op-proposer/
)
,
to the
`L2OutputOracle`
contract
on L1 (the settlement layer). It does this by running the
a service which periodically queries the rollup node's
[
L2 output proposer
](
../op-proposer/
)
,
a service which periodically queries the rollup node's
[
`optimism_outputAtBlock` rpc method
](
./rollup-node.md#l2-output-rpc-method
)
for the latest output root derived
[
`optimism_outputAtBlock` rpc method
](
./rollup-node.md#l2-output-rpc-method
)
for the latest output root derived
from the latest
[
finalized
](
rollup-node.md#finalization-guarantees
)
L1 block. The construction of this output root is
from the latest
[
finalized
](
rollup-node.md#finalization-guarantees
)
L1 block. The construction of this output root is
described
[
below
](
#l2-output-commitment-construction
)
.
described
[
below
](
#l2-output-commitment-construction
)
.
...
@@ -56,8 +56,8 @@ account continues to submit output proposals over time to ensure that user withd
...
@@ -56,8 +56,8 @@ account continues to submit output proposals over time to ensure that user withd
The
[
L2 output proposer
](
../op-proposer
)
is expected to submit output roots on a deterministic
The
[
L2 output proposer
](
../op-proposer
)
is expected to submit output roots on a deterministic
interval based on the configured
`SUBMISSION_INTERVAL`
in the
`L2OutputOracle`
. The larger
interval based on the configured
`SUBMISSION_INTERVAL`
in the
`L2OutputOracle`
. The larger
the
`SUBMISSION_INTERVAL`
, the less often L1 transactions need to be sent to the
`L2OutputOracle`
the
`SUBMISSION_INTERVAL`
, the less often L1 transactions need to be sent to the
`L2OutputOracle`
contract, but L2 users will need to wait a bit longer for an output root to be included in L1
that
contract, but L2 users will need to wait a bit longer for an output root to be included in L1
(the settlement layer)
includes their intention to withdrawal from the system.
that
includes their intention to withdrawal from the system.
The honest
`op-proposer`
algorithm assumes a connection to the
`L2OutputOracle`
contract to know
The honest
`op-proposer`
algorithm assumes a connection to the
`L2OutputOracle`
contract to know
the L2 block number that corresponds to the next output proposal that must be submitted. It also
the L2 block number that corresponds to the next output proposal that must be submitted. It also
...
@@ -88,7 +88,7 @@ either via fault proof or by an attestation proof, then the bond can be slashed
...
@@ -88,7 +88,7 @@ either via fault proof or by an attestation proof, then the bond can be slashed
payment to the users who paid for gas to remove the malicious output.
payment to the users who paid for gas to remove the malicious output.
The
`op-proposer`
can still be used to submit output proposals. A naive implementation of the
The
`op-proposer`
can still be used to submit output proposals. A naive implementation of the
`op-proposer`
will still submit output proposals on an interval. A
n
more ideal implementation
`op-proposer`
will still submit output proposals on an interval. A more ideal implementation
will use heuristics such as time of last submission or number of pending withdrawals that have
will use heuristics such as time of last submission or number of pending withdrawals that have
yet to be included in an output proposal.
yet to be included in an output proposal.
...
...
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