referrerpolicy=no-referrer-when-downgrade

Crate cumulus_primitives_storage_weight_reclaim

Crate cumulus_primitives_storage_weight_reclaim 

Source
Expand description

Utilities to reclaim PoV proof size weight.

Provides StorageWeightReclaimer to manually reclaim storage weight and get_proof_size to read the current storage proof size from the host.

To reclaim storage weight after an extrinsic has been applied, use the StorageWeightReclaim transaction extension from the cumulus-pallet-weight-reclaim crate.

Structs§

StorageWeightReclaimer
StorageWeightReclaimer is a mechanism for manually reclaiming storage weight.

Functions§

get_proof_size
Returns the current storage proof size from the host side.