Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move some warn to debug #292

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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