test(integration): replace watcher with sdk CrossChainMessenger#2159
Conversation
🦋 Changeset detectedLatest commit: a8a74a9 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
|
||
| const value = ethers.utils.parseEther('0.01') | ||
| await fundUser(env.watcher, env.l1Bridge, value, wallet.address) | ||
| await fundUser(env.messenger, env.l1Bridge, value, wallet.address) |
There was a problem hiding this comment.
Note that fundUser has already been patched to use the SDK in a recent commit, you may need to make a second PR or rebase.
4a94610 to
f0117cd
Compare
Codecov Report
@@ Coverage Diff @@
## develop #2159 +/- ##
===========================================
- Coverage 71.37% 70.57% -0.80%
===========================================
Files 89 89
Lines 3032 3028 -4
Branches 516 509 -7
===========================================
- Hits 2164 2137 -27
- Misses 868 891 +23
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
1f92d38 to
988db20
Compare
|
@smartcontracts I took most the changes from 3535fb2 There was one conflict with |
a5239f9 to
a8a74a9
Compare
|
I think I came across a race condition in an itest, which failed on a previous push, here https://github.com/ethereum-optimism/optimism/blob/develop/integration-tests/test/ovmcontext.spec.ts#L149 |
Hmmm yeah this is a known problem. We should fix that test. I'll make an issue for it today. |
|
Great work here! One step closer to deleting the Watcher entirely! |
## Description Deprecate p2p tests in `devnet-sdk` now we have full-feature equivalence inside the `devstack`. Adds a finalized sync test. Close #2100
Description
Removes all remaining usage of the Watcher from the integration tests.
Additional context
Makes it possible to entirely remove the Watcher in a following commit.
Metadata