Skip to content
Open
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
6 changes: 4 additions & 2 deletions zetaclient/context/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,12 @@ func (a *AppContext) updateChainRegistry(
Msg("chain list changed at the runtime")
}

// Log warn if somehow chain doesn't chainParam
// Log if a chain in the registry lacks chainParams. Debug-level because this
// fires on every UpdateAppContext tick for every such chain — high-volume
// enumeration noise, not an actionable warning.
for _, chainID := range freshChainIDs {
if _, ok := freshChainParams[chainID]; !ok && !isZeta(chainID) {
a.logger.Warn().
a.logger.Debug().
Int64("chain_id", chainID).
Msg("chain does not have according ChainParams present; skipping")
}
Expand Down
5 changes: 4 additions & 1 deletion zetaclient/orchestrator/contextupdater.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ func UpdateAppContext(ctx context.Context, app *zctx.AppContext, zc ZetacoreClie
cp := chainParams[i]

if !cp.IsSupported {
logger.Warn().
// Debug-level: this fires every UpdateAppContext tick for every
// unsupported chain in the registry — pure config-driven enumeration,
// not an actionable warning.
logger.Debug().
Int64(logs.FieldChain, cp.ChainId).
Msg("skipping unsupported chain")
continue
Expand Down
Loading