Skip to content

fix: format large on-chain leaderboard scores gracefully#2

Merged
alessio merged 1 commit intoalessio:merge-sdk-migrationfrom
ihsraham:merge-sdk-migration
Mar 10, 2026
Merged

fix: format large on-chain leaderboard scores gracefully#2
alessio merged 1 commit intoalessio:merge-sdk-migrationfrom
ihsraham:merge-sdk-migration

Conversation

@ihsraham
Copy link

Summary

  • Scores up to 1 billion display with comma formatting (e.g. 1,200)
  • Larger values like uint256.max display in scientific notation (e.g. 1.157e+77) instead of overflowing the UI
  • Added break-all CSS for text wrapping on the score container
  • Shows real contract data -- no filtering or fake placeholders

Test plan

Made with Cursor

Display real contract data instead of hiding it. Scores up to 1B show
with comma formatting, larger values (like uint256.max) use scientific
notation (e.g. 1.157e+77). Added break-all for text wrapping.

Made-with: Cursor
@coderabbitai
Copy link

coderabbitai bot commented Mar 10, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: df3bf835-a413-47e0-9dd4-3ef2b38ef4a5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@alessio alessio merged commit 69a4002 into alessio:merge-sdk-migration Mar 10, 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.

2 participants