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
d585586d
Unverified
Commit
d585586d
authored
Apr 17, 2023
by
Ori Pomerantz
Committed by
GitHub
Apr 17, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(specs/withdrawals)
Bring more in line with the code.
parent
53bac662
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
withdrawals.md
specs/withdrawals.md
+3
-3
No files found.
specs/withdrawals.md
View file @
d585586d
...
...
@@ -175,14 +175,14 @@ The following inputs are required to prove and finalize a withdrawal:
-
`data`
: Data to send to the target.
-
`gasLimit`
: Gas to be forwarded to the target.
-
Proof and verification data:
-
`l2
BlockNumber`
: The L2 block number that corresponds to the output root
.
-
`l2
OutputIndex`
: The index in the L2 outputs where the applicable output root may be found
.
-
`outputRootProof`
: Four
`bytes32`
values which are used to derive the output root.
-
`withdrawalProof`
: An inclusion proof for the given withdrawal in the L2ToL1MessagePasser contract.
These inputs must satisfy the following conditions:
1.
The
`l2
BlockNumber`
must be the block number that corresponds to the
`OutputProposal`
being proven.
1.
`L2OutputOracle.getL2Output(l2
BlockNumber
)`
returns a non-zero
`OutputProposal`
.
1.
The
`l2
OutputIndex`
must be the index in the L2 outputs that contains the applicable output root.
1.
`L2OutputOracle.getL2Output(l2
OutputIndex
)`
returns a non-zero
`OutputProposal`
.
1.
The keccak256 hash of the
`outputRootProof`
values is equal to the
`outputRoot`
.
1.
The
`withdrawalProof`
is a valid inclusion proof demonstrating that a hash of the Withdrawal transaction data
is contained in the storage of the L2ToL1MessagePasser contract on L2.
...
...
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