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
ac5b061d
Unverified
Commit
ac5b061d
authored
Mar 22, 2024
by
smartcontracts
Committed by
GitHub
Mar 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(sdk): update SDK to support multiple withdrawal proofs (#9951)
parent
90147ac1
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
209 additions
and
94 deletions
+209
-94
slimy-ducks-promise.md
.changeset/slimy-ducks-promise.md
+5
-0
cross-chain-messenger.ts
packages/sdk/src/cross-chain-messenger.ts
+188
-92
types.ts
packages/sdk/src/interfaces/types.ts
+16
-2
No files found.
.changeset/slimy-ducks-promise.md
0 → 100644
View file @
ac5b061d
---
'
@eth-optimism/sdk'
:
minor
---
Updates SDK for FPAC proven withdrawals mapping.
packages/sdk/src/cross-chain-messenger.ts
View file @
ac5b061d
This diff is collapsed.
Click to expand it.
packages/sdk/src/interfaces/types.ts
View file @
ac5b061d
...
...
@@ -258,14 +258,28 @@ export interface MessageReceipt {
}
/**
* ProvenWithdrawal in OptimismPortal
* ProvenWithdrawal in OptimismPortal
.
*/
export
interface
ProvenWithdrawal
{
export
interface
Legacy
ProvenWithdrawal
{
outputRoot
:
string
timestamp
:
BigNumber
l2BlockNumber
:
BigNumber
}
/**
* ProvenWithdrawal in OptimismPortal (FPAC).
*/
export
interface
FPACProvenWithdrawal
{
proofSubmitter
:
string
disputeGameProxy
:
string
timestamp
:
BigNumber
}
/**
* ProvenWithdrawal in OptimismPortal (FPAC or Legacy).
*/
export
type
ProvenWithdrawal
=
LegacyProvenWithdrawal
|
FPACProvenWithdrawal
/**
* Header for a state root batch.
*/
...
...
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