Skip to content

[codex] fix homepage license AWB balance - #42

Merged
Petrica-B merged 2 commits into
mainfrom
develop
May 19, 2026
Merged

[codex] fix homepage license AWB balance#42
Petrica-B merged 2 commits into
mainfrom
develop

Conversation

@aledefra

@aledefra aledefra commented May 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes the homepage node license cards so they pass awbBalance into the shared license usage component.

Also makes the $R1 Price card tolerate a reverted price read, which prevents devnet prerender/build from failing when getTokenPrice() reverts.

Root cause

The Licenses page already passed AWB data into LicenseSmallCard, but the homepage node list did not. For GND, this made the homepage show claimed usage without the AWB segment, while the Licenses page showed the correct split.

The devnet image build then failed because PriceCard let the getTokenPrice() contract read exception escape during static generation.

Validation

  • npm run lint
  • npx tsc --noEmit
  • npm run build:devnet
  • Local mainnet render verified the homepage GND card shows 4.56M/46.76M, 9.75%, and the AWB segment.
  • GitHub checks passed for PR [codex] fix homepage license AWB balance #42 and the develop push build.

@Petrica-B
Petrica-B marked this pull request as ready for review May 19, 2026 07:31
@Petrica-B
Petrica-B merged commit 9cb470f into main May 19, 2026
3 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.

2 participants