Skip to content

Commit c08f8f7

Browse files
committed
fix integration_test.go
1 parent 8b88c03 commit c08f8f7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/integration/integration_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import (
1717
"github.com/Layr-Labs/eigensdk-go/signerv2"
1818
sdkutils "github.com/Layr-Labs/eigensdk-go/utils"
1919
"github.com/Layr-Labs/incredible-squaring-avs/aggregator"
20+
commonincredible "github.com/Layr-Labs/incredible-squaring-avs/common"
2021
"github.com/Layr-Labs/incredible-squaring-avs/core/chainio"
2122
"github.com/Layr-Labs/incredible-squaring-avs/core/config"
2223
"github.com/Layr-Labs/incredible-squaring-avs/operator"
@@ -48,13 +49,13 @@ func TestIntegration(t *testing.T) {
4849
/* Prepare the config file for aggregator */
4950
var aggConfigRaw config.ConfigRaw
5051
aggConfigFilePath := "../../config-files/aggregator.yaml"
51-
sdkutils.ReadYamlConfig(aggConfigFilePath, &aggConfigRaw)
52+
commonincredible.ReadYamlConfig(aggConfigFilePath, &aggConfigRaw)
5253
aggConfigRaw.EthRpcUrl = "http://" + anvilEndpoint
5354
aggConfigRaw.EthWsUrl = "ws://" + anvilEndpoint
5455

5556
var credibleSquaringDeploymentRaw config.IncredibleSquaringDeploymentRaw
5657
credibleSquaringDeploymentFilePath := "../../contracts/script/output/31337/credible_squaring_avs_deployment_output.json"
57-
sdkutils.ReadJsonConfig(credibleSquaringDeploymentFilePath, &credibleSquaringDeploymentRaw)
58+
commonincredible.ReadJsonConfig(credibleSquaringDeploymentFilePath, &credibleSquaringDeploymentRaw)
5859

5960
logger, err := sdklogging.NewZapLogger(aggConfigRaw.Environment)
6061
if err != nil {
@@ -115,7 +116,7 @@ func TestIntegration(t *testing.T) {
115116
/* Prepare the config file for operator */
116117
nodeConfig := types.NodeConfig{}
117118
nodeConfigFilePath := "../../config-files/operator.anvil.yaml"
118-
err = sdkutils.ReadYamlConfig(nodeConfigFilePath, &nodeConfig)
119+
err = commonincredible.ReadYamlConfig(nodeConfigFilePath, &nodeConfig)
119120
if err != nil {
120121
t.Fatalf("Failed to read yaml config: %s", err.Error())
121122
}

0 commit comments

Comments
 (0)