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 -2
View File
@@ -352,7 +352,7 @@ mod test {
use super::*;
use sp_core::{self, crypto::Pair as _, ecdsa::Pair as SpPair};
use pezsp_core::{self, crypto::Pair as _, ecdsa::Pair as SpPair};
#[test]
fn check_from_phrase_matches() {
@@ -413,7 +413,7 @@ mod test {
#[test]
fn check_signing_and_verifying_matches() {
use sp_core::ecdsa::Signature as SpSignature;
use pezsp_core::ecdsa::Signature as SpSignature;
for _ in 0..20 {
let (sp_pair, phrase, _seed) = SpPair::generate_with_phrase(Some("Testing"));
+3 -3
View File
@@ -341,7 +341,7 @@ mod test {
use super::*;
use sp_core::{self, crypto::Pair as _, sr25519::Pair as SpPair};
use pezsp_core::{self, crypto::Pair as _, sr25519::Pair as SpPair};
#[test]
fn check_from_phrase_matches() {
@@ -399,7 +399,7 @@ mod test {
#[test]
fn check_dev_accounts_match() {
use sp_keyring::sr25519::Keyring::*;
use pezsp_keyring::sr25519::Keyring::*;
assert_eq!(dev::alice().public_key().0, Alice.public().0);
assert_eq!(dev::bob().public_key().0, Bob.public().0);
@@ -413,7 +413,7 @@ mod test {
#[test]
fn check_signing_and_verifying_matches() {
use sp_core::sr25519::Signature as SpSignature;
use pezsp_core::sr25519::Signature as SpSignature;
for _ in 0..20 {
let (sp_pair, phrase, _seed) = SpPair::generate_with_phrase(Some("Testing"));