You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/e2e/e2e.go
+34-23Lines changed: 34 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ import (
19
19
"github.com/ava-labs/hypersdk/api/jsonrpc"
20
20
"github.com/ava-labs/hypersdk/api/state"
21
21
"github.com/ava-labs/hypersdk/auth"
22
-
"github.com/ava-labs/hypersdk/chain"
22
+
"github.com/ava-labs/hypersdk/tests/registry"
23
23
"github.com/ava-labs/hypersdk/tests/workload"
24
24
"github.com/ava-labs/hypersdk/throughput"
25
25
"github.com/ava-labs/hypersdk/utils"
@@ -28,20 +28,18 @@ import (
28
28
)
29
29
30
30
var (
31
-
vmNamestring
32
-
txWorkload workload.TxWorkload
33
-
parser chain.Parser
34
-
expectedABI abi.ABI
35
-
spamKey*auth.PrivateKey
36
-
spamHelper throughput.SpamHelper
31
+
networkConfig workload.TestNetworkConfiguration
32
+
txWorkload workload.TxWorkload
33
+
expectedABI abi.ABI
34
+
spamKey*auth.PrivateKey
35
+
spamHelper throughput.SpamHelper
37
36
)
38
37
39
-
funcSetWorkload(namestring, generator workload.TxGenerator, abi abi.ABI, chainParser chain.Parser, sh throughput.SpamHelper, key*auth.PrivateKey) {
40
-
vmName=name
38
+
funcSetWorkload(networkConfigImpl workload.TestNetworkConfiguration, generator workload.TxGenerator, abi abi.ABI, sh throughput.SpamHelper, key*auth.PrivateKey) {
0 commit comments