-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Summary
On Shade (Pools → Provide Liquidity), any pool with TVL = 0 / zero liquidity shows NaN for:
Expected SharesMinimum LP SharesPool Ownership
Submitting either Mint LP Shares or Mint LP Shares + Stake fails with:
invalid Uint128 'NaN'
Pools with existing liquidity (e.g. SHD/TIA) display normal numeric values and work as expected.
Steps to Reproduce
- Open Shade → Pools
- Select a pool with TVL = 0 (example:
USDC/TIA) - Enter any amounts for providing liquidity
- Observe that
Expected Shares,Minimum LP Shares, andPool Ownershipdisplay NaN - Click Mint LP Shares or Mint LP Shares + Stake
- Transaction fails with
invalid Uint128 'NaN'
Expected Behavior
- The UI should not compute/display NaN values for shares/ownership.
- The UI should not allow submitting a tx payload containing NaN.
- If the pool requires initialization/activation before first liquidity, the UI should clearly indicate it (e.g. “Pool not initialized / not active”) and prevent submission.
Actual Behavior
- Shares/ownership fields show NaN
- Providing liquidity fails with
invalid Uint128 'NaN'
Scope / Notes
- This happens for multiple pools with zero liquidity (TVL=0).
- Pools with non-zero liquidity work normally.
Environment
- Device: Android
- Browser: Firefox Mobile
- Wallet: Keplr Mobile
- Date: 2025-12-12
Attachments
- Screenshot: NaN shown for shares/ownership fields
- Screenshot: error message
invalid Uint128 'NaN'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

