02Sheet 02.03.028 · Entries

SAC trust() on an existing trustline succeeds and changes nothing

Calling trust() again for bob, whose trustline exists, succeeds with no ledger change and no event: a reader must not create, duplicate or touch anything.

FIG. · Where it sits · inside LedgerCloseMetaCAP-0073 · H-D1
trust() on an existing trustline: success, no change

The shape

Calling trust() again for bob, whose trustline exists, succeeds with no ledger change and no event: a reader must not create, duplicate or touch anything.

Variants

VariantProtocolNetworkSourceSizesha256
p30-mainnet-generatedP30mainnet passphrasegenerated by stellar-core v30.0.02,452 Bcebacafdd11d…
p28-mainnet-generatedP28mainnet passphrasegenerated by stellar-core v30.0.02,444 B8dfc60282ab0…
p30-testnet-generatedP30testnet passphrasegenerated by stellar-core v30.0.02,452 Bec9202ae8201…
p28-testnet-generatedP28testnet passphrasegenerated by stellar-core v30.0.02,444 B5316b8ad9f82…

What a correct reader returns

A correct reader findsValueBacked by
The operation changes nothing.length 0snapshot
No event is emitted either.length 0snapshot

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 walker

Entry id sac.trust.noop-existing · compiled from catalog/sac.trust.noop-existing.json · entry.json

On this page