02Sheet 02.03.026 · Entries
SAC trust() for a trustor who is not the transaction source creates a trustline
alice submits, carol is the trustor: carol authorizes with address credentials and a nonce.
FIG. · Where it sits · inside LedgerCloseMetaCAP-0073 · CAP-0046 · H-D1
InvokeHostFunction trust() with address credentials creates the trustor's trustline
The shape
alice submits, carol is the trustor: carol authorizes with address credentials and a nonce. The trustline is carol's; nothing names it but the created entry. wallet-backend#731 dropped such trustlines.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 change order varies: 4 orderings in 20 runs | 3,292 B | 45ed4084708f… |
p28-mainnet-generated | P28 | mainnet passphrase | generated by stellar-core v30.0.0 change order varies: 2 orderings in 2 runs | 3,284 B | 6ad720713dfc… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 | 3,292 B | 6e2225d9d45e… |
p28-testnet-generated | P28 | testnet passphrase | generated by stellar-core v30.0.0 change order varies: 2 orderings in 2 runs | 3,284 B | dafc28834421… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| A trustline for carol is created. | some change where 1 fields match | snapshotcorewalker |
| carol authorizes with address credentials and nonce 7310001. | 7310001 | constructionsnapshotcorewalker |
| No event is emitted. | length 0 | snapshot |
Sightings
wallet-backend#731Check 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 sac.trust.address-credentials · compiled from catalog/sac.trust.address-credentials.json · entry.json
SAC mint into a trustline the SAC created
The issuer mints XPF to bob through the SAC: the classic trustline balance changes and a mint event is emitted.
SAC trustline with no event
A contract call creates a classic trustline: no CHANGE_TRUST operation, no event, only a created ledger entry. Indexers that wait for either miss it.