Skip to main content

Module state_diff

Module state_diff 

Source
Expand description

State diff computation for trace_call and related RPC methods.

Compares pre- and post-execution actor states to produce per-account diffs covering balance, nonce, code, and storage.

Functions§

build_account_diff 🔒
Build account diff by comparing pre and post actor states.
build_state_diff
Build state diff by comparing pre and post-execution states for touched addresses.
diff_entry_keys
diff_evm_storage_for_actors 🔒
Compute storage diff between pre and post actor states.
extract_evm_storage_entries
Extract all storage entries from an EVM actor’s KAMT. Returns an empty map if the actor is absent, not an EVM actor, self-destructed, or its state cannot be loaded.