02Sheet 02.03.052 · Entries
RESTORE_FOOTPRINT on a live entry succeeds and changes nothing
Restoring an entry that is not archived is a success with no change.
FIG. · Where it sits · inside LedgerCloseMetaCAP-0046 · H-D4
RestoreFootprint of a live entry: no change
The shape
Restoring an entry that is not archived is a success with no change.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 | 2,164 B | 9c829f5cad8e… |
p28-mainnet-generated | P28 | mainnet passphrase | generated by stellar-core v30.0.0 | 2,156 B | 72ad5570c510… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 | 2,164 B | f2b54c9b7172… |
p28-testnet-generated | P28 | testnet passphrase | generated by stellar-core v30.0.0 | 2,156 B | 4b776b83cbb1… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| The restore_footprint operation succeeds. | success | snapshotcorewalker |
| Nothing changes. | length 0 | snapshot |
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 ttl.restore-live-entry · compiled from catalog/ttl.restore-live-entry.json · entry.json
EXTEND_FOOTPRINT_TTL changes only a TTL entry
The data entry is untouched; only its TTL entry, named by sha256 of the data's LedgerKey, changes.
A contract call restores an archived entry and overwrites it in one operation
SorobanTransactionDataExt v1 marks readWrite[0] archived: the call restores it (restored changes for the entry and its TTL) and then updates it.