02Sheet 02.03.015 · Entries
A payment of 9.5e15 stroops, above 2^53
An amount above 2^53 cannot be held exactly by a double: JavaScript numbers and float JSON parsers round it.
FIG. · Where it sits · inside LedgerCloseMetapre-cap · H-B3
PaymentOp.amount above 2^53 stroops
The shape
An amount above 2^53 cannot be held exactly by a double: JavaScript numbers and float JSON parsers round it.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 | 2,668 B | 7df1ef2e592b… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 | 2,668 B | 8e87f16dfff2… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| The amount is 9500000000000000 stroops. | 9500000000000000 | constructionsnapshotcorewalker |
| Operation 0 succeeds. | success | snapshotcorewalker |
Check it yourself
make verify # schema, hashes, the byte-for-byte round trip and every fact above
make oracle # the facts' values, re-read by stellar-core and the schema walkerEntry id amount.payment-above-2-pow-53 · compiled from catalog/amount.payment-above-2-pow-53.json · entry.json
EXTEND_FOOTPRINT_TTL from a muxed source with a text memo
Core refuses a memo or muxed source only on InvokeHostFunction (TransactionFrame::validateSorobanMemo); on TTL and restore operations both are valid.
An issued asset with code "xlm" is not XLM
A credit_alphanum4 asset whose code is "xlm": readers that match on the code instead of the asset type treat it as native.