Skip to content

[QA-Bug] Reader dashboard donation history shows $PLOT instead of WETH on testnet + excessive decimals #177

@realproject7

Description

@realproject7

Problem

Two issues in the reader dashboard donation history:

1. Wrong token label on testnet

2. Excessive decimal precision

  • Shows 0.00057715687791651 $PLOT — too many digits, hard to read
  • Should truncate to 4-6 significant digits: 0.000577 WETH

Fix

  1. Import RESERVE_LABEL from lib/contracts/constants and use instead of hardcoded "$PLOT"
  2. Truncate formatUnits output to reasonable precision (6 decimal places max)

Files

  • src/app/dashboard/reader/page.tsx (donation history section)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions