@@ -17,6 +17,7 @@ import (
17
17
"github.com/Layr-Labs/eigensdk-go/signerv2"
18
18
sdkutils "github.com/Layr-Labs/eigensdk-go/utils"
19
19
"github.com/Layr-Labs/incredible-squaring-avs/aggregator"
20
+ commonincredible "github.com/Layr-Labs/incredible-squaring-avs/common"
20
21
"github.com/Layr-Labs/incredible-squaring-avs/core/chainio"
21
22
"github.com/Layr-Labs/incredible-squaring-avs/core/config"
22
23
"github.com/Layr-Labs/incredible-squaring-avs/operator"
@@ -48,13 +49,13 @@ func TestIntegration(t *testing.T) {
48
49
/* Prepare the config file for aggregator */
49
50
var aggConfigRaw config.ConfigRaw
50
51
aggConfigFilePath := "../../config-files/aggregator.yaml"
51
- sdkutils .ReadYamlConfig (aggConfigFilePath , & aggConfigRaw )
52
+ commonincredible .ReadYamlConfig (aggConfigFilePath , & aggConfigRaw )
52
53
aggConfigRaw .EthRpcUrl = "http://" + anvilEndpoint
53
54
aggConfigRaw .EthWsUrl = "ws://" + anvilEndpoint
54
55
55
56
var credibleSquaringDeploymentRaw config.IncredibleSquaringDeploymentRaw
56
57
credibleSquaringDeploymentFilePath := "../../contracts/script/output/31337/credible_squaring_avs_deployment_output.json"
57
- sdkutils .ReadJsonConfig (credibleSquaringDeploymentFilePath , & credibleSquaringDeploymentRaw )
58
+ commonincredible .ReadJsonConfig (credibleSquaringDeploymentFilePath , & credibleSquaringDeploymentRaw )
58
59
59
60
logger , err := sdklogging .NewZapLogger (aggConfigRaw .Environment )
60
61
if err != nil {
@@ -115,7 +116,7 @@ func TestIntegration(t *testing.T) {
115
116
/* Prepare the config file for operator */
116
117
nodeConfig := types.NodeConfig {}
117
118
nodeConfigFilePath := "../../config-files/operator.anvil.yaml"
118
- err = sdkutils .ReadYamlConfig (nodeConfigFilePath , & nodeConfig )
119
+ err = commonincredible .ReadYamlConfig (nodeConfigFilePath , & nodeConfig )
119
120
if err != nil {
120
121
t .Fatalf ("Failed to read yaml config: %s" , err .Error ())
121
122
}
0 commit comments