Commit d9fdda9
Bump Hardhat Toolbox to v6 (#1002)
This is a follow up to #1000, where we finally bump the hardhat toolbox
verion to v6. Notable the _only_ change that that entails is going from
`hardhat-gas-reporter` `~1` to `~2`, which enables the gas reporting by
default.
After some more digging, I found that simply disbling the gas reporting
would cause tests to no longer fail (with it enabled, it would fail with
errors: "calling done() twice on test" and "cannot index property to on
undefined"). I narrowed the issue down to a specific test, which is now
disabled when gas reporting is on. Furthermore, I disabled gas reporting
by default, as I find it quite noisy. To run tests with a gas report:
```sh
HARDHAT_ENABLE_GAS_REPORTER=1 npm test
```
---------
Co-authored-by: Mikhail <16622558+mmv08@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>1 parent 285dd4f commit d9fdda9
File tree
3 files changed
+11
-7
lines changed- test/libraries
3 files changed
+11
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
173 | 177 | | |
174 | 178 | | |
175 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
339 | | - | |
| 337 | + | |
340 | 338 | | |
341 | 339 | | |
342 | 340 | | |
343 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments