MANAGE_BUY_OFFER fails with BUY_NOT_AUTHORIZED (protocol 22, mainnet)
The offer would buy an asset whose issuer has not authorized the account's trustline: buy_not_authorized.
The shape
The offer would buy an asset whose issuer has not authorized the account's trustline: buy_not_authorized. Readers that assume a trustline is usable once it exists miss the authorization flags.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p22-mainnet-mined-l56085459 | P22 | mainnet passphrase | mined from history | 1,713,432 B | ba8961760204… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| The operation fails with buy_not_authorized. | buy_not_authorized | 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 failure.manage-buy-offer.buy-not-authorized-p22 · compiled from catalog/failure.manage-buy-offer.buy-not-authorized-p22.json · entry.json
MANAGE_BUY_OFFER fails with MANAGE_BUY_OFFER_BUY_NO_TRUST
A transaction whose MANAGE_BUY_OFFER operation fails at apply is still written into the closed ledger: its fee is charged, its sequence number is consumed, and none of its operations change state.
MANAGE_BUY_OFFER fails with CROSS_SELF on mainnet
The buy offer would cross an offer of the same account.