-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Bug Description
Extending a vault using the full available amount (MAX slider / full progress bar) consistently fails with a wallet transaction error, while extending the same vault with a slightly lower amount succeeds. This indicates incorrect MAX amount calculation or a missing gas/precision buffer in the frontend.
Steps to Reproduce
- Go to https://hub.status.network
- Connect your wallet
- Navigate to My Vaults
- Select an existing vault
- Click on Extend Vault
- Move the amount slider to the full bar (MAX)
- Confirm the transaction in the wallet
- Observe the transaction error
- Repeat the process with the slider slightly below MAX
- Confirm the transaction again and see it succeed
Expected Behavior
Extending a vault using the full available balance should complete successfully without errors. The MAX amount should automatically account for gas fees, rounding precision, and protocol limits.
Actual Behavior
Using the full slider/MAX causes the wallet transaction to fail with an error. Reducing the amount slightly allows the transaction to complete successfully.
Screenshots
Screenshots show:
- Wallet error when slider is at MAX
- Successful transaction when slider is reduced
More Information
App: Status Network Hub (Vault Staking Interface)
Browser: Chrome Mobile (Android)
Additional Context
- Error appears only when attempting to extend with 100% of available balance
- Partial amounts work without issues
- Likely caused by:
- Gas buffer not reserved
- Decimal rounding overflow
- Frontend sending exact balance value
Possible Solution
- Subtract a small buffer from MAX amount to cover gas and rounding
- Round down token values before submitting transactions
- Avoid allowing true 100% balance usage and instead use a safe max value
- Display a user message when MAX is auto-adjusted
Metadata
Metadata
Assignees
Labels
Type
Projects
Status




