Skip to content
Snippets Groups Projects
Unverified Commit 5b317fda authored by Sebastian Kunert's avatar Sebastian Kunert
Browse files

Fix name in validate_block implementation

parent d57e6893
No related merge requests found
......@@ -171,7 +171,7 @@ where
sp_io::offchain_index::host_set.replace_implementation(host_offchain_index_set),
sp_io::offchain_index::host_clear.replace_implementation(host_offchain_index_clear),
cumulus_primitives_reclaim::pov_reclaim_host_functions::host_current_storage_proof_size
.replace_implementation(reclaim_pov_weight),
.replace_implementation(host_current_storage_proof_size),
);
run_with_externalities::<B, _, _>(&backend, || {
......@@ -310,7 +310,7 @@ fn host_storage_clear(key: &[u8]) {
with_externalities(|ext| ext.place_storage(key.to_vec(), None))
}
fn reclaim_pov_weight() -> u32 {
fn host_current_storage_proof_size() -> u32 {
with_externalities(|ext| ext.proof_size()).unwrap_or_default()
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment