From 8cc33a91c6df00647c73002c74630644caafefd9 Mon Sep 17 00:00:00 2001 From: Madhur Shrimal Date: Fri, 5 Jul 2024 10:21:23 -0700 Subject: [PATCH] move some warn to debug --- chainio/clients/avsregistry/bindings.go | 4 ++-- chainio/clients/elcontracts/bindings.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chainio/clients/avsregistry/bindings.go b/chainio/clients/avsregistry/bindings.go index 043f6f02..98ce0891 100644 --- a/chainio/clients/avsregistry/bindings.go +++ b/chainio/clients/avsregistry/bindings.go @@ -146,7 +146,7 @@ func NewBindingsFromConfig( ) if isZeroAddress(cfg.RegistryCoordinatorAddress) { - logger.Warn("RegistryCoordinator address not provided, the calls to the contract will not work") + logger.Debug("RegistryCoordinator address not provided, the calls to the contract will not work") } else { contractBlsRegistryCoordinator, err = regcoordinator.NewContractRegistryCoordinator( cfg.RegistryCoordinatorAddress, @@ -212,7 +212,7 @@ func NewBindingsFromConfig( } if isZeroAddress(cfg.OperatorStateRetrieverAddress) { - logger.Warn("OperatorStateRetriever address not provided, the calls to the contract will not work") + logger.Debug("OperatorStateRetriever address not provided, the calls to the contract will not work") } else { contractOperatorStateRetriever, err = opstateretriever.NewContractOperatorStateRetriever( cfg.OperatorStateRetrieverAddress, diff --git a/chainio/clients/elcontracts/bindings.go b/chainio/clients/elcontracts/bindings.go index 2d5845db..2eaad8bb 100644 --- a/chainio/clients/elcontracts/bindings.go +++ b/chainio/clients/elcontracts/bindings.go @@ -51,7 +51,7 @@ func NewBindingsFromConfig( ) if isZeroAddress(cfg.DelegationManagerAddress) { - logger.Warn("DelegationManager address not provided, the calls to the contract will not work") + logger.Debug("DelegationManager address not provided, the calls to the contract will not work") } else { contractDelegationManager, err = delegationmanager.NewContractDelegationManager(cfg.DelegationManagerAddress, client) if err != nil { @@ -78,7 +78,7 @@ func NewBindingsFromConfig( } if isZeroAddress(cfg.AvsDirectoryAddress) { - logger.Warn("AVSDirectory address not provided, the calls to the contract will not work") + logger.Debug("AVSDirectory address not provided, the calls to the contract will not work") } else { avsDirectory, err = avsdirectory.NewContractAVSDirectory(cfg.AvsDirectoryAddress, client) if err != nil { @@ -87,7 +87,7 @@ func NewBindingsFromConfig( } if isZeroAddress(cfg.RewardsCoordinatorAddress) { - logger.Warn("RewardsCoordinator address not provided, the calls to the contract will not work") + logger.Debug("RewardsCoordinator address not provided, the calls to the contract will not work") } else { rewardsCoordinator, err = rewardscoordinator.NewContractIRewardsCoordinator(cfg.RewardsCoordinatorAddress, client) if err != nil {