soroban_env_host::e2e_invoke

Function get_ledger_changes

Source
pub fn get_ledger_changes(
    budget: &Budget,
    storage: &Storage,
    init_storage_snapshot: &(impl SnapshotSource + ?Sized),
    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.