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
46a7f1f0
Unverified
Commit
46a7f1f0
authored
Feb 03, 2023
by
mergify[bot]
Committed by
GitHub
Feb 03, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4838 from ethereum-optimism/seb/fix-spec-withdrawals
specs: Fix typo & link in withdrawals section
parents
42421ce9
3202f0ae
Changes
1
Show 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 @
46a7f1f0
...
@@ -133,8 +133,8 @@ The Optimism Portal serves as both the entry and exit point to the Optimism L2.
...
@@ -133,8 +133,8 @@ The Optimism Portal serves as both the entry and exit point to the Optimism L2.
the
[
DepositFeed
](
./deposits.md#deposit-contract
)
contract, and in addition provides the following interface for
the
[
DepositFeed
](
./deposits.md#deposit-contract
)
contract, and in addition provides the following interface for
withdrawals:
withdrawals:
-
[
WithdrawalTransaction type
](
https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/contracts/libraries/Types.sol#L46-L56
)
-
[
`WithdrawalTransaction` type
](
https://github.com/ethereum-optimism/optimism/blob/6c6d142d7bb95faa11066aab5d8aed7187abfe38/packages/contracts-bedrock/contracts/libraries/Types.sol#L76-L83
)
-
[
OutputRootProof type
](
https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/contracts/libraries/Types.sol#L20-L29
)
-
[
`OutputRootProof` type
](
https://github.com/ethereum-optimism/optimism/blob/6c6d142d7bb95faa11066aab5d8aed7187abfe38/packages/contracts-bedrock/contracts/libraries/Types.sol#L33-L38
)
```
js
```
js
interface
OptimismPortal
{
interface
OptimismPortal
{
...
@@ -184,7 +184,7 @@ These inputs must satisfy the following conditions:
...
@@ -184,7 +184,7 @@ These inputs must satisfy the following conditions:
### Key Properties of Withdrawal Verification
### Key Properties of Withdrawal Verification
1.
It should not be possible 'double spend' a withdrawal, ie. to relay a withdrawal on L1 which does not
1.
It should not be possible
to
'double spend' a withdrawal, ie. to relay a withdrawal on L1 which does not
correspond to a message initiated on L2. For reference, see
[
this writeup
][
polygon-dbl-spend
]
of a vulnerability
correspond to a message initiated on L2. For reference, see
[
this writeup
][
polygon-dbl-spend
]
of a vulnerability
of this type found on Polygon.
of this type found on Polygon.
...
...
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