02Sheet 02.03.070 · Entries

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).

FIG. · Where it sits · inside LedgerCloseMetaCAP-0046 · H-C6
SCError.SCE_CONTRACT: the contract's own error code 2006 in the diagnostic events of a trapped call

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

VariantProtocolNetworkSourceSizesha256
p29-mainnet-mined-l65167655P29mainnet passphrasemined from history5,574,024 Bf32809fefd5a…

What a correct reader returns

A correct reader findsValueBacked by
The call traps.trappedsnapshotcorewalker
A diagnostic event carries contract error 2006.some change where 2 fields matchsnapshotcorewalker

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 soroban.contract-error-code-mainnet · compiled from catalog/soroban.contract-error-code-mainnet.json · entry.json

On this page