fix: resolve pezsp_runtime visibility issues across workspace
- Add direct pezsp-runtime dependency to crates requiring pezsp_runtime types - Update imports to use pezkuwi_sdk:: prefix for primitive crates - Fix subxt_client.rs substitute_type paths to match rebranded metadata - Update umbrella crate with additional feature exports - Fix pezstaging-node-cli, pez-minimal-template-node, teyrchain templates - Delete stale sqlx query cache files (require regeneration with running chain)
This commit is contained in:
@@ -17,7 +17,27 @@ codec = { features = ["derive"], workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
serde_json = { features = ["alloc"], workspace = true }
|
||||
|
||||
# Direct dependency needed for runtime (not through umbrella due to macro visibility issues)
|
||||
pezsp-runtime = { workspace = true }
|
||||
|
||||
pezkuwi-sdk = { workspace = true, default-features = false, features = [
|
||||
# Primitives needed for runtime
|
||||
"pezsp-core",
|
||||
"pezsp-consensus-aura",
|
||||
"pezsp-version",
|
||||
"pezsp-genesis-builder",
|
||||
"pezsp-keyring",
|
||||
"pezsp-api",
|
||||
"pezsp-block-builder",
|
||||
"pezsp-inherents",
|
||||
"pezsp-transaction-pool",
|
||||
"pezsp-offchain",
|
||||
"pezsp-session",
|
||||
|
||||
"pezframe-support",
|
||||
"pezframe-system",
|
||||
"pezframe-executive",
|
||||
|
||||
"pezpallet-aura",
|
||||
"pezpallet-authorship",
|
||||
"pezpallet-balances",
|
||||
@@ -63,6 +83,7 @@ std = [
|
||||
"codec/std",
|
||||
"pezcumulus-pezpallet-teyrchain-system/std",
|
||||
"pezkuwi-sdk/std",
|
||||
"pezsp-runtime/std",
|
||||
"scale-info/std",
|
||||
"serde_json/std",
|
||||
"bizinikiwi-wasm-builder",
|
||||
@@ -70,6 +91,7 @@ std = [
|
||||
runtime-benchmarks = [
|
||||
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
|
||||
"pezkuwi-sdk/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"bizinikiwi-wasm-builder?/runtime-benchmarks",
|
||||
]
|
||||
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ pub fn get_preset(id: &PresetId) -> Option<Vec<u8>> {
|
||||
yap_teyrchain_genesis(
|
||||
Sr25519Keyring::Alice.to_account_id(),
|
||||
authorities,
|
||||
Sr25519Keyring::well_known().map(|x| x.to_account_id()).collect(),
|
||||
Sr25519Keyring::well_known().map(|x: Sr25519Keyring| x.to_account_id()).collect(),
|
||||
ENDOWMENT,
|
||||
DEFAULT_PARA_ID,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user