Skip to content

feat(dips): log startup configuration at INFO level#988

Open
MoonBoi9001 wants to merge 2 commits intofix/rca-metadata-version-enumfrom
mb9/dips-startup-config-logging
Open

feat(dips): log startup configuration at INFO level#988
MoonBoi9001 wants to merge 2 commits intofix/rca-metadata-version-enumfrom
mb9/dips-startup-config-logging

Conversation

@MoonBoi9001
Copy link
Copy Markdown
Member

Motivation

When DIPs is enabled, the service logs a warning only when supported_networks is empty. When it's populated, there is no confirmation of what was configured. An operator deploying to production can't verify from logs that the pricing configuration was parsed correctly without querying the /dips/info HTTP endpoint manually.

Summary

  • Log supported networks, RecurringCollector address, and IPFS URL at INFO when DIPs starts
  • Log per-network minimum GRT pricing individually
  • Log entity pricing if configured

Generated with Claude Code

MoonBoi9001 and others added 2 commits March 26, 2026 18:11
Log supported networks, recurring collector address, IPFS URL, and
per-network minimum pricing when DIPs is enabled. Previously only
a warning was emitted when supported_networks was empty.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
min_grt_per_30_days is destructured from a reference, so use .iter()
instead of &ref to avoid &&BTreeMap. min_grt_per_billion_entities is
GRT not Option<GRT>, so remove the if-let-Some wrapper.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@MoonBoi9001 MoonBoi9001 added the DIPs Decentralized Indexing Payments label Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DIPs Decentralized Indexing Payments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant