Skip to content

Commit

Permalink
Merge pull request #4838 from ethereum-optimism/seb/fix-spec-withdrawals
Browse files Browse the repository at this point in the history
specs: Fix typo & link in withdrawals section
  • Loading branch information
mergify[bot] authored Feb 3, 2023
2 parents 42421ce + 3202f0a commit 46a7f1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specs/withdrawals.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
withdrawals:
- [WithdrawalTransaction type](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/contracts/libraries/Types.sol#L46-L56)
- [OutputRootProof type](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/contracts/libraries/Types.sol#L20-L29)
- [`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/6c6d142d7bb95faa11066aab5d8aed7187abfe38/packages/contracts-bedrock/contracts/libraries/Types.sol#L33-L38)
```js
interface OptimismPortal {
Expand Down Expand Up @@ -184,7 +184,7 @@ These inputs must satisfy the following conditions:
### 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
of this type found on Polygon.
Expand Down

0 comments on commit 46a7f1f

Please sign in to comment.