02Sheet 02.03.036 · Entries

A mainnet contract upgrades its Wasm: an executable_update system event

A contract replaces its own code; the only trace is a system event executable_update with old and new executables.

FIG. · Where it sits · inside LedgerCloseMetaCAP-0046 · H-D5
contract Wasm upgrade
executable_update system event

The shape

A contract replaces its own code; the only trace is a system event executable_update with old and new executables. Readers that index contract code only at deploy keep the old Wasm.

Variants

VariantProtocolNetworkSourceSizesha256
p29-mainnet-mined-l65514477P29mainnet passphrasemined from history1,536,208 Be29beaedb0b4…

What a correct reader returns

A correct reader findsValueBacked by
The operation emits an executable_update system event.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 contract.wasm-upgrade-mainnet · compiled from catalog/contract.wasm-upgrade-mainnet.json · entry.json

On this page