Skip to main content

sstore_storage_credits

Function sstore_storage_credits 

Source
pub fn sstore_storage_credits<B: StorageCreditsBackend>(
    backend: &mut B,
    owner: Address,
    caller_state_load: &StateLoad<SStoreResult>,
) -> Result<(), B::Error>
Expand description

Applies TIP-1060 storage credits after a single SSTORE has been journaled.

Returns whether to skip normal dynamic/state gas and/or refund accounting.