From c08f8f704b126cc38dac3acea7f50e1e1f458b8d Mon Sep 17 00:00:00 2001 From: Pablo Deymonnaz Date: Mon, 30 Dec 2024 18:27:29 -0300 Subject: [PATCH] fix integration_test.go --- tests/integration/integration_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/integration/integration_test.go b/tests/integration/integration_test.go index 7f22fa3e..75da7938 100644 --- a/tests/integration/integration_test.go +++ b/tests/integration/integration_test.go @@ -17,6 +17,7 @@ import ( "github.com/Layr-Labs/eigensdk-go/signerv2" sdkutils "github.com/Layr-Labs/eigensdk-go/utils" "github.com/Layr-Labs/incredible-squaring-avs/aggregator" + commonincredible "github.com/Layr-Labs/incredible-squaring-avs/common" "github.com/Layr-Labs/incredible-squaring-avs/core/chainio" "github.com/Layr-Labs/incredible-squaring-avs/core/config" "github.com/Layr-Labs/incredible-squaring-avs/operator" @@ -48,13 +49,13 @@ func TestIntegration(t *testing.T) { /* Prepare the config file for aggregator */ var aggConfigRaw config.ConfigRaw aggConfigFilePath := "../../config-files/aggregator.yaml" - sdkutils.ReadYamlConfig(aggConfigFilePath, &aggConfigRaw) + commonincredible.ReadYamlConfig(aggConfigFilePath, &aggConfigRaw) aggConfigRaw.EthRpcUrl = "http://" + anvilEndpoint aggConfigRaw.EthWsUrl = "ws://" + anvilEndpoint var credibleSquaringDeploymentRaw config.IncredibleSquaringDeploymentRaw credibleSquaringDeploymentFilePath := "../../contracts/script/output/31337/credible_squaring_avs_deployment_output.json" - sdkutils.ReadJsonConfig(credibleSquaringDeploymentFilePath, &credibleSquaringDeploymentRaw) + commonincredible.ReadJsonConfig(credibleSquaringDeploymentFilePath, &credibleSquaringDeploymentRaw) logger, err := sdklogging.NewZapLogger(aggConfigRaw.Environment) if err != nil { @@ -115,7 +116,7 @@ func TestIntegration(t *testing.T) { /* Prepare the config file for operator */ nodeConfig := types.NodeConfig{} nodeConfigFilePath := "../../config-files/operator.anvil.yaml" - err = sdkutils.ReadYamlConfig(nodeConfigFilePath, &nodeConfig) + err = commonincredible.ReadYamlConfig(nodeConfigFilePath, &nodeConfig) if err != nil { t.Fatalf("Failed to read yaml config: %s", err.Error()) }