Skip to content

cli: fix est epochs unit mismatch in shreds list#304

Merged
martinsander00 merged 1 commit intomainfrom
ms/fix-est-epochs
Mar 23, 2026
Merged

cli: fix est epochs unit mismatch in shreds list#304
martinsander00 merged 1 commit intomainfrom
ms/fix-est-epochs

Conversation

@martinsander00
Copy link
Copy Markdown
Contributor

Summary

  • The "Est. Epochs Paid" column in shreds list was displaying values ~10,000x too large (e.g. 40,000 instead of ~4)
  • The escrow balance (micro-USDC) was being divided directly by the on-chain price (centi-USDC) without aligning units first

Lines of Code

Section Added Removed
cli +3 -1

Testing Verification

  • Verified with manual calculation: $4 balance / $1 price now correctly shows ~4 instead of ~40000

@martinsander00 martinsander00 merged commit 4b6d1d2 into main Mar 23, 2026
5 of 6 checks passed
@martinsander00 martinsander00 deleted the ms/fix-est-epochs branch March 23, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants