Skip to content

Fix xDAI metrics on production#198

Merged
crtahlin merged 1 commit into
mainfrom
dev
Apr 15, 2026
Merged

Fix xDAI metrics on production#198
crtahlin merged 1 commit into
mainfrom
dev

Conversation

@crtahlin
Copy link
Copy Markdown

Fixes xDAI balance showing 0.0 in metrics. Uses preflight balance checks which correctly parse nativeTokenBalance.

The metrics poller was reading BZZ from get_wallet_info() but xDAI
comes from nativeTokenBalance which only the preflight check functions
parse correctly. Switch to check_xbzz_balance/check_xdai_balance/
check_chequebook_balance which return the correct values.
@crtahlin crtahlin merged commit c533e0d into main Apr 15, 2026
1 check 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