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
4c76f6b2
Unverified
Commit
4c76f6b2
authored
Jul 18, 2023
by
Wilson Cusack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hard to run tests locally, pushing to see
parent
c54d27d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
messageStatus.ts
packages/sdk/test-next/messageStatus.ts
+18
-0
No files found.
packages/sdk/test-next/messageStatus.ts
View file @
4c76f6b2
...
@@ -29,4 +29,22 @@ describe('prove message', () => {
...
@@ -29,4 +29,22 @@ describe('prove message', () => {
MessageStatus
.
RELAYED
MessageStatus
.
RELAYED
)
)
},
20
_000
)
},
20
_000
)
it
(
`should return null if not in block range`
,
async
()
=>
{
/**
* Tx hash of legacy withdrawal that was claimed
*
* @see https://goerli-optimism.etherscan.io/tx/0xda9e9c8dfc7718bc1499e1e64d8df6cddbabc46e819475a6c755db286a41b9fa
*/
const
txWithdrawalHash
=
'
0xda9e9c8dfc7718bc1499e1e64d8df6cddbabc46e819475a6c755db286a41b9fa
'
const
txReceipt
=
await
l2Provider
.
getTransactionReceipt
(
txWithdrawalHash
)
expect
(
txReceipt
).
toBeDefined
()
expect
(
await
crossChainMessenger
.
getMessageStatus
(
txWithdrawalHash
,
0
,
0
,
0
)).
toBe
(
MessageStatus
.
RELAYED
)
},
20
_000
)
})
})
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