[test] Cover amount parser negative and rounding cases
Labels: testing, frontend, points: 150 File/location: frontend/src/utils/amount.ts
Description: Negative, excessive precision, and halfway rounding inputs lack parser tests.
Acceptance Criteria:
- [ ] Add deterministic tests for the documented success and failure paths, including boundary inputs and dependency failures.
- [ ] Run the new tests in the corresponding CI suite and assert the public behavior and error contract.
Notes: This is a focused regression gap for the cited module; it was not covered by the existing test files reviewed during the sweep.
Hey @LabsCrypt team,
I would love to work on this issue. I will analyze the test harness, reproduce the failure/edge conditions deterministically, and implement comprehensive test coverage ensuring event schemas and invariants hold across all executions.
Let me know if you're open to assigning this, and I'll push the tested patch.
@abdooltata has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hello Maintainer, I'm ready to take on this issue.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @abdooltata to this issue.
@Killerjunior has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hi maintainer, I have read and understood the issue requirements and checked the necessary documentation. I’m confident I can work on this task effectively and deliver a proper solution.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Killerjunior to this issue.
@VeronicDev has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hello maintainer pls assign
ℹ️ Repo Maintainers: To accept this application, review their application or assign @VeronicDev to this issue.
Congratulations, @VeronicDev! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @VeronicDev: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
This issue has been completed by @VeronicDev as part of the Stellar Wave Program's 10th Wave 🥳
😎 @VeronicDev: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.