[subxt-historic]: extract call and event types from metadata at a block (#2095)

* Inject call and event types from metadata too at some block in subxt-historic

* bump subxt-historic to 0.0.4

* Fix unrelated doc things to try and fix this job

* Other Rust 1.90 fixes

* 'Fix' Test

* Try fixing clippy WASM job

* Try again to get clippy wasm working

* trybuild fix

* trybuild fix take 2
This commit is contained in:
James Wilson
2025-09-25 13:37:09 +01:00
committed by GitHub
parent b1a3a3afcc
commit b13b8ec8d0
10 changed files with 31 additions and 23 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ use std::collections::BTreeSet;
/// To implement the [`StripMetadata::strip_metadata`] method for a new metadata version, you'll probably:
/// - Remove any pallets and runtime APIs from the metadata based on the filter functions.
/// - Call `self.iter_type_ids_mut().collect()` to gather all of the type IDs to keep.
/// - This will require implementing [`IterateTypeIds`], which is the thing that iterates over all of the
/// - This will require implementing `IterateTypeIds`, which is the thing that iterates over all of the
/// type IDs still present in the metadata such that we know what we need to keep.
/// - Call `self.types.retain(..)` to filter any types not matching the type IDs above out of the registry.
/// - Iterate over the type IDs again, mapping those found in the metadata to the new IDs that calling