Skip to content

Feature/api config and tests hardening - #168

Merged
valoryyaa-byte merged 4 commits into
RWA-ToolKit:mainfrom
favourawaku:feature/api-config-and-tests-hardening
Jul 28, 2026
Merged

Feature/api config and tests hardening#168
valoryyaa-byte merged 4 commits into
RWA-ToolKit:mainfrom
favourawaku:feature/api-config-and-tests-hardening

Conversation

@favourawaku

Copy link
Copy Markdown
Contributor

Summary

Hardens the API with configurable bind address, reduces default logging noise via TraceLayer config, adds testnet contract ID stability warning to
docs, and introduces test coverage for dividend sort order edge cases.

Changes

#117 — Configurable bind address

  • Read BIND_ADDR env var with 0.0.0.0 default, allowing operators to restrict the bind interface behind a proxy

#118 — TraceLayer logging reduction

  • Configure TraceLayer spans and responses at DEBUG level to avoid default INFO noise under load

#119 — Testnet contract ID warning

  • Add callout warning that contract IDs are examples and drift after redeploy

#120 — Dividends sort order test

  • Test verifies DESC sort by created_at_ledger and claimed_percent clamping when distributed > total

Closes #117, Closes #118, Closes #119, Closes #120

@drips-wave

drips-wave Bot commented Jul 27, 2026

Copy link
Copy Markdown

@favourawaku Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@valoryyaa-byte
valoryyaa-byte merged commit e8b9683 into RWA-ToolKit:main Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment