Function soroban_env_host::e2e_invoke::get_ledger_changes
source · pub fn get_ledger_changes<T: SnapshotSource>(
budget: &Budget,
storage: &Storage,
init_storage_snapshot: &T,
init_ttl_entries: TtlEntryMap
) -> Result<Vec<LedgerEntryChange>, HostError>
Expand description
Returns the difference between the storage
and its initial snapshot as
LedgerEntryChanges
.
Returns an entry for every item in storage
footprint.