@@ -8,10 +8,7 @@ import {
8
8
import { ERRORS } from "../../../../src/internal/core/errors-list" ;
9
9
import { numberToRpcQuantity } from "../../../../src/internal/core/jsonrpc/types/base-types" ;
10
10
import { BackwardsCompatibilityProviderAdapter } from "../../../../src/internal/core/providers/backwards-compatibility" ;
11
- import {
12
- BoundExperimentalHardhatNetworkMessageTraceHook ,
13
- HardhatConfig ,
14
- } from "../../../../src/types" ;
11
+ import { HardhatConfig } from "../../../../src/types" ;
15
12
import {
16
13
applyProviderWrappers ,
17
14
createProvider ,
@@ -46,7 +43,6 @@ describe("Base provider creation", () => {
46
43
47
44
it ( "Should extend the base provider by calling each supplied extender" , async ( ) => {
48
45
const artifacts = undefined ;
49
- const hooks : BoundExperimentalHardhatNetworkMessageTraceHook [ ] = [ ] ;
50
46
51
47
const identity = ( obj : any ) => obj ;
52
48
const extenders = [ sinon . spy ( identity ) , sinon . spy ( identity ) ] ;
@@ -60,13 +56,7 @@ describe("Base provider creation", () => {
60
56
} ,
61
57
paths : undefined ,
62
58
} as unknown as HardhatConfig ;
63
- const provider = await createProvider (
64
- config ,
65
- "net" ,
66
- artifacts ,
67
- hooks ,
68
- extenders
69
- ) ;
59
+ const provider = await createProvider ( config , "net" , artifacts , extenders ) ;
70
60
71
61
assert . instanceOf ( provider , BackwardsCompatibilityProviderAdapter ) ;
72
62
for ( const extender of extenders ) {
0 commit comments