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
f90ff309
Unverified
Commit
f90ff309
authored
Jul 28, 2022
by
Mark Tyneway
Committed by
GitHub
Jul 28, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3129 from ethereum-optimism/fix/itests-modularize
integration-tests: modularize
parents
d1702add
d97df13a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
wet-doors-collect.md
.changeset/wet-doors-collect.md
+5
-0
queue-ingestion.spec.ts
integration-tests/test/queue-ingestion.spec.ts
+4
-5
No files found.
.changeset/wet-doors-collect.md
0 → 100644
View file @
f90ff309
---
'
@eth-optimism/integration-tests'
:
patch
---
Modularize the itests away from depending on api of messenger
integration-tests/test/queue-ingestion.spec.ts
View file @
f90ff309
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
import
{
providers
}
from
'
ethers
'
import
{
providers
}
from
'
ethers
'
import
{
applyL1ToL2Alias
}
from
'
@eth-optimism/core-utils
'
import
{
applyL1ToL2Alias
}
from
'
@eth-optimism/core-utils
'
import
{
asL2Provider
}
from
'
@eth-optimism/sdk
'
import
{
asL2Provider
}
from
'
@eth-optimism/sdk
'
import
{
getContractInterface
}
from
'
@eth-optimism/contracts
'
/* Imports: External */
/* Imports: External */
import
{
expect
}
from
'
./shared/setup
'
import
{
expect
}
from
'
./shared/setup
'
...
@@ -47,11 +48,9 @@ describe('Queue Ingestion', () => {
...
@@ -47,11 +48,9 @@ describe('Queue Ingestion', () => {
receipt
.
remoteTx
.
hash
receipt
.
remoteTx
.
hash
))
as
any
))
as
any
const
params
=
const
params
=
getContractInterface
(
env
.
messenger
.
contracts
.
l2
.
L2CrossDomainMessenger
.
interface
.
decodeFunctionData
(
'
L2CrossDomainMessenger
'
'
relayMessage
'
,
).
decodeFunctionData
(
'
relayMessage
'
,
l2Tx
.
data
)
l2Tx
.
data
)
expect
(
params
.
_sender
.
toLowerCase
()).
to
.
equal
(
expect
(
params
.
_sender
.
toLowerCase
()).
to
.
equal
(
env
.
l1Wallet
.
address
.
toLowerCase
()
env
.
l1Wallet
.
address
.
toLowerCase
()
...
...
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