fix: resolve cargo-clippy CI errors in vendor crates

- Fix rebrand issues in pezkuwi-subxt signer (sp_core -> pezsp_core,
  sp_keyring -> pezsp_keyring, sp_runtime -> pezsp_runtime)
- Fix pezkuwi-zombienet-sdk tests (subxt::PolkadotConfig ->
  pezkuwi_subxt::PezkuwiConfig)
- Correct artifact paths in subxt examples (polkadot_metadata_*.scale)
- Fix type conversion issues in subxt examples (explicit constructors
  instead of .into() for generated types)
- Add pezkuwi-subxt-utils-stripmetadata dev-dependency to metadata crate
- Use original polkadot module from external frame-decode crate
- Fix Display trait usage for generated AccountId32 types
This commit is contained in:
2025-12-24 05:59:45 +03:00
parent 4c13406c00
commit 2779266f3b
40 changed files with 280 additions and 283 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ fn legacy_kusama_metadata(version: u8) -> (u64, RuntimeMetadata) {
/// Load our kusama types.
/// TODO: This is WRONG at the moment; change to point to kusama types when they exist:
fn kusama_types() -> scale_info_legacy::ChainTypeRegistry {
frame_decode::legacy_types::pezkuwi::relay_chain()
// frame-decode is an external crate (v0.15.0) that uses original naming
frame_decode::legacy_types::polkadot::relay_chain()
}
/// Sanitizing paths changes things between old and new, so disable this in tests by default