A trapped mainnet call whose diagnostic events carry the contract's own error code
The contract fails with its own error (SCError type contract, code 2006).
The shape
The contract fails with its own error (SCError type contract, code 2006). The result only says trapped; the code lives in the diagnostic events SDF's lake keeps. Readers that decode SCError as a fixed set of host error types, or that only read the result, lose the contract's reason.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p29-mainnet-mined-l65167655 | P29 | mainnet passphrase | mined from history | 5,574,024 B | f32809fefd5a… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| The call traps. | trapped | snapshotcorewalker |
| A diagnostic event carries contract error 2006. | some change where 2 fields match | 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 soroban.contract-error-code-mainnet · compiled from catalog/soroban.contract-error-code-mainnet.json · entry.json
The testnet ledger that upgraded the protocol to 30
LEDGER_UPGRADE_VERSION 30 on testnet, written by a Galexie node.
A mainnet Soroban failure whose diagnostic events carry an auth error
The lake keeps diagnostic events (Galexie's flags): this failed call reports SCError type auth, the class of error behind it.