Skip to content

Release: develop -> main - #286

Merged
Danswar merged 1 commit into
mainfrom
develop
Aug 22, 2026
Merged

Release: develop -> main#286
Danswar merged 1 commit into
mainfrom
develop

Conversation

@github-actions

Copy link
Copy Markdown

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

…ocolStatsService (#285)

* chore(stats): drop JuiceDollar bridge-volume leg from ProtocolStatsService

The JuiceDollar Ponder stack is being retired, so the 24h stablecoin bridge
volume query would fail permanently and log a warning on every stats request
while contributing a silent 0. Bridge volume is now the LDS Ponder leg alone.

Removes the orphaned JUICEDOLLAR_PONDER_URL env example and updates the
protocol stats table in the README. Deploy configs live in a separate repo
and are handled outside this change.

* test(stats): pin LDS_PONDER_URL in the bridge volume test

The URL assertion relied on the hardcoded fallback, so an exported LDS_PONDER_URL
in the shell made the test fail despite correct behaviour.

* test(stats): make the bridge volume mock answer the JuiceDollar query

The shared mock returned no bridgeVolumeStats field, so the old JuiceDollar leg
would have contributed 0 and the volume assertion stayed green against the
pre-change service. The mock now answers that query with 5 JUSD, which makes the
old code report 12 instead of 7.

* test(stats): reject unexpected Ponder queries in the bridge volume mock

The catch-all branch answered any query with the LDS payload, so a malformed
query would still have produced a green test. The mock now throws on anything
that is neither query, and the LDS call is asserted positively.

* test(stats): assert the LDS query without pinning its formatting

The substring assertion matched the exact query literal, so reformatting the
production query would have broken the test without a behaviour change.

* test(stats): tolerate whitespace around the chainId key in the query assertion

* test(stats): anchor the chainId assertion on a word boundary
@Danswar
Danswar self-requested a review August 21, 2026 19:29
@Danswar
Danswar merged commit d767b64 into main Aug 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant