Commit a208a1f
authored
improve: Make MockSpokePool.depositV2 virtual (#430)
* feat: Add depositV2 to MockSpokePool to support relayer-v2/sdk-v2 unit tests
These unit tests expect to query FundsDeposited events so we should add a function to the MockSpokePool so that they can access these older events using functions exported out of dist/test-utils
* Add back logic
* Update package.json
* Update MockSpokePool.sol
* Update package.json
* WIP
* Update HubPool.Fixture.ts1 parent 0944d6a commit a208a1f
File tree
3 files changed
+6
-22
lines changed- contracts/test
- test/fixtures
3 files changed
+6
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 125 | + | |
142 | 126 | | |
143 | 127 | | |
144 | 128 | | |
145 | 129 | | |
146 | 130 | | |
147 | 131 | | |
148 | | - | |
| 132 | + | |
149 | 133 | | |
150 | 134 | | |
151 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments