Skip to content

Commit

Permalink
move some warn to debug (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimalmadhur authored Jul 5, 2024
1 parent 6a97aa9 commit 8f12390
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions chainio/clients/avsregistry/bindings.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions chainio/clients/elcontracts/bindings.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 8f12390

Please sign in to comment.