mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 08:11:04 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user