yoctoNEAR amounts are handled exactly
near-yocto-precision
Description
NEAR has 24 decimals, beyond the exact range of floating-point numbers. One yoctoNEAR above the limit must be blocked, and a 25th decimal place must be rejected.
integration · required · scenarios/near-yocto-precision.yaml
Outcomes across stored runs
- Pass 1
- Fail 0
- Error 0
- Skipped 0
Execution history
| Run | Started | Outcome |
|---|---|---|
| run_1dfd0cf9 | 2026-11-06 20:03 UTC | Pass |
Most recent steps
- #1proposepassedExpected
{ "decision": "BLOCK", "reason_codes": [ "AMOUNT_EXCEEDS_TRANSACTION_LIMIT" ], "reason_codes_exact": false, "absent_reason_codes": [] }Observed{ "decision": "BLOCK", "reason_codes": [ "AMOUNT_EXCEEDS_TRANSACTION_LIMIT", "APPROVAL_REQUIRED_AMOUNT" ], "replay": false } - #2proposepassedExpected
{ "decision": "BLOCK", "reason_codes": [ "AMOUNT_EXCEEDS_TRANSACTION_LIMIT" ], "reason_codes_exact": false, "absent_reason_codes": [] }Observed{ "decision": "BLOCK", "reason_codes": [ "AMOUNT_EXCEEDS_TRANSACTION_LIMIT", "APPROVAL_REQUIRED_AMOUNT" ], "replay": false } - #3proposepassedExpected
{ "decision": "BLOCK", "reason_codes": [ "AMOUNT_PRECISION_EXCEEDED" ], "reason_codes_exact": false, "absent_reason_codes": [] }Observed{ "decision": "BLOCK", "reason_codes": [ "AMOUNT_PRECISION_EXCEEDED" ], "replay": false }