diff --git a/Cargo.lock b/Cargo.lock
index e2a99a77..8b23c9d5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1144,8 +1144,8 @@ name = "asset-hub-pezkuwichain-emulated-chain"
version = "0.0.0"
dependencies = [
"asset-hub-pezkuwichain-runtime",
- "bp-bridge-hub-pezkuwichain",
"emulated-integration-tests-common",
+ "pezbp-bridge-hub-pezkuwichain",
"pezcumulus-primitives-core",
"pezframe-support",
"pezkuwichain-emulated-chain",
@@ -1192,15 +1192,15 @@ name = "asset-hub-pezkuwichain-runtime"
version = "0.11.0"
dependencies = [
"asset-test-pezutils",
- "assets-common",
"bizinikiwi-wasm-builder",
- "bp-asset-hub-pezkuwichain",
- "bp-asset-hub-zagros",
- "bp-bridge-hub-pezkuwichain",
- "bp-bridge-hub-zagros",
"hex-literal",
"log",
"parity-scale-codec",
+ "pez-assets-common",
+ "pezbp-asset-hub-pezkuwichain",
+ "pezbp-asset-hub-zagros",
+ "pezbp-bridge-hub-pezkuwichain",
+ "pezbp-bridge-hub-zagros",
"pezcumulus-pezpallet-aura-ext",
"pezcumulus-pezpallet-session-benchmarking",
"pezcumulus-pezpallet-teyrchain-system",
@@ -1298,8 +1298,8 @@ name = "asset-hub-zagros-emulated-chain"
version = "0.0.0"
dependencies = [
"asset-hub-zagros-runtime",
- "bp-bridge-hub-zagros",
"emulated-integration-tests-common",
+ "pezbp-bridge-hub-zagros",
"pezcumulus-primitives-core",
"pezframe-support",
"pezsp-core",
@@ -1348,15 +1348,15 @@ version = "0.15.0"
dependencies = [
"alloy-core",
"asset-test-pezutils",
- "assets-common",
"bizinikiwi-wasm-builder",
- "bp-asset-hub-pezkuwichain",
- "bp-asset-hub-zagros",
- "bp-bridge-hub-pezkuwichain",
- "bp-bridge-hub-zagros",
"hex-literal",
"log",
"parity-scale-codec",
+ "pez-assets-common",
+ "pezbp-asset-hub-pezkuwichain",
+ "pezbp-asset-hub-zagros",
+ "pezbp-bridge-hub-pezkuwichain",
+ "pezbp-bridge-hub-zagros",
"pezcumulus-pezpallet-aura-ext",
"pezcumulus-pezpallet-session-benchmarking",
"pezcumulus-pezpallet-teyrchain-system",
@@ -1470,8 +1470,8 @@ dependencies = [
name = "asset-test-pezutils"
version = "7.0.0"
dependencies = [
- "assets-common",
"parity-scale-codec",
+ "pez-assets-common",
"pezcumulus-pezpallet-teyrchain-system",
"pezcumulus-pezpallet-xcmp-queue",
"pezcumulus-primitives-core",
@@ -1496,33 +1496,6 @@ dependencies = [
"xcm-runtime-pezapis",
]
-[[package]]
-name = "assets-common"
-version = "0.7.0"
-dependencies = [
- "impl-trait-for-tuples",
- "parity-scale-codec",
- "pez-ethereum-standards",
- "pezcumulus-primitives-core",
- "pezframe-support",
- "pezframe-system",
- "pezpallet-asset-conversion",
- "pezpallet-assets",
- "pezpallet-revive",
- "pezpallet-revive-uapi",
- "pezpallet-xcm",
- "pezsp-api",
- "pezsp-core",
- "pezsp-runtime",
- "pezstaging-xcm",
- "pezstaging-xcm-builder",
- "pezstaging-xcm-executor",
- "scale-info",
- "serde",
- "teyrchains-common",
- "tracing",
-]
-
[[package]]
name = "async-attributes"
version = "1.1.2"
@@ -2044,9 +2017,9 @@ dependencies = [
[[package]]
name = "bizinikiwi-bn"
-version = "0.6.0"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8cefde413ae13ad3feac77cedffecb4ea0d957d1b519706f801e672bc1e24554"
+checksum = "e2db2e548eb69564b147e3e42301cf63d2375eb9b05f50cc99db14fc2dde6cdf"
dependencies = [
"byteorder",
"crunchy",
@@ -2098,7 +2071,6 @@ name = "bizinikiwi-frame-rpc-system"
version = "28.0.0"
dependencies = [
"assert_matches",
- "bizinikiwi-test-runtime-client",
"docify",
"futures",
"jsonrpsee",
@@ -2137,11 +2109,6 @@ dependencies = [
"anyhow",
"async-std",
"async-trait",
- "bp-header-pez-chain",
- "bp-messages",
- "bp-pezkuwi-core",
- "bp-relayers",
- "bp-teyrchains",
"clap",
"futures",
"hex",
@@ -2150,7 +2117,12 @@ dependencies = [
"pez-equivocation-detector",
"pez-finality-relay",
"pez-messages-relay",
+ "pezbp-header-pez-chain",
+ "pezbp-messages",
+ "pezbp-pezkuwi-core",
+ "pezbp-relayers",
"pezbp-runtime",
+ "pezbp-teyrchains",
"pezframe-support",
"pezframe-system",
"pezpallet-balances",
@@ -2557,294 +2529,6 @@ dependencies = [
"thiserror 1.0.69",
]
-[[package]]
-name = "bp-asset-hub-pezkuwichain"
-version = "0.4.0"
-dependencies = [
- "bp-bridge-hub-pezcumulus",
- "bp-messages",
- "bp-xcm-bridge-hub-router",
- "parity-scale-codec",
- "pezbp-runtime",
- "pezframe-support",
- "pezsp-api",
- "pezsp-core",
- "pezstaging-xcm",
- "scale-info",
- "testnet-teyrchains-constants",
-]
-
-[[package]]
-name = "bp-asset-hub-zagros"
-version = "0.3.0"
-dependencies = [
- "bp-bridge-hub-pezcumulus",
- "bp-messages",
- "bp-xcm-bridge-hub-router",
- "parity-scale-codec",
- "pezbp-runtime",
- "pezframe-support",
- "pezsp-api",
- "pezsp-core",
- "pezstaging-xcm",
- "scale-info",
- "testnet-teyrchains-constants",
-]
-
-[[package]]
-name = "bp-beefy"
-version = "0.1.0"
-dependencies = [
- "parity-scale-codec",
- "pez-binary-merkle-tree",
- "pezbp-runtime",
- "pezframe-support",
- "pezpallet-beefy-mmr",
- "pezpallet-mmr",
- "pezsp-consensus-beefy",
- "pezsp-runtime",
- "pezsp-std",
- "scale-info",
- "serde",
-]
-
-[[package]]
-name = "bp-bridge-hub-pezcumulus"
-version = "0.7.0"
-dependencies = [
- "bp-messages",
- "bp-pezkuwi-core",
- "pezbp-runtime",
- "pezframe-support",
- "pezframe-system",
- "pezkuwi-primitives",
- "pezsp-api",
- "pezsp-std",
- "teyrchains-common",
-]
-
-[[package]]
-name = "bp-bridge-hub-pezkuwichain"
-version = "0.7.0"
-dependencies = [
- "bp-bridge-hub-pezcumulus",
- "bp-messages",
- "bp-xcm-bridge-hub",
- "parity-scale-codec",
- "pezbp-runtime",
- "pezframe-support",
- "pezsp-api",
- "pezsp-runtime",
- "pezsp-std",
-]
-
-[[package]]
-name = "bp-bridge-hub-zagros"
-version = "0.3.0"
-dependencies = [
- "bp-bridge-hub-pezcumulus",
- "bp-messages",
- "bp-xcm-bridge-hub",
- "parity-scale-codec",
- "pezbp-runtime",
- "pezframe-support",
- "pezsp-api",
- "pezsp-runtime",
- "pezsp-std",
-]
-
-[[package]]
-name = "bp-header-pez-chain"
-version = "0.7.0"
-dependencies = [
- "bp-test-utils",
- "finality-grandpa",
- "hex",
- "hex-literal",
- "parity-scale-codec",
- "pezbp-runtime",
- "pezframe-support",
- "pezsp-consensus-grandpa",
- "pezsp-core",
- "pezsp-runtime",
- "pezsp-std",
- "scale-info",
- "serde",
-]
-
-[[package]]
-name = "bp-messages"
-version = "0.7.0"
-dependencies = [
- "bp-header-pez-chain",
- "hex",
- "hex-literal",
- "parity-scale-codec",
- "pezbp-runtime",
- "pezframe-support",
- "pezsp-core",
- "pezsp-io",
- "pezsp-std",
- "scale-info",
- "serde",
-]
-
-[[package]]
-name = "bp-pezkuwi-bulletin"
-version = "0.4.0"
-dependencies = [
- "bp-header-pez-chain",
- "bp-messages",
- "bp-pezkuwi-core",
- "parity-scale-codec",
- "pezbp-runtime",
- "pezframe-support",
- "pezframe-system",
- "pezsp-api",
- "pezsp-runtime",
- "pezsp-std",
- "scale-info",
-]
-
-[[package]]
-name = "bp-pezkuwi-core"
-version = "0.7.0"
-dependencies = [
- "bp-messages",
- "hex",
- "parity-scale-codec",
- "pezbp-runtime",
- "pezframe-support",
- "pezframe-system",
- "pezsp-core",
- "pezsp-runtime",
- "pezsp-std",
- "scale-info",
- "serde",
-]
-
-[[package]]
-name = "bp-pezkuwichain"
-version = "0.6.0"
-dependencies = [
- "bp-header-pez-chain",
- "bp-pezkuwi-core",
- "pezbp-runtime",
- "pezframe-support",
- "pezsp-api",
- "pezsp-std",
-]
-
-[[package]]
-name = "bp-relayers"
-version = "0.7.0"
-dependencies = [
- "bp-header-pez-chain",
- "bp-messages",
- "bp-teyrchains",
- "hex-literal",
- "parity-scale-codec",
- "pezbp-runtime",
- "pezframe-support",
- "pezframe-system",
- "pezpallet-utility",
- "pezsp-runtime",
- "pezsp-std",
- "scale-info",
-]
-
-[[package]]
-name = "bp-test-utils"
-version = "0.7.0"
-dependencies = [
- "bp-header-pez-chain",
- "bp-pezkuwi-core",
- "bp-teyrchains",
- "ed25519-dalek",
- "finality-grandpa",
- "parity-scale-codec",
- "pezbp-runtime",
- "pezsp-application-crypto",
- "pezsp-consensus-grandpa",
- "pezsp-core",
- "pezsp-runtime",
- "pezsp-std",
- "pezsp-trie",
-]
-
-[[package]]
-name = "bp-teyrchains"
-version = "0.7.0"
-dependencies = [
- "bp-header-pez-chain",
- "bp-pezkuwi-core",
- "impl-trait-for-tuples",
- "parity-scale-codec",
- "pezbp-runtime",
- "pezframe-support",
- "pezsp-core",
- "pezsp-runtime",
- "pezsp-std",
- "scale-info",
-]
-
-[[package]]
-name = "bp-xcm-bridge-hub"
-version = "0.2.0"
-dependencies = [
- "bp-messages",
- "parity-scale-codec",
- "pezbp-runtime",
- "pezframe-support",
- "pezsp-core",
- "pezsp-io",
- "pezsp-std",
- "pezstaging-xcm",
- "scale-info",
- "serde",
-]
-
-[[package]]
-name = "bp-xcm-bridge-hub-router"
-version = "0.6.0"
-dependencies = [
- "parity-scale-codec",
- "pezsp-core",
- "pezsp-runtime",
- "pezstaging-xcm",
- "scale-info",
-]
-
-[[package]]
-name = "bp-zagros"
-version = "0.3.0"
-dependencies = [
- "bp-header-pez-chain",
- "bp-pezkuwi-core",
- "pezbp-runtime",
- "pezframe-support",
- "pezsp-api",
- "pezsp-std",
-]
-
-[[package]]
-name = "bridge-hub-common"
-version = "0.1.0"
-dependencies = [
- "parity-scale-codec",
- "pezcumulus-primitives-core",
- "pezframe-support",
- "pezpallet-message-queue",
- "pezsnowbridge-core",
- "pezsp-core",
- "pezsp-runtime",
- "pezsp-std",
- "pezstaging-xcm",
- "pezstaging-xcm-builder",
- "pezstaging-xcm-executor",
- "scale-info",
-]
-
[[package]]
name = "bs58"
version = "0.5.1"
@@ -4945,11 +4629,11 @@ name = "emulated-integration-tests-common"
version = "3.0.0"
dependencies = [
"asset-test-pezutils",
- "bp-messages",
- "bp-xcm-bridge-hub",
"hex-literal",
"parity-scale-codec",
"paste",
+ "pezbp-messages",
+ "pezbp-xcm-bridge-hub",
"pezcumulus-pezpallet-teyrchain-system",
"pezcumulus-pezpallet-xcmp-queue",
"pezcumulus-primitives-core",
@@ -5632,28 +5316,6 @@ dependencies = [
"serde",
]
-[[package]]
-name = "frame-remote-externalities"
-version = "0.35.0"
-dependencies = [
- "bizinikiwi-rpc-client",
- "futures",
- "indicatif",
- "jsonrpsee",
- "log",
- "parity-scale-codec",
- "pezsp-core",
- "pezsp-crypto-hashing",
- "pezsp-io",
- "pezsp-runtime",
- "pezsp-state-machine",
- "pezsp-tracing",
- "serde",
- "spinners",
- "tokio",
- "tokio-retry",
-]
-
[[package]]
name = "frame-storage-access-test-runtime"
version = "0.1.0"
@@ -9955,6 +9617,33 @@ dependencies = [
"indexmap 2.12.1",
]
+[[package]]
+name = "pez-assets-common"
+version = "0.7.1"
+dependencies = [
+ "impl-trait-for-tuples",
+ "parity-scale-codec",
+ "pez-ethereum-standards",
+ "pezcumulus-primitives-core",
+ "pezframe-support",
+ "pezframe-system",
+ "pezpallet-asset-conversion",
+ "pezpallet-assets",
+ "pezpallet-revive",
+ "pezpallet-revive-uapi",
+ "pezpallet-xcm",
+ "pezsp-api",
+ "pezsp-core",
+ "pezsp-runtime",
+ "pezstaging-xcm",
+ "pezstaging-xcm-builder",
+ "pezstaging-xcm-executor",
+ "scale-info",
+ "serde",
+ "teyrchains-common",
+ "tracing",
+]
+
[[package]]
name = "pez-binary-merkle-tree"
version = "14.0.1"
@@ -9974,9 +9663,11 @@ dependencies = [
"cmd_lib",
"docify",
"parity-scale-codec",
+ "pezframe",
"pezframe-support",
- "pezkuwi-sdk-frame",
+ "pezframe-system",
"pezsc-chain-spec",
+ "pezsp-api",
"pezsp-application-crypto",
"pezsp-core",
"pezsp-genesis-builder",
@@ -9993,10 +9684,10 @@ version = "0.1.0"
dependencies = [
"async-std",
"async-trait",
- "bp-header-pez-chain",
"futures",
"num-traits",
"pez-finality-relay",
+ "pezbp-header-pez-chain",
"relay-utils",
"tracing",
]
@@ -10013,7 +9704,7 @@ dependencies = [
[[package]]
name = "pez-ethereum-standards"
-version = "0.1.0"
+version = "0.1.1"
dependencies = [
"alloy-core",
]
@@ -10025,10 +9716,10 @@ dependencies = [
"async-std",
"async-trait",
"backoff",
- "bp-header-pez-chain",
"futures",
"num-traits",
"parking_lot 0.12.5",
+ "pezbp-header-pez-chain",
"relay-utils",
"tracing",
]
@@ -10082,12 +9773,12 @@ version = "0.1.0"
dependencies = [
"async-std",
"async-trait",
- "bp-messages",
"futures",
"hex",
"num-traits",
"parking_lot 0.12.5",
"pez-finality-relay",
+ "pezbp-messages",
"pezsp-arithmetic",
"pezsp-core",
"relay-utils",
@@ -10266,10 +9957,10 @@ dependencies = [
name = "pez-penpal-runtime"
version = "0.14.0"
dependencies = [
- "assets-common",
"bizinikiwi-wasm-builder",
"hex-literal",
"parity-scale-codec",
+ "pez-assets-common",
"pezcumulus-pezpallet-aura-ext",
"pezcumulus-pezpallet-session-benchmarking",
"pezcumulus-pezpallet-teyrchain-system",
@@ -10479,8 +10170,8 @@ version = "0.0.0"
dependencies = [
"anyhow",
"env_logger 0.11.8",
+ "pezkuwi-zombienet-sdk",
"tokio",
- "zombienet-sdk",
]
[[package]]
@@ -10505,6 +10196,201 @@ dependencies = [
"syn 2.0.111",
]
+[[package]]
+name = "pezbp-asset-hub-pezkuwichain"
+version = "0.4.0"
+dependencies = [
+ "parity-scale-codec",
+ "pezbp-bridge-hub-pezcumulus",
+ "pezbp-messages",
+ "pezbp-runtime",
+ "pezbp-xcm-bridge-hub-router",
+ "pezframe-support",
+ "pezsp-api",
+ "pezsp-core",
+ "pezstaging-xcm",
+ "scale-info",
+ "testnet-teyrchains-constants",
+]
+
+[[package]]
+name = "pezbp-asset-hub-zagros"
+version = "0.3.0"
+dependencies = [
+ "parity-scale-codec",
+ "pezbp-bridge-hub-pezcumulus",
+ "pezbp-messages",
+ "pezbp-runtime",
+ "pezbp-xcm-bridge-hub-router",
+ "pezframe-support",
+ "pezsp-api",
+ "pezsp-core",
+ "pezstaging-xcm",
+ "scale-info",
+ "testnet-teyrchains-constants",
+]
+
+[[package]]
+name = "pezbp-beefy"
+version = "0.1.0"
+dependencies = [
+ "parity-scale-codec",
+ "pez-binary-merkle-tree",
+ "pezbp-runtime",
+ "pezframe-support",
+ "pezpallet-beefy-mmr",
+ "pezpallet-mmr",
+ "pezsp-consensus-beefy",
+ "pezsp-runtime",
+ "pezsp-std",
+ "scale-info",
+ "serde",
+]
+
+[[package]]
+name = "pezbp-bridge-hub-pezcumulus"
+version = "0.7.0"
+dependencies = [
+ "pezbp-messages",
+ "pezbp-pezkuwi-core",
+ "pezbp-runtime",
+ "pezframe-support",
+ "pezframe-system",
+ "pezkuwi-primitives",
+ "pezsp-api",
+ "pezsp-std",
+ "teyrchains-common",
+]
+
+[[package]]
+name = "pezbp-bridge-hub-pezkuwichain"
+version = "0.7.0"
+dependencies = [
+ "parity-scale-codec",
+ "pezbp-bridge-hub-pezcumulus",
+ "pezbp-messages",
+ "pezbp-runtime",
+ "pezbp-xcm-bridge-hub",
+ "pezframe-support",
+ "pezsp-api",
+ "pezsp-runtime",
+ "pezsp-std",
+]
+
+[[package]]
+name = "pezbp-bridge-hub-zagros"
+version = "0.3.0"
+dependencies = [
+ "parity-scale-codec",
+ "pezbp-bridge-hub-pezcumulus",
+ "pezbp-messages",
+ "pezbp-runtime",
+ "pezbp-xcm-bridge-hub",
+ "pezframe-support",
+ "pezsp-api",
+ "pezsp-runtime",
+ "pezsp-std",
+]
+
+[[package]]
+name = "pezbp-header-pez-chain"
+version = "0.7.0"
+dependencies = [
+ "finality-grandpa",
+ "hex",
+ "hex-literal",
+ "parity-scale-codec",
+ "pezbp-runtime",
+ "pezframe-support",
+ "pezsp-consensus-grandpa",
+ "pezsp-core",
+ "pezsp-runtime",
+ "pezsp-std",
+ "scale-info",
+ "serde",
+]
+
+[[package]]
+name = "pezbp-messages"
+version = "0.7.0"
+dependencies = [
+ "hex",
+ "hex-literal",
+ "parity-scale-codec",
+ "pezbp-header-pez-chain",
+ "pezbp-runtime",
+ "pezframe-support",
+ "pezsp-core",
+ "pezsp-io",
+ "pezsp-std",
+ "scale-info",
+ "serde",
+]
+
+[[package]]
+name = "pezbp-pezkuwi-bulletin"
+version = "0.4.0"
+dependencies = [
+ "parity-scale-codec",
+ "pezbp-header-pez-chain",
+ "pezbp-messages",
+ "pezbp-pezkuwi-core",
+ "pezbp-runtime",
+ "pezframe-support",
+ "pezframe-system",
+ "pezsp-api",
+ "pezsp-runtime",
+ "pezsp-std",
+ "scale-info",
+]
+
+[[package]]
+name = "pezbp-pezkuwi-core"
+version = "0.7.0"
+dependencies = [
+ "hex",
+ "parity-scale-codec",
+ "pezbp-messages",
+ "pezbp-runtime",
+ "pezframe-support",
+ "pezframe-system",
+ "pezsp-core",
+ "pezsp-runtime",
+ "pezsp-std",
+ "scale-info",
+ "serde",
+]
+
+[[package]]
+name = "pezbp-pezkuwichain"
+version = "0.6.0"
+dependencies = [
+ "pezbp-header-pez-chain",
+ "pezbp-pezkuwi-core",
+ "pezbp-runtime",
+ "pezframe-support",
+ "pezsp-api",
+ "pezsp-std",
+]
+
+[[package]]
+name = "pezbp-relayers"
+version = "0.7.0"
+dependencies = [
+ "hex-literal",
+ "parity-scale-codec",
+ "pezbp-header-pez-chain",
+ "pezbp-messages",
+ "pezbp-runtime",
+ "pezbp-teyrchains",
+ "pezframe-support",
+ "pezframe-system",
+ "pezpallet-utility",
+ "pezsp-runtime",
+ "pezsp-std",
+ "scale-info",
+]
+
[[package]]
name = "pezbp-runtime"
version = "0.7.0"
@@ -10528,13 +10414,105 @@ dependencies = [
"trie-db",
]
+[[package]]
+name = "pezbp-test-utils"
+version = "0.7.0"
+dependencies = [
+ "ed25519-dalek",
+ "finality-grandpa",
+ "parity-scale-codec",
+ "pezbp-header-pez-chain",
+ "pezbp-pezkuwi-core",
+ "pezbp-runtime",
+ "pezbp-teyrchains",
+ "pezsp-application-crypto",
+ "pezsp-consensus-grandpa",
+ "pezsp-core",
+ "pezsp-runtime",
+ "pezsp-std",
+ "pezsp-trie",
+]
+
+[[package]]
+name = "pezbp-teyrchains"
+version = "0.7.0"
+dependencies = [
+ "impl-trait-for-tuples",
+ "parity-scale-codec",
+ "pezbp-header-pez-chain",
+ "pezbp-pezkuwi-core",
+ "pezbp-runtime",
+ "pezframe-support",
+ "pezsp-core",
+ "pezsp-runtime",
+ "pezsp-std",
+ "scale-info",
+]
+
+[[package]]
+name = "pezbp-xcm-bridge-hub"
+version = "0.2.0"
+dependencies = [
+ "parity-scale-codec",
+ "pezbp-messages",
+ "pezbp-runtime",
+ "pezframe-support",
+ "pezsp-core",
+ "pezsp-io",
+ "pezsp-std",
+ "pezstaging-xcm",
+ "scale-info",
+ "serde",
+]
+
+[[package]]
+name = "pezbp-xcm-bridge-hub-router"
+version = "0.7.0"
+dependencies = [
+ "parity-scale-codec",
+ "pezsp-core",
+ "pezsp-runtime",
+ "pezstaging-xcm",
+ "scale-info",
+]
+
+[[package]]
+name = "pezbp-zagros"
+version = "0.3.0"
+dependencies = [
+ "pezbp-header-pez-chain",
+ "pezbp-pezkuwi-core",
+ "pezbp-runtime",
+ "pezframe-support",
+ "pezsp-api",
+ "pezsp-std",
+]
+
+[[package]]
+name = "pezbridge-hub-common"
+version = "0.1.1"
+dependencies = [
+ "parity-scale-codec",
+ "pezcumulus-primitives-core",
+ "pezframe-support",
+ "pezpallet-message-queue",
+ "pezsnowbridge-core",
+ "pezsp-core",
+ "pezsp-runtime",
+ "pezsp-std",
+ "pezstaging-xcm",
+ "pezstaging-xcm-builder",
+ "pezstaging-xcm-executor",
+ "scale-info",
+]
+
[[package]]
name = "pezbridge-hub-pezkuwichain-emulated-chain"
version = "0.0.0"
dependencies = [
- "bp-messages",
- "bridge-hub-common",
"emulated-integration-tests-common",
+ "pezbp-messages",
+ "pezbridge-hub-common",
"pezbridge-hub-pezkuwichain-runtime",
"pezframe-support",
"pezsp-core",
@@ -10549,10 +10527,10 @@ name = "pezbridge-hub-pezkuwichain-integration-tests"
version = "1.0.0"
dependencies = [
"asset-hub-pezkuwichain-runtime",
- "bp-asset-hub-pezkuwichain",
"emulated-integration-tests-common",
"hex-literal",
"parity-scale-codec",
+ "pezbp-asset-hub-pezkuwichain",
"pezcumulus-pezpallet-xcmp-queue",
"pezframe-support",
"pezkuwichain-system-emulated-network",
@@ -10583,22 +10561,22 @@ name = "pezbridge-hub-pezkuwichain-runtime"
version = "0.5.0"
dependencies = [
"bizinikiwi-wasm-builder",
- "bp-asset-hub-pezkuwichain",
- "bp-asset-hub-zagros",
- "bp-bridge-hub-pezkuwichain",
- "bp-bridge-hub-zagros",
- "bp-header-pez-chain",
- "bp-messages",
- "bp-pezkuwi-bulletin",
- "bp-pezkuwi-core",
- "bp-relayers",
- "bp-teyrchains",
- "bp-xcm-bridge-hub-router",
- "bp-zagros",
- "bridge-hub-common",
"hex-literal",
"parity-scale-codec",
+ "pezbp-asset-hub-pezkuwichain",
+ "pezbp-asset-hub-zagros",
+ "pezbp-bridge-hub-pezkuwichain",
+ "pezbp-bridge-hub-zagros",
+ "pezbp-header-pez-chain",
+ "pezbp-messages",
+ "pezbp-pezkuwi-bulletin",
+ "pezbp-pezkuwi-core",
+ "pezbp-relayers",
"pezbp-runtime",
+ "pezbp-teyrchains",
+ "pezbp-xcm-bridge-hub-router",
+ "pezbp-zagros",
+ "pezbridge-hub-common",
"pezbridge-hub-test-utils",
"pezbridge-runtime-common",
"pezcumulus-pezpallet-aura-ext",
@@ -10686,15 +10664,15 @@ name = "pezbridge-hub-test-utils"
version = "0.7.0"
dependencies = [
"asset-test-pezutils",
- "bp-header-pez-chain",
- "bp-messages",
- "bp-pezkuwi-core",
- "bp-relayers",
- "bp-test-utils",
- "bp-teyrchains",
"impl-trait-for-tuples",
"parity-scale-codec",
+ "pezbp-header-pez-chain",
+ "pezbp-messages",
+ "pezbp-pezkuwi-core",
+ "pezbp-relayers",
"pezbp-runtime",
+ "pezbp-test-utils",
+ "pezbp-teyrchains",
"pezcumulus-pezpallet-teyrchain-system",
"pezcumulus-pezpallet-xcmp-queue",
"pezframe-support",
@@ -10726,9 +10704,9 @@ dependencies = [
name = "pezbridge-hub-zagros-emulated-chain"
version = "0.0.0"
dependencies = [
- "bp-messages",
- "bridge-hub-common",
"emulated-integration-tests-common",
+ "pezbp-messages",
+ "pezbridge-hub-common",
"pezbridge-hub-zagros-runtime",
"pezframe-support",
"pezsp-core",
@@ -10743,11 +10721,11 @@ name = "pezbridge-hub-zagros-integration-tests"
version = "1.0.0"
dependencies = [
"asset-hub-zagros-runtime",
- "bp-asset-hub-zagros",
- "bridge-hub-common",
"emulated-integration-tests-common",
"hex-literal",
"parity-scale-codec",
+ "pezbp-asset-hub-zagros",
+ "pezbridge-hub-common",
"pezbridge-hub-zagros-runtime",
"pezcumulus-pezpallet-teyrchain-system",
"pezcumulus-pezpallet-xcmp-queue",
@@ -10786,21 +10764,21 @@ name = "pezbridge-hub-zagros-runtime"
version = "0.3.0"
dependencies = [
"bizinikiwi-wasm-builder",
- "bp-asset-hub-pezkuwichain",
- "bp-asset-hub-zagros",
- "bp-bridge-hub-pezkuwichain",
- "bp-bridge-hub-zagros",
- "bp-header-pez-chain",
- "bp-messages",
- "bp-pezkuwi-core",
- "bp-pezkuwichain",
- "bp-relayers",
- "bp-teyrchains",
- "bp-xcm-bridge-hub-router",
- "bridge-hub-common",
"hex-literal",
"parity-scale-codec",
+ "pezbp-asset-hub-pezkuwichain",
+ "pezbp-asset-hub-zagros",
+ "pezbp-bridge-hub-pezkuwichain",
+ "pezbp-bridge-hub-zagros",
+ "pezbp-header-pez-chain",
+ "pezbp-messages",
+ "pezbp-pezkuwi-core",
+ "pezbp-pezkuwichain",
+ "pezbp-relayers",
"pezbp-runtime",
+ "pezbp-teyrchains",
+ "pezbp-xcm-bridge-hub-router",
+ "pezbridge-hub-common",
"pezbridge-hub-test-utils",
"pezbridge-runtime-common",
"pezcumulus-pezpallet-aura-ext",
@@ -10893,14 +10871,14 @@ dependencies = [
name = "pezbridge-runtime-common"
version = "0.7.0"
dependencies = [
- "bp-header-pez-chain",
- "bp-messages",
- "bp-pezkuwi-core",
- "bp-relayers",
- "bp-test-utils",
- "bp-teyrchains",
"parity-scale-codec",
+ "pezbp-header-pez-chain",
+ "pezbp-messages",
+ "pezbp-pezkuwi-core",
+ "pezbp-relayers",
"pezbp-runtime",
+ "pezbp-test-utils",
+ "pezbp-teyrchains",
"pezframe-support",
"pezframe-system",
"pezpallet-balances",
@@ -10973,11 +10951,7 @@ dependencies = [
"pezcumulus-client-consensus-common",
"pezcumulus-client-network",
"pezcumulus-primitives-core",
- "pezcumulus-test-client",
- "pezcumulus-test-relay-sproof-builder",
- "pezcumulus-test-runtime",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-overseer",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
@@ -11008,8 +10982,6 @@ dependencies = [
"pezcumulus-primitives-aura",
"pezcumulus-primitives-core",
"pezcumulus-relay-chain-interface",
- "pezcumulus-test-client",
- "pezcumulus-test-relay-sproof-builder",
"pezkuwi-node-subsystem",
"pezkuwi-node-subsystem-util",
"pezkuwi-overseer",
@@ -11132,14 +11104,10 @@ dependencies = [
"parity-scale-codec",
"parking_lot 0.12.5",
"pezcumulus-primitives-core",
- "pezcumulus-relay-chain-inprocess-interface",
"pezcumulus-relay-chain-interface",
- "pezcumulus-test-service",
"pezkuwi-node-subsystem",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
- "pezkuwi-test-client",
"pezkuwi-teyrchain-primitives",
"pezsc-client-api",
"pezsc-network",
@@ -11235,7 +11203,7 @@ dependencies = [
[[package]]
name = "pezcumulus-client-teyrchain-inherent"
-version = "0.1.0"
+version = "0.1.1"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -11424,8 +11392,8 @@ version = "0.7.1"
dependencies = [
"approx",
"bounded-collections 0.3.2",
- "bp-xcm-bridge-hub-router",
"parity-scale-codec",
+ "pezbp-xcm-bridge-hub-router",
"pezcumulus-pezpallet-teyrchain-system",
"pezcumulus-primitives-core",
"pezframe-benchmarking",
@@ -11584,7 +11552,6 @@ dependencies = [
"pezkuwi-cli",
"pezkuwi-primitives",
"pezkuwi-service",
- "pezkuwi-test-client",
"pezsc-cli",
"pezsc-client-api",
"pezsc-network",
@@ -11877,9 +11844,9 @@ dependencies = [
"parity-scale-codec",
"pezcumulus-primitives-core",
"pezkuwi-primitives",
+ "pezkuwi-zombienet-configuration",
+ "pezkuwi-zombienet-sdk",
"tokio",
- "zombienet-configuration",
- "zombienet-sdk",
]
[[package]]
@@ -11893,6 +11860,9 @@ dependencies = [
"parity-scale-codec",
"pezcumulus-zombienet-sdk-helpers",
"pezkuwi-primitives",
+ "pezkuwi-zombienet-configuration",
+ "pezkuwi-zombienet-orchestrator",
+ "pezkuwi-zombienet-sdk",
"pezsc-statement-store",
"pezsp-core",
"pezsp-keyring",
@@ -11901,9 +11871,40 @@ dependencies = [
"serde",
"serde_json",
"tokio",
- "zombienet-configuration",
- "zombienet-orchestrator",
- "zombienet-sdk",
+]
+
+[[package]]
+name = "pezframe"
+version = "0.1.0"
+dependencies = [
+ "docify",
+ "log",
+ "parity-scale-codec",
+ "pezframe-benchmarking",
+ "pezframe-executive",
+ "pezframe-support",
+ "pezframe-system",
+ "pezframe-system-benchmarking",
+ "pezframe-system-rpc-runtime-api",
+ "pezframe-try-runtime",
+ "pezsp-api",
+ "pezsp-arithmetic",
+ "pezsp-block-builder",
+ "pezsp-consensus-aura",
+ "pezsp-consensus-grandpa",
+ "pezsp-core",
+ "pezsp-genesis-builder",
+ "pezsp-inherents",
+ "pezsp-io",
+ "pezsp-keyring",
+ "pezsp-offchain",
+ "pezsp-runtime",
+ "pezsp-session",
+ "pezsp-storage",
+ "pezsp-transaction-pool",
+ "pezsp-version",
+ "scale-info",
+ "serde",
]
[[package]]
@@ -11941,7 +11942,6 @@ version = "32.0.0"
dependencies = [
"Inflector",
"array-bytes 6.2.3",
- "bizinikiwi-test-runtime",
"chrono",
"clap",
"comfy-table",
@@ -11955,7 +11955,6 @@ dependencies = [
"parity-scale-codec",
"pezcumulus-client-teyrchain-inherent",
"pezcumulus-primitives-proof-size-hostfunction",
- "pezcumulus-test-runtime",
"pezframe-benchmarking",
"pezframe-support",
"pezframe-system",
@@ -11999,7 +11998,6 @@ dependencies = [
"serde_json",
"thiserror 1.0.69",
"thousands",
- "zagros-runtime",
]
[[package]]
@@ -12122,6 +12120,28 @@ dependencies = [
"tracing-subscriber 0.3.22",
]
+[[package]]
+name = "pezframe-remote-externalities"
+version = "0.35.0"
+dependencies = [
+ "bizinikiwi-rpc-client",
+ "futures",
+ "indicatif",
+ "jsonrpsee",
+ "log",
+ "parity-scale-codec",
+ "pezsp-core",
+ "pezsp-crypto-hashing",
+ "pezsp-io",
+ "pezsp-runtime",
+ "pezsp-state-machine",
+ "pezsp-tracing",
+ "serde",
+ "spinners",
+ "tokio",
+ "tokio-retry",
+]
+
[[package]]
name = "pezframe-support"
version = "28.0.0"
@@ -12273,7 +12293,9 @@ name = "pezframe-support-test-stg-pezframe-crate"
version = "0.1.0"
dependencies = [
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"scale-info",
]
@@ -12367,11 +12389,9 @@ dependencies = [
"pezkuwi-node-metrics",
"pezkuwi-node-network-protocol",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezsc-keystore",
"pezsp-application-crypto",
"pezsp-authority-discovery",
@@ -12395,7 +12415,6 @@ dependencies = [
"pez-tracing-gum",
"pezkuwi-node-network-protocol",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-primitives",
"pezsp-application-crypto",
@@ -12421,12 +12440,9 @@ dependencies = [
"pezkuwi-erasure-coding",
"pezkuwi-node-network-protocol",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
- "pezkuwi-subsystem-bench",
"pezsc-network",
"pezsp-core",
"pezsp-keyring",
@@ -12452,12 +12468,9 @@ dependencies = [
"pezkuwi-erasure-coding",
"pezkuwi-node-network-protocol",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
- "pezkuwi-subsystem-bench",
"pezsc-network",
"pezsp-core",
"pezsp-keyring",
@@ -12520,11 +12533,9 @@ dependencies = [
"pez-tracing-gum",
"pezkuwi-node-network-protocol",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezsc-keystore",
"pezsc-network",
"pezsp-core",
@@ -12564,11 +12575,9 @@ dependencies = [
"pez-tracing-gum",
"pezkuwi-node-network-protocol",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezsc-keystore",
"pezsc-network",
"pezsp-application-crypto",
@@ -12605,7 +12614,6 @@ dependencies = [
"pez-tracing-gum",
"pezkuwi-node-network-protocol",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-primitives",
"pezsc-network",
@@ -12639,11 +12647,9 @@ dependencies = [
"pezkuwi-node-metrics",
"pezkuwi-node-network-protocol",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-overseer",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezsc-network",
"pezsp-consensus",
"pezsp-core",
@@ -12661,11 +12667,9 @@ dependencies = [
"pez-tracing-gum",
"pezkuwi-erasure-coding",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezsp-core",
"pezsp-keyring",
"rstest",
@@ -12690,13 +12694,10 @@ dependencies = [
"parking_lot 0.12.5",
"pez-tracing-gum",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-overseer",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
- "pezkuwi-subsystem-bench",
"pezsc-keystore",
"pezsp-application-crypto",
"pezsp-consensus",
@@ -12730,7 +12731,6 @@ dependencies = [
"pezkuwi-node-metrics",
"pezkuwi-node-network-protocol",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-overseer",
"pezkuwi-pez-node-primitives",
@@ -12760,11 +12760,9 @@ dependencies = [
"pez-tracing-gum",
"pezkuwi-erasure-coding",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezsp-consensus",
"pezsp-core",
"pezsp-keyring",
@@ -12783,11 +12781,9 @@ dependencies = [
"pez-tracing-gum",
"pezkuwi-erasure-coding",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezkuwi-statement-table",
"pezkuwi-teyrchain-primitives",
"pezsc-keystore",
@@ -12807,10 +12803,8 @@ dependencies = [
"futures",
"pez-tracing-gum",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezsp-keystore",
"thiserror 1.0.69",
"wasm-timer",
@@ -12829,12 +12823,10 @@ dependencies = [
"pezkuwi-node-core-pvf",
"pezkuwi-node-metrics",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-overseer",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezkuwi-teyrchain-primitives",
"pezsp-application-crypto",
"pezsp-core",
@@ -12854,7 +12846,6 @@ dependencies = [
"pez-tracing-gum",
"pezkuwi-node-metrics",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-types",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
@@ -12876,7 +12867,6 @@ dependencies = [
"parking_lot 0.12.5",
"pez-tracing-gum",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
@@ -12896,12 +12886,9 @@ dependencies = [
"parity-scale-codec",
"pez-tracing-gum",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
- "pezkuwi-subsystem-bench",
"pezsc-keystore",
"pezsp-application-crypto",
"pezsp-core",
@@ -12921,10 +12908,8 @@ dependencies = [
"futures",
"pez-tracing-gum",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezsp-core",
"pezsp-tracing",
"rand 0.8.5",
@@ -12942,11 +12927,9 @@ dependencies = [
"futures-timer",
"pez-tracing-gum",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezsc-consensus-slots",
"pezsp-application-crypto",
"pezsp-keystore",
@@ -12968,17 +12951,14 @@ dependencies = [
"libc",
"parity-scale-codec",
"pez-tracing-gum",
- "pezkuwi-node-core-pvf",
"pezkuwi-node-core-pvf-common",
"pezkuwi-node-core-pvf-execute-worker",
"pezkuwi-node-core-pvf-prepare-worker",
"pezkuwi-node-metrics",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
"pezkuwi-teyrchain-primitives",
- "pezkuwichain-runtime",
"pezsc-sysinfo",
"pezsc-tracing",
"pezsp-core",
@@ -12990,8 +12970,6 @@ dependencies = [
"slotmap",
"strum 0.26.3",
"tempfile",
- "test-teyrchain-adder",
- "test-teyrchain-halt",
"thiserror 1.0.69",
"tokio",
]
@@ -13004,10 +12982,8 @@ dependencies = [
"futures-timer",
"pez-tracing-gum",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezsc-keystore",
"pezsp-application-crypto",
"pezsp-core",
@@ -13074,7 +13050,6 @@ dependencies = [
"pez-tracing-gum",
"pezkuwi-node-core-pvf-common",
"pezkuwi-primitives",
- "pezkuwichain-runtime",
"pezsp-maybe-compressed-blob",
"pezstaging-tracking-allocator",
"tikv-jemalloc-ctl",
@@ -13090,11 +13065,9 @@ dependencies = [
"pez-tracing-gum",
"pezkuwi-node-metrics",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-types",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezsp-api",
"pezsp-consensus-babe",
"pezsp-core",
@@ -13240,12 +13213,10 @@ dependencies = [
"pezkuwi-node-metrics",
"pezkuwi-node-network-protocol",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-types",
"pezkuwi-overseer",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezsp-application-crypto",
"pezsp-core",
"pezsp-keystore",
@@ -13606,10 +13577,9 @@ dependencies = [
[[package]]
name = "pezkuwi-sdk"
-version = "0.1.0"
+version = "0.1.1"
dependencies = [
"asset-test-pezutils",
- "assets-common",
"bizinikiwi-bip39",
"bizinikiwi-build-script-utils",
"bizinikiwi-frame-rpc-support",
@@ -13619,16 +13589,7 @@ dependencies = [
"bizinikiwi-state-trie-migration-rpc",
"bizinikiwi-txtesttool",
"bizinikiwi-wasm-builder",
- "bp-header-pez-chain",
- "bp-messages",
- "bp-pezkuwi-core",
- "bp-relayers",
- "bp-test-utils",
- "bp-teyrchains",
- "bp-xcm-bridge-hub",
- "bp-xcm-bridge-hub-router",
- "bridge-hub-common",
- "frame-remote-externalities",
+ "pez-assets-common",
"pez-binary-merkle-tree",
"pez-ethereum-standards",
"pez-fork-tree",
@@ -13637,7 +13598,16 @@ dependencies = [
"pez-subkey",
"pez-tracing-gum",
"pez-tracing-gum-proc-macro",
+ "pezbp-header-pez-chain",
+ "pezbp-messages",
+ "pezbp-pezkuwi-core",
+ "pezbp-relayers",
"pezbp-runtime",
+ "pezbp-test-utils",
+ "pezbp-teyrchains",
+ "pezbp-xcm-bridge-hub",
+ "pezbp-xcm-bridge-hub-router",
+ "pezbridge-hub-common",
"pezbridge-hub-test-utils",
"pezbridge-runtime-common",
"pezcumulus-client-bootnodes",
@@ -13673,6 +13643,7 @@ dependencies = [
"pezcumulus-relay-chain-minimal-node",
"pezcumulus-relay-chain-rpc-interface",
"pezcumulus-relay-chain-streams",
+ "pezframe",
"pezframe-benchmarking",
"pezframe-benchmarking-cli",
"pezframe-benchmarking-pezpallet-pov",
@@ -13681,6 +13652,7 @@ dependencies = [
"pezframe-executive",
"pezframe-metadata",
"pezframe-metadata-hash-extension",
+ "pezframe-remote-externalities",
"pezframe-support",
"pezframe-support-procedural",
"pezframe-support-procedural-tools",
@@ -13732,7 +13704,6 @@ dependencies = [
"pezkuwi-runtime-common",
"pezkuwi-runtime-metrics",
"pezkuwi-runtime-teyrchains",
- "pezkuwi-sdk-frame",
"pezkuwi-service",
"pezkuwi-statement-distribution",
"pezkuwi-statement-table",
@@ -13747,6 +13718,12 @@ dependencies = [
"pezkuwi-subxt-utils-fetchmetadata",
"pezkuwi-subxt-utils-stripmetadata",
"pezkuwi-teyrchain-primitives",
+ "pezkuwi-zombienet-configuration",
+ "pezkuwi-zombienet-orchestrator",
+ "pezkuwi-zombienet-prom-metrics-parser",
+ "pezkuwi-zombienet-provider",
+ "pezkuwi-zombienet-sdk",
+ "pezkuwi-zombienet-support",
"pezmmr-gadget",
"pezmmr-rpc",
"pezpallet-alliance",
@@ -13780,7 +13757,6 @@ dependencies = [
"pezpallet-collective",
"pezpallet-collective-content",
"pezpallet-contracts",
- "pezpallet-contracts-mock-network",
"pezpallet-contracts-proc-macro",
"pezpallet-contracts-uapi",
"pezpallet-conviction-voting",
@@ -13968,7 +13944,7 @@ dependencies = [
"pezsp-runtime-interface",
"pezsp-runtime-interface-proc-macro",
"pezsp-session",
- "pezsp-ss58-registry 1.52.0",
+ "pezsp-ss58-registry 1.52.0 (registry+https://github.com/rust-lang/crates.io-index)",
"pezsp-staking",
"pezsp-state-machine",
"pezsp-statement-store",
@@ -13997,12 +13973,6 @@ dependencies = [
"xcm-pez-procedural",
"xcm-pez-simulator",
"xcm-runtime-pezapis",
- "zombienet-configuration",
- "zombienet-orchestrator",
- "zombienet-prom-metrics-parser",
- "zombienet-provider",
- "zombienet-sdk",
- "zombienet-support",
]
[[package]]
@@ -14025,6 +13995,7 @@ dependencies = [
"pezcumulus-pezpallet-teyrchain-system",
"pezcumulus-pezpallet-weight-reclaim",
"pezcumulus-primitives-proof-size-hostfunction",
+ "pezframe",
"pezframe-benchmarking",
"pezframe-executive",
"pezframe-metadata-hash-extension",
@@ -14033,7 +14004,6 @@ dependencies = [
"pezkuwi-omni-node-lib",
"pezkuwi-sdk",
"pezkuwi-sdk-docs-first-runtime",
- "pezkuwi-sdk-frame",
"pezpallet-asset-conversion-tx-payment",
"pezpallet-asset-tx-payment",
"pezpallet-assets",
@@ -14106,7 +14076,9 @@ version = "0.0.0"
dependencies = [
"docify",
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"scale-info",
]
@@ -14117,50 +14089,27 @@ dependencies = [
"bizinikiwi-wasm-builder",
"docify",
"parity-scale-codec",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
+ "pezframe-system-rpc-runtime-api",
"pezkuwi-sdk-docs-first-pezpallet",
- "pezkuwi-sdk-frame",
"pezpallet-balances",
"pezpallet-sudo",
"pezpallet-timestamp",
"pezpallet-transaction-payment",
"pezpallet-transaction-payment-rpc-runtime-api",
- "pezsp-keyring",
- "scale-info",
- "serde_json",
-]
-
-[[package]]
-name = "pezkuwi-sdk-frame"
-version = "0.1.0"
-dependencies = [
- "docify",
- "log",
- "parity-scale-codec",
- "pezframe-benchmarking",
- "pezframe-executive",
- "pezframe-support",
- "pezframe-system",
- "pezframe-system-benchmarking",
- "pezframe-system-rpc-runtime-api",
- "pezframe-try-runtime",
"pezsp-api",
- "pezsp-arithmetic",
"pezsp-block-builder",
- "pezsp-consensus-aura",
- "pezsp-consensus-grandpa",
"pezsp-core",
"pezsp-genesis-builder",
- "pezsp-inherents",
- "pezsp-io",
"pezsp-keyring",
"pezsp-offchain",
"pezsp-runtime",
"pezsp-session",
- "pezsp-storage",
"pezsp-transaction-pool",
- "pezsp-version",
"scale-info",
- "serde",
+ "serde_json",
]
[[package]]
@@ -14211,17 +14160,14 @@ dependencies = [
"pezkuwi-node-core-teyrchains-inherent",
"pezkuwi-node-network-protocol",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-types",
"pezkuwi-node-subsystem-util",
"pezkuwi-overseer",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
"pezkuwi-rpc",
"pezkuwi-runtime-teyrchains",
"pezkuwi-statement-distribution",
- "pezkuwi-test-client",
"pezkuwichain-runtime",
"pezkuwichain-runtime-constants",
"pezmmr-gadget",
@@ -14293,12 +14239,9 @@ dependencies = [
"pez-tracing-gum",
"pezkuwi-node-network-protocol",
"pezkuwi-node-subsystem",
- "pezkuwi-node-subsystem-test-helpers",
"pezkuwi-node-subsystem-util",
"pezkuwi-pez-node-primitives",
"pezkuwi-primitives",
- "pezkuwi-primitives-test-helpers",
- "pezkuwi-subsystem-bench",
"pezsc-keystore",
"pezsc-network",
"pezsp-application-crypto",
@@ -14845,6 +14788,120 @@ dependencies = [
"zagros-runtime",
]
+[[package]]
+name = "pezkuwi-zombienet-configuration"
+version = "0.44.0"
+dependencies = [
+ "anyhow",
+ "lazy_static",
+ "multiaddr 0.18.2",
+ "pezkuwi-zombienet-support",
+ "regex",
+ "reqwest",
+ "serde",
+ "serde_json",
+ "thiserror 1.0.69",
+ "tokio",
+ "toml 0.8.23",
+ "tracing",
+ "url",
+]
+
+[[package]]
+name = "pezkuwi-zombienet-orchestrator"
+version = "0.44.0"
+dependencies = [
+ "anyhow",
+ "async-trait",
+ "erased-serde",
+ "fancy-regex",
+ "futures",
+ "glob-match",
+ "hex",
+ "lazy_static",
+ "libp2p",
+ "libsecp256k1",
+ "multiaddr 0.18.2",
+ "pezkuwi-subxt",
+ "pezkuwi-subxt-signer",
+ "pezkuwi-zombienet-configuration",
+ "pezkuwi-zombienet-prom-metrics-parser",
+ "pezkuwi-zombienet-provider",
+ "pezkuwi-zombienet-support",
+ "pezsc-chain-spec",
+ "pezsp-core",
+ "rand 0.8.5",
+ "regex",
+ "reqwest",
+ "serde",
+ "serde_json",
+ "sha2 0.10.9",
+ "thiserror 1.0.69",
+ "tokio",
+ "toml 0.8.23",
+ "tracing",
+ "uuid",
+]
+
+[[package]]
+name = "pezkuwi-zombienet-prom-metrics-parser"
+version = "0.44.0"
+dependencies = [
+ "pest",
+ "pest_derive",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "pezkuwi-zombienet-provider"
+version = "0.44.0"
+dependencies = [
+ "anyhow",
+ "async-trait",
+ "erased-serde",
+ "flate2",
+ "futures",
+ "hex",
+ "k8s-openapi",
+ "kube",
+ "nix 0.29.0",
+ "pezkuwi-zombienet-configuration",
+ "pezkuwi-zombienet-support",
+ "regex",
+ "reqwest",
+ "serde",
+ "serde_json",
+ "serde_yaml",
+ "sha2 0.10.9",
+ "tar",
+ "thiserror 1.0.69",
+ "tokio",
+ "tokio-util",
+ "tracing",
+ "url",
+ "uuid",
+]
+
+[[package]]
+name = "pezkuwi-zombienet-sdk"
+version = "0.44.0"
+dependencies = [
+ "async-trait",
+ "futures",
+ "k8s-openapi",
+ "kube",
+ "lazy_static",
+ "pezkuwi-subxt",
+ "pezkuwi-subxt-signer",
+ "pezkuwi-zombienet-configuration",
+ "pezkuwi-zombienet-orchestrator",
+ "pezkuwi-zombienet-provider",
+ "pezkuwi-zombienet-support",
+ "serde_json",
+ "tokio",
+ "tracing-subscriber 0.3.22",
+]
+
[[package]]
name = "pezkuwi-zombienet-sdk-tests"
version = "0.1.0"
@@ -14860,6 +14917,8 @@ dependencies = [
"pezcumulus-zombienet-sdk-helpers",
"pezkuwi-primitives",
"pezkuwi-subxt",
+ "pezkuwi-zombienet-orchestrator",
+ "pezkuwi-zombienet-sdk",
"pezpallet-revive",
"pezsc-executor",
"pezsc-runtime-utilities",
@@ -14871,8 +14930,25 @@ dependencies = [
"serde_json",
"tokio",
"tokio-util",
- "zombienet-orchestrator",
- "zombienet-sdk",
+]
+
+[[package]]
+name = "pezkuwi-zombienet-support"
+version = "0.44.0"
+dependencies = [
+ "anyhow",
+ "async-trait",
+ "futures",
+ "lazy_static",
+ "nix 0.29.0",
+ "rand 0.8.5",
+ "regex",
+ "reqwest",
+ "serde_json",
+ "thiserror 1.0.69",
+ "tokio",
+ "tracing",
+ "uuid",
]
[[package]]
@@ -14898,7 +14974,6 @@ version = "7.0.0"
dependencies = [
"bitvec",
"bizinikiwi-wasm-builder",
- "frame-remote-externalities",
"hex-literal",
"log",
"parity-scale-codec",
@@ -14907,6 +14982,7 @@ dependencies = [
"pezframe-election-provider-support",
"pezframe-executive",
"pezframe-metadata-hash-extension",
+ "pezframe-remote-externalities",
"pezframe-support",
"pezframe-system",
"pezframe-system-benchmarking",
@@ -15092,7 +15168,6 @@ dependencies = [
name = "pezmmr-gadget"
version = "29.0.0"
dependencies = [
- "bizinikiwi-test-runtime-client",
"futures",
"log",
"parity-scale-codec",
@@ -15152,9 +15227,10 @@ version = "1.0.0"
dependencies = [
"log",
"parity-scale-codec",
+ "pezframe",
"pezframe-election-provider-support",
"pezframe-support",
- "pezkuwi-sdk-frame",
+ "pezframe-system",
"pezpallet-authorship",
"pezpallet-balances",
"pezpallet-election-provider-multi-block",
@@ -15323,11 +15399,13 @@ dependencies = [
[[package]]
name = "pezpallet-assets-freezer"
-version = "0.1.0"
+version = "0.44.0"
dependencies = [
"log",
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-assets",
"pezpallet-balances",
"scale-info",
@@ -15372,7 +15450,9 @@ name = "pezpallet-atomic-swap"
version = "28.0.0"
dependencies = [
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-balances",
"scale-info",
]
@@ -15487,9 +15567,9 @@ dependencies = [
name = "pezpallet-bags-list-remote-tests"
version = "4.0.0-dev"
dependencies = [
- "frame-remote-externalities",
"log",
"pezframe-election-provider-support",
+ "pezframe-remote-externalities",
"pezframe-support",
"pezframe-system",
"pezpallet-bags-list",
@@ -15591,10 +15671,10 @@ dependencies = [
name = "pezpallet-bridge-beefy"
version = "0.1.0"
dependencies = [
- "bp-beefy",
- "bp-test-utils",
"parity-scale-codec",
+ "pezbp-beefy",
"pezbp-runtime",
+ "pezbp-test-utils",
"pezframe-support",
"pezframe-system",
"pezkuwi-ckb-merkle-mountain-range",
@@ -15615,10 +15695,10 @@ dependencies = [
name = "pezpallet-bridge-grandpa"
version = "0.7.0"
dependencies = [
- "bp-header-pez-chain",
- "bp-test-utils",
"parity-scale-codec",
+ "pezbp-header-pez-chain",
"pezbp-runtime",
+ "pezbp-test-utils",
"pezframe-benchmarking",
"pezframe-support",
"pezframe-system",
@@ -15635,11 +15715,11 @@ dependencies = [
name = "pezpallet-bridge-messages"
version = "0.7.0"
dependencies = [
- "bp-header-pez-chain",
- "bp-messages",
- "bp-test-utils",
"parity-scale-codec",
+ "pezbp-header-pez-chain",
+ "pezbp-messages",
"pezbp-runtime",
+ "pezbp-test-utils",
"pezframe-benchmarking",
"pezframe-support",
"pezframe-system",
@@ -15658,14 +15738,14 @@ dependencies = [
name = "pezpallet-bridge-relayers"
version = "0.7.0"
dependencies = [
- "bp-header-pez-chain",
- "bp-messages",
- "bp-pezkuwi-core",
- "bp-relayers",
- "bp-test-utils",
- "bp-teyrchains",
"parity-scale-codec",
+ "pezbp-header-pez-chain",
+ "pezbp-messages",
+ "pezbp-pezkuwi-core",
+ "pezbp-relayers",
"pezbp-runtime",
+ "pezbp-test-utils",
+ "pezbp-teyrchains",
"pezframe-benchmarking",
"pezframe-support",
"pezframe-system",
@@ -15687,12 +15767,12 @@ dependencies = [
name = "pezpallet-bridge-teyrchains"
version = "0.7.0"
dependencies = [
- "bp-header-pez-chain",
- "bp-pezkuwi-core",
- "bp-test-utils",
- "bp-teyrchains",
"parity-scale-codec",
+ "pezbp-header-pez-chain",
+ "pezbp-pezkuwi-core",
"pezbp-runtime",
+ "pezbp-test-utils",
+ "pezbp-teyrchains",
"pezframe-benchmarking",
"pezframe-support",
"pezframe-system",
@@ -15812,7 +15892,6 @@ dependencies = [
"pezframe-support",
"pezframe-system",
"pezpallet-balances",
- "pezpallet-contracts-fixtures",
"pezpallet-contracts-proc-macro",
"pezpallet-contracts-uapi",
"pezpallet-insecure-randomness-collective-flip",
@@ -16097,13 +16176,13 @@ dependencies = [
name = "pezpallet-election-provider-multi-phase"
version = "27.0.0"
dependencies = [
- "frame-remote-externalities",
"hex",
"log",
"parity-scale-codec",
"parking_lot 0.12.5",
"pezframe-benchmarking",
"pezframe-election-provider-support",
+ "pezframe-remote-externalities",
"pezframe-support",
"pezframe-system",
"pezpallet-balances",
@@ -16236,7 +16315,9 @@ name = "pezpallet-example-pezframe-crate"
version = "0.0.1"
dependencies = [
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"scale-info",
]
@@ -16466,7 +16547,9 @@ name = "pezpallet-insecure-randomness-collective-flip"
version = "16.0.0"
dependencies = [
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"safe-mix",
"scale-info",
]
@@ -16478,7 +16561,6 @@ dependencies = [
"parity-scale-codec",
"pezframe-benchmarking",
"pezframe-support",
- "pezframe-support-test",
"pezframe-system",
"pezpallet-balances",
"pezsp-core",
@@ -16527,7 +16609,7 @@ dependencies = [
[[package]]
name = "pezpallet-meta-tx"
-version = "0.1.0"
+version = "0.44.0"
dependencies = [
"docify",
"parity-scale-codec",
@@ -16555,11 +16637,11 @@ dependencies = [
"impl-trait-for-tuples",
"log",
"parity-scale-codec",
+ "pezframe",
"pezframe-benchmarking",
"pezframe-executive",
"pezframe-support",
"pezframe-system",
- "pezkuwi-sdk-frame",
"pezsp-core",
"pezsp-io",
"pezsp-runtime",
@@ -16573,7 +16655,9 @@ name = "pezpallet-minimal-template"
version = "0.0.0"
dependencies = [
"parity-scale-codec",
- "pezkuwi-sdk",
+ "pezframe-benchmarking",
+ "pezframe-support",
+ "pezframe-system",
"scale-info",
]
@@ -16583,7 +16667,9 @@ version = "0.4.0"
dependencies = [
"log",
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezsp-application-crypto",
"pezsp-mixnet",
"scale-info",
@@ -16597,7 +16683,9 @@ dependencies = [
"itertools 0.11.0",
"log",
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezsp-mmr-primitives",
"pezsp-tracing",
"scale-info",
@@ -16628,7 +16716,9 @@ version = "28.0.0"
dependencies = [
"log",
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-balances",
"scale-info",
]
@@ -16639,7 +16729,9 @@ version = "10.0.0"
dependencies = [
"log",
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-assets",
"pezpallet-balances",
"pezpallet-nfts",
@@ -16677,7 +16769,9 @@ name = "pezpallet-nis"
version = "28.0.0"
dependencies = [
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-balances",
"pezsp-io",
"scale-info",
@@ -16689,7 +16783,9 @@ version = "28.0.0"
dependencies = [
"log",
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"scale-info",
]
@@ -16875,7 +16971,9 @@ version = "0.6.0"
dependencies = [
"docify",
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezsp-metadata-ir",
"scale-info",
]
@@ -16886,13 +16984,15 @@ version = "0.1.0"
dependencies = [
"arbitrary",
"honggfuzz",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-paged-list",
]
[[package]]
name = "pezpallet-parameters"
-version = "0.1.0"
+version = "0.44.0"
dependencies = [
"docify",
"parity-scale-codec",
@@ -16901,7 +17001,6 @@ dependencies = [
"pezframe-support",
"pezframe-system",
"pezpallet-balances",
- "pezpallet-example-basic",
"pezsp-core",
"pezsp-io",
"pezsp-runtime",
@@ -17032,7 +17131,9 @@ name = "pezpallet-proxy"
version = "28.0.0"
dependencies = [
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-balances",
"pezpallet-utility",
"scale-info",
@@ -17060,7 +17161,9 @@ name = "pezpallet-recovery"
version = "28.0.0"
dependencies = [
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-balances",
"scale-info",
]
@@ -17244,7 +17347,7 @@ dependencies = [
[[package]]
name = "pezpallet-revive-proc-macro"
-version = "0.1.0"
+version = "0.44.0"
dependencies = [
"proc-macro2 1.0.103",
"quote 1.0.42",
@@ -17253,7 +17356,7 @@ dependencies = [
[[package]]
name = "pezpallet-revive-uapi"
-version = "0.1.0"
+version = "0.44.0"
dependencies = [
"alloy-core",
"bitflags 1.3.2",
@@ -17303,7 +17406,9 @@ version = "9.0.0"
dependencies = [
"docify",
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-balances",
"pezpallet-proxy",
"pezpallet-utility",
@@ -17316,7 +17421,9 @@ version = "13.0.0"
dependencies = [
"log",
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-ranked-collective",
"scale-info",
]
@@ -17433,7 +17540,6 @@ dependencies = [
"parity-scale-codec",
"pezframe-benchmarking",
"pezframe-support",
- "pezframe-support-test",
"pezframe-system",
"pezpallet-balances",
"pezsp-arithmetic",
@@ -17527,7 +17633,9 @@ name = "pezpallet-staking-async-preset-store"
version = "0.1.0"
dependencies = [
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-staking-async-ah-client",
"scale-info",
]
@@ -17555,7 +17663,6 @@ dependencies = [
"approx",
"bitvec",
"bizinikiwi-wasm-builder",
- "frame-remote-externalities",
"hex-literal",
"log",
"parity-scale-codec",
@@ -17564,6 +17671,7 @@ dependencies = [
"pezframe-election-provider-support",
"pezframe-executive",
"pezframe-metadata-hash-extension",
+ "pezframe-remote-externalities",
"pezframe-support",
"pezframe-system",
"pezframe-system-benchmarking",
@@ -17692,15 +17800,14 @@ name = "pezpallet-staking-async-teyrchain-runtime"
version = "0.15.0"
dependencies = [
"asset-test-pezutils",
- "assets-common",
"bizinikiwi-wasm-builder",
- "bp-asset-hub-pezkuwichain",
- "bp-bridge-hub-pezkuwichain",
- "bp-bridge-hub-zagros",
- "frame-remote-externalities",
"hex-literal",
"log",
"parity-scale-codec",
+ "pez-assets-common",
+ "pezbp-asset-hub-pezkuwichain",
+ "pezbp-bridge-hub-pezkuwichain",
+ "pezbp-bridge-hub-zagros",
"pezcumulus-pezpallet-aura-ext",
"pezcumulus-pezpallet-session-benchmarking",
"pezcumulus-pezpallet-teyrchain-system",
@@ -17714,6 +17821,7 @@ dependencies = [
"pezframe-election-provider-support",
"pezframe-executive",
"pezframe-metadata-hash-extension",
+ "pezframe-remote-externalities",
"pezframe-support",
"pezframe-system",
"pezframe-system-benchmarking",
@@ -17860,10 +17968,10 @@ name = "pezpallet-state-trie-migration"
version = "29.0.0"
dependencies = [
"bizinikiwi-state-trie-migration-rpc",
- "frame-remote-externalities",
"log",
"parity-scale-codec",
"pezframe-benchmarking",
+ "pezframe-remote-externalities",
"pezframe-support",
"pezframe-system",
"pezpallet-balances",
@@ -17928,7 +18036,9 @@ name = "pezpallet-teyrchain-template"
version = "0.0.0"
dependencies = [
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"scale-info",
]
@@ -18120,7 +18230,9 @@ version = "9.0.0"
dependencies = [
"docify",
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-balances",
"pezpallet-proxy",
"pezpallet-utility",
@@ -18245,7 +18357,9 @@ name = "pezpallet-whitelist"
version = "27.0.0"
dependencies = [
"parity-scale-codec",
- "pezkuwi-sdk-frame",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezpallet-balances",
"pezpallet-preimage",
"scale-info",
@@ -18275,7 +18389,6 @@ dependencies = [
"scale-info",
"serde",
"tracing",
- "xcm-pez-simulator",
"xcm-runtime-pezapis",
]
@@ -18301,12 +18414,12 @@ dependencies = [
name = "pezpallet-xcm-bridge-hub"
version = "0.2.0"
dependencies = [
- "bp-header-pez-chain",
- "bp-messages",
- "bp-xcm-bridge-hub",
- "bp-xcm-bridge-hub-router",
"parity-scale-codec",
+ "pezbp-header-pez-chain",
+ "pezbp-messages",
"pezbp-runtime",
+ "pezbp-xcm-bridge-hub",
+ "pezbp-xcm-bridge-hub-router",
"pezframe-support",
"pezframe-system",
"pezkuwi-teyrchain-primitives",
@@ -18328,8 +18441,8 @@ dependencies = [
name = "pezpallet-xcm-bridge-hub-router"
version = "0.5.0"
dependencies = [
- "bp-xcm-bridge-hub-router",
"parity-scale-codec",
+ "pezbp-xcm-bridge-hub-router",
"pezframe-benchmarking",
"pezframe-support",
"pezframe-system",
@@ -19808,6 +19921,8 @@ dependencies = [
"parity-scale-codec",
"parking_lot 0.12.5",
"pezcumulus-zombienet-sdk-helpers",
+ "pezkuwi-zombienet-configuration",
+ "pezkuwi-zombienet-sdk",
"pezsc-block-builder",
"pezsc-client-api",
"pezsc-transaction-pool-api",
@@ -19828,8 +19943,6 @@ dependencies = [
"tokio-stream",
"tracing",
"tracing-subscriber 0.3.22",
- "zombienet-configuration",
- "zombienet-sdk",
]
[[package]]
@@ -19889,9 +20002,9 @@ dependencies = [
name = "pezsnowbridge-core"
version = "0.2.0"
dependencies = [
- "bp-relayers",
"hex-literal",
"parity-scale-codec",
+ "pezbp-relayers",
"pezframe-support",
"pezframe-system",
"pezkuwi-teyrchain-primitives",
@@ -19936,9 +20049,9 @@ name = "pezsnowbridge-inbound-queue-primitives"
version = "0.9.0"
dependencies = [
"alloy-core",
- "assets-common",
"hex-literal",
"parity-scale-codec",
+ "pez-assets-common",
"pezframe-support",
"pezframe-system",
"pezsnowbridge-beacon-primitives",
@@ -20103,9 +20216,9 @@ name = "pezsnowbridge-pezpallet-inbound-queue-v2"
version = "0.2.0"
dependencies = [
"alloy-core",
- "bp-relayers",
"hex-literal",
"parity-scale-codec",
+ "pezbp-relayers",
"pezframe-benchmarking",
"pezframe-support",
"pezframe-system",
@@ -20144,9 +20257,9 @@ dependencies = [
name = "pezsnowbridge-pezpallet-outbound-queue"
version = "0.2.0"
dependencies = [
- "bridge-hub-common",
"ethabi-decode",
"parity-scale-codec",
+ "pezbridge-hub-common",
"pezframe-benchmarking",
"pezframe-support",
"pezframe-system",
@@ -20168,10 +20281,10 @@ name = "pezsnowbridge-pezpallet-outbound-queue-v2"
version = "0.2.0"
dependencies = [
"alloy-core",
- "bp-relayers",
"ethabi-decode",
"hex-literal",
"parity-scale-codec",
+ "pezbp-relayers",
"pezframe-benchmarking",
"pezframe-support",
"pezframe-system",
@@ -20340,8 +20453,8 @@ dependencies = [
name = "pezsnowbridge-test-utils"
version = "0.1.0"
dependencies = [
- "bp-relayers",
"parity-scale-codec",
+ "pezbp-relayers",
"pezframe-benchmarking",
"pezframe-support",
"pezframe-system",
@@ -21287,7 +21400,6 @@ dependencies = [
name = "pezstaging-chain-spec-builder"
version = "1.6.1"
dependencies = [
- "bizinikiwi-test-runtime",
"clap",
"cmd_lib",
"docify",
@@ -21317,6 +21429,7 @@ dependencies = [
"pez-node-primitives",
"pez-node-rpc",
"pez-node-testing",
+ "pezframe-benchmarking-cli",
"pezkuwi-sdk",
"pezkuwi-subxt-signer",
"pezsc-service-test",
@@ -22856,14 +22969,14 @@ version = "0.1.0"
dependencies = [
"async-std",
"async-trait",
- "bp-header-pez-chain",
- "bp-messages",
- "bp-pezkuwi-core",
"futures",
"jsonrpsee",
"num-traits",
"parity-scale-codec",
"pez-finality-relay",
+ "pezbp-header-pez-chain",
+ "pezbp-messages",
+ "pezbp-pezkuwi-core",
"pezbp-runtime",
"pezframe-support",
"pezpallet-transaction-payment",
@@ -25557,6 +25670,7 @@ dependencies = [
"jsonrpsee",
"log",
"parity-scale-codec",
+ "pezframe-benchmarking-cli",
"pezkuwi-sdk",
"pezsp-runtime",
"serde",
@@ -25618,8 +25732,8 @@ version = "0.1.0"
dependencies = [
"async-std",
"async-trait",
- "bp-pezkuwi-core",
"futures",
+ "pezbp-pezkuwi-core",
"pezsp-core",
"relay-bizinikiwi-client",
"relay-utils",
@@ -28005,8 +28119,10 @@ version = "0.1.0"
dependencies = [
"docify",
"parity-scale-codec",
+ "pezframe",
+ "pezframe-support",
+ "pezframe-system",
"pezkuwi-runtime-teyrchains",
- "pezkuwi-sdk-frame",
"pezpallet-balances",
"pezpallet-message-queue",
"pezpallet-xcm",
@@ -28175,7 +28291,6 @@ dependencies = [
"pezframe-system",
"pezpallet-assets",
"pezpallet-balances",
- "pezpallet-xcm",
"pezsp-api",
"pezsp-io",
"pezsp-tracing",
@@ -28185,7 +28300,6 @@ dependencies = [
"pezstaging-xcm-executor",
"scale-info",
"tracing",
- "xcm-pez-simulator",
]
[[package]]
@@ -28316,7 +28430,6 @@ dependencies = [
"approx",
"bitvec",
"bizinikiwi-wasm-builder",
- "frame-remote-externalities",
"hex-literal",
"log",
"parity-scale-codec",
@@ -28325,6 +28438,7 @@ dependencies = [
"pezframe-election-provider-support",
"pezframe-executive",
"pezframe-metadata-hash-extension",
+ "pezframe-remote-externalities",
"pezframe-support",
"pezframe-system",
"pezframe-system-benchmarking",
@@ -28563,139 +28677,6 @@ dependencies = [
"tokio-tungstenite 0.26.2",
]
-[[package]]
-name = "zombienet-configuration"
-version = "0.44.0"
-dependencies = [
- "anyhow",
- "lazy_static",
- "multiaddr 0.18.2",
- "regex",
- "reqwest",
- "serde",
- "serde_json",
- "thiserror 1.0.69",
- "tokio",
- "toml 0.8.23",
- "tracing",
- "url",
- "zombienet-support",
-]
-
-[[package]]
-name = "zombienet-orchestrator"
-version = "0.44.0"
-dependencies = [
- "anyhow",
- "async-trait",
- "erased-serde",
- "fancy-regex",
- "futures",
- "glob-match",
- "hex",
- "lazy_static",
- "libp2p",
- "libsecp256k1",
- "multiaddr 0.18.2",
- "pezkuwi-subxt",
- "pezkuwi-subxt-signer",
- "pezsc-chain-spec",
- "pezsp-core",
- "rand 0.8.5",
- "regex",
- "reqwest",
- "serde",
- "serde_json",
- "sha2 0.10.9",
- "thiserror 1.0.69",
- "tokio",
- "toml 0.8.23",
- "tracing",
- "uuid",
- "zombienet-configuration",
- "zombienet-prom-metrics-parser",
- "zombienet-provider",
- "zombienet-support",
-]
-
-[[package]]
-name = "zombienet-prom-metrics-parser"
-version = "0.44.0"
-dependencies = [
- "pest",
- "pest_derive",
- "thiserror 1.0.69",
-]
-
-[[package]]
-name = "zombienet-provider"
-version = "0.44.0"
-dependencies = [
- "anyhow",
- "async-trait",
- "erased-serde",
- "flate2",
- "futures",
- "hex",
- "k8s-openapi",
- "kube",
- "nix 0.29.0",
- "regex",
- "reqwest",
- "serde",
- "serde_json",
- "serde_yaml",
- "sha2 0.10.9",
- "tar",
- "thiserror 1.0.69",
- "tokio",
- "tokio-util",
- "tracing",
- "url",
- "uuid",
- "zombienet-configuration",
- "zombienet-support",
-]
-
-[[package]]
-name = "zombienet-sdk"
-version = "0.44.0"
-dependencies = [
- "async-trait",
- "futures",
- "k8s-openapi",
- "kube",
- "lazy_static",
- "pezkuwi-subxt",
- "pezkuwi-subxt-signer",
- "serde_json",
- "tokio",
- "tracing-subscriber 0.3.22",
- "zombienet-configuration",
- "zombienet-orchestrator",
- "zombienet-provider",
- "zombienet-support",
-]
-
-[[package]]
-name = "zombienet-support"
-version = "0.44.0"
-dependencies = [
- "anyhow",
- "async-trait",
- "futures",
- "lazy_static",
- "nix 0.29.0",
- "rand 0.8.5",
- "regex",
- "reqwest",
- "serde_json",
- "thiserror 1.0.69",
- "tokio",
- "tracing",
- "uuid",
-]
-
[[package]]
name = "zstd"
version = "0.12.4"
diff --git a/Cargo.toml b/Cargo.toml
index b35a7e1f..1849c488 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -704,12 +704,12 @@ array-bytes = { version = "6.2.2", default-features = false }
arrayvec = { version = "0.7.4" }
assert_cmd = { version = "2.1" }
assert_matches = { version = "1.5.0" }
-asset-hub-pezkuwichain-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-pezkuwichain" }
-asset-hub-pezkuwichain-runtime = { path = "pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain", default-features = false }
-asset-hub-zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-zagros" }
-asset-hub-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros" }
-asset-test-pezutils = { path = "pezcumulus/teyrchains/runtimes/assets/test-utils", default-features = false }
-assets-common = { path = "pezcumulus/teyrchains/runtimes/assets/common", version = "0.7.0", default-features = false }
+asset-hub-pezkuwichain-emulated-chain = { version = "0.0.0", path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-pezkuwichain" }
+asset-hub-pezkuwichain-runtime = { version = "0.11.0", path = "pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain", default-features = false }
+asset-hub-zagros-emulated-chain = { version = "0.0.0", path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/assets/asset-hub-zagros" }
+asset-hub-zagros-runtime = { version = "0.15.0", path = "pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros" }
+asset-test-pezutils = { path = "pezcumulus/teyrchains/runtimes/assets/test-utils", version = "7.0.0", default-features = false }
+pez-assets-common = { path = "pezcumulus/teyrchains/runtimes/assets/common", version = "0.7.1", default-features = false }
async-channel = { version = "1.8.0" }
async-std = { version = "1.9.0" }
async-trait = { version = "0.1.88" }
@@ -727,27 +727,27 @@ bitvec = { version = "1.0.1", default-features = false }
blake2 = { version = "0.10.4", default-features = false }
blake2b_simd = { version = "1.0.2", default-features = false }
blake3 = { version = "1.5" }
-bn = { package = "bizinikiwi-bn", version = "0.6", default-features = false }
+bn = { package = "bizinikiwi-bn", version = "0.7", default-features = false }
bounded-collections = { version = "0.3.2", default-features = false }
bounded-vec = { version = "0.7" }
-bp-asset-hub-pezkuwichain = { path = "pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives", version = "0.4.0", default-features = false }
-bp-asset-hub-zagros = { path = "pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/bridge-primitives", version = "0.3.0", default-features = false }
-bp-beefy = { path = "pezbridges/primitives/beefy", version = "0.1.0", default-features = false }
-bp-bridge-hub-pezcumulus = { path = "pezbridges/chains/chain-pezcumulus", version = "0.7.0", default-features = false }
-bp-bridge-hub-pezkuwichain = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/bridge-primitives", version = "0.7.0", default-features = false }
-bp-bridge-hub-zagros = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/bridge-primitives", version = "0.3.0", default-features = false, package = "bp-bridge-hub-zagros" }
-bp-header-pez-chain = { path = "pezbridges/primitives/header-chain", version = "0.7.0", default-features = false, package = "bp-header-pez-chain" }
-bp-messages = { path = "pezbridges/primitives/messages", version = "0.7.0", default-features = false, package = "bp-messages" }
-bp-pezkuwi-bulletin = { path = "pezbridges/chains/chain-pezkuwi-bulletin", version = "0.4.0", default-features = false, package = "bp-pezkuwi-bulletin" }
-bp-pezkuwi-core = { path = "pezbridges/primitives/pezkuwi-core", version = "0.7.0", default-features = false, package = "bp-pezkuwi-core" }
-bp-pezkuwichain = { path = "pezkuwi/runtime/pezkuwichain/bridge-primitives", version = "0.6.0", default-features = false, package = "bp-pezkuwichain" }
-bp-relayers = { path = "pezbridges/primitives/relayers", version = "0.7.0", default-features = false, package = "bp-relayers" }
-bp-test-utils = { path = "pezbridges/primitives/test-utils", version = "0.7.0", default-features = false }
-bp-teyrchains = { path = "pezbridges/primitives/teyrchains", version = "0.7.0", default-features = false }
-bp-xcm-bridge-hub = { path = "pezbridges/primitives/xcm-bridge-hub", version = "0.2.0", default-features = false }
-bp-xcm-bridge-hub-router = { path = "pezbridges/primitives/xcm-bridge-hub-router", version = "0.6.0", default-features = false }
-bp-zagros = { path = "pezkuwi/runtime/zagros/bridge-primitives", version = "0.3.0", default-features = false }
-bridge-hub-common = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/common", version = "0.1.0", default-features = false }
+pezbp-asset-hub-pezkuwichain = { path = "pezcumulus/teyrchains/runtimes/assets/asset-hub-pezkuwichain/bridge-primitives", version = "0.4.0", default-features = false }
+pezbp-asset-hub-zagros = { path = "pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/bridge-primitives", version = "0.3.0", default-features = false }
+pezbp-beefy = { path = "pezbridges/primitives/beefy", version = "0.1.0", default-features = false }
+pezbp-bridge-hub-pezcumulus = { path = "pezbridges/chains/chain-pezcumulus", version = "0.7.0", default-features = false }
+pezbp-bridge-hub-pezkuwichain = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-pezkuwichain/bridge-primitives", version = "0.7.0", default-features = false }
+pezbp-bridge-hub-zagros = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/bridge-primitives", version = "0.3.0", default-features = false, package = "pezbp-bridge-hub-zagros" }
+pezbp-header-pez-chain = { path = "pezbridges/primitives/header-chain", version = "0.7.0", default-features = false, package = "pezbp-header-pez-chain" }
+pezbp-messages = { path = "pezbridges/primitives/messages", version = "0.7.0", default-features = false, package = "pezbp-messages" }
+pezbp-pezkuwi-bulletin = { path = "pezbridges/chains/chain-pezkuwi-bulletin", version = "0.4.0", default-features = false, package = "pezbp-pezkuwi-bulletin" }
+pezbp-pezkuwi-core = { path = "pezbridges/primitives/pezkuwi-core", version = "0.7.0", default-features = false, package = "pezbp-pezkuwi-core" }
+pezbp-pezkuwichain = { path = "pezkuwi/runtime/pezkuwichain/bridge-primitives", version = "0.6.0", default-features = false, package = "pezbp-pezkuwichain" }
+pezbp-relayers = { path = "pezbridges/primitives/relayers", version = "0.7.0", default-features = false, package = "pezbp-relayers" }
+pezbp-test-utils = { path = "pezbridges/primitives/test-utils", version = "0.7.0", default-features = false }
+pezbp-teyrchains = { path = "pezbridges/primitives/teyrchains", version = "0.7.0", default-features = false }
+pezbp-xcm-bridge-hub = { path = "pezbridges/primitives/xcm-bridge-hub", version = "0.2.0", default-features = false }
+pezbp-xcm-bridge-hub-router = { path = "pezbridges/primitives/xcm-bridge-hub-router", version = "0.7.0", default-features = false, package = "pezbp-xcm-bridge-hub-router" }
+pezbp-zagros = { path = "pezkuwi/runtime/zagros/bridge-primitives", version = "0.3.0", default-features = false }
+pezbridge-hub-common = { path = "pezcumulus/teyrchains/runtimes/bridge-hubs/common", version = "0.1.1", default-features = false }
bs58 = { version = "0.5.1", default-features = false }
build-helper = { version = "0.1.1" }
byte-slice-cast = { version = "1.2.1", default-features = false }
@@ -756,7 +756,7 @@ bytes = { version = "1.4.0", default-features = false }
cargo_metadata = { version = "0.15.4" }
cfg-expr = { version = "0.15.5" }
cfg-if = { version = "1.0" }
-chain-spec-builder = { path = "bizinikiwi/bin/utils/chain-spec-builder", default-features = false, package = "pezstaging-chain-spec-builder" }
+chain-spec-builder = { path = "bizinikiwi/bin/utils/chain-spec-builder", version = "1.6.1", default-features = false, package = "pezstaging-chain-spec-builder" }
chrono = { version = "0.4.31" }
cid = { version = "0.9.0" }
clap = { version = "4.5.13" }
@@ -764,19 +764,19 @@ clap_complete = { version = "4.5.13" }
cmd_lib = { version = "1.9.5" }
coarsetime = { version = "0.1.22" }
codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" }
-collectives-zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/collectives/collectives-zagros" }
-collectives-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/collectives/collectives-zagros" }
+collectives-zagros-emulated-chain = { version = "0.0.0", path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/collectives/collectives-zagros" }
+collectives-zagros-runtime = { version = "3.0.0", path = "pezcumulus/teyrchains/runtimes/collectives/collectives-zagros" }
color-eyre = { version = "0.6.3", default-features = false }
color-print = { version = "0.3.4" }
colored = { version = "2.0.4" }
comfy-table = { version = "7.1.4", default-features = false }
-configuration = { package = "zombienet-configuration", path = "vendor/pezkuwi-zombienet-sdk/crates/configuration" }
+configuration = { package = "pezkuwi-zombienet-configuration", path = "vendor/pezkuwi-zombienet-sdk/crates/configuration", version = "0.44.0" }
console = { version = "0.15.8" }
const-hex = { version = "1.10.0", default-features = false }
-coretime-pezkuwichain-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/coretime/coretime-pezkuwichain" }
-coretime-pezkuwichain-runtime = { path = "pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain" }
-coretime-zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/coretime/coretime-zagros" }
-coretime-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/coretime/coretime-zagros" }
+coretime-pezkuwichain-emulated-chain = { version = "0.1.0", path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/coretime/coretime-pezkuwichain" }
+coretime-pezkuwichain-runtime = { version = "0.1.0", path = "pezcumulus/teyrchains/runtimes/coretime/coretime-pezkuwichain" }
+coretime-zagros-emulated-chain = { version = "0.1.0", path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/coretime/coretime-zagros" }
+coretime-zagros-runtime = { version = "0.1.0", path = "pezcumulus/teyrchains/runtimes/coretime/coretime-zagros" }
cpu-time = { version = "1.0.0" }
criterion = { version = "0.5.1", default-features = false }
crypto_secretbox = { version = "0.1.1", default-features = false }
@@ -794,7 +794,7 @@ dyn-clone = { version = "1.0.16" }
ed25519-dalek = { version = "2.1", default-features = false }
ed25519-zebra = { version = "4.0.3", default-features = false }
either = { version = "1.8.1", default-features = false }
-emulated-integration-tests-common = { path = "pezcumulus/teyrchains/integration-tests/emulated/common", default-features = false }
+emulated-integration-tests-common = { version = "3.0.0", path = "pezcumulus/teyrchains/integration-tests/emulated/common", default-features = false }
enumflags2 = { version = "0.7.11" }
enumn = { version = "0.1.13" }
env_filter = { version = "0.1.3" }
@@ -820,7 +820,7 @@ fnv = { version = "1.0.6" }
foldhash = { version = "0.1.5", default-features = false }
forwarded-header-value = { version = "0.1.1" }
fraction = { version = "0.13.1" }
-frame = { path = "bizinikiwi/pezframe", default-features = false, package = "pezkuwi-sdk-frame" }
+pezframe = { version = "0.1.0", path = "bizinikiwi/pezframe", default-features = false }
frame-decode = { version = "0.15.0", default-features = false }
frame-metadata = { version = "23.0.0", default-features = false }
frame-storage-access-test-runtime = { path = "bizinikiwi/utils/pezframe/storage-access-test-runtime", version = "0.1.0", default-features = false }
@@ -834,10 +834,10 @@ getrandom = { version = "0.2", default-features = false }
git2 = { version = "0.20.0", default-features = false }
glob = { version = "0.3" }
glob-match = { version = "0.2.1" }
-glutton-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/glutton/glutton-zagros" }
+glutton-zagros-runtime = { version = "3.0.0", path = "pezcumulus/teyrchains/runtimes/glutton/glutton-zagros" }
governor = { version = "0.6.0" }
-gum = { path = "pezkuwi/node/gum", default-features = false, package = "pez-tracing-gum" }
-gum-proc-macro = { path = "pezkuwi/node/gum/proc-macro", default-features = false, package = "pez-tracing-gum-proc-macro" }
+gum = { path = "pezkuwi/node/gum", version = "7.0.0", default-features = false, package = "pez-tracing-gum" }
+gum-proc-macro = { path = "pezkuwi/node/gum/proc-macro", version = "5.0.0", default-features = false, package = "pez-tracing-gum-proc-macro" }
handlebars = { version = "5.1.0" }
hash-db = { version = "0.16.0", default-features = false }
hash256-std-hasher = { version = "0.15.2", default-features = false }
@@ -915,8 +915,8 @@ multihash = { version = "0.19.1", default-features = false }
multistream-select = { version = "0.13.0" }
names = { version = "0.14.0", default-features = false }
nix = { version = "0.29.0" }
-node-cli = { path = "bizinikiwi/bin/node/cli", package = "pezstaging-node-cli" }
-node-inspect = { path = "bizinikiwi/bin/node/inspect", default-features = false, package = "pezstaging-node-inspect" }
+node-cli = { version = "3.0.0-dev", path = "bizinikiwi/bin/node/cli", package = "pezstaging-node-cli" }
+node-inspect = { path = "bizinikiwi/bin/node/inspect", version = "0.12.0", default-features = false, package = "pezstaging-node-inspect" }
nohash-hasher = { version = "0.2.0" }
novelpoly = { version = "2.0.0", package = "reed-solomon-novelpoly" }
num-bigint = { version = "0.4.6", default-features = false }
@@ -927,10 +927,10 @@ num-traits = { version = "0.2.17", default-features = false }
num_cpus = { version = "1.13.1" }
once_cell = { version = "1.21.3" }
orchestra = { version = "0.4.0", default-features = false }
-orchestrator = { package = "zombienet-orchestrator", path = "vendor/pezkuwi-zombienet-sdk/crates/orchestrator" }
+orchestrator = { package = "pezkuwi-zombienet-orchestrator", path = "vendor/pezkuwi-zombienet-sdk/crates/orchestrator", version = "0.44.0" }
pez-chain-spec-guide-runtime = { path = "docs/sdk/src/reference_docs/chain_spec_runtime", version = "0.0.0" }
pez-equivocation-detector = { path = "pezbridges/relays/equivocation", version = "0.1.0" }
-pez-ethereum-standards = { path = "bizinikiwi/primitives/pez-ethereum-standards", version = "0.1.0" }
+pez-ethereum-standards = { path = "bizinikiwi/primitives/pez-ethereum-standards", version = "0.1.1" }
pez-finality-relay = { path = "pezbridges/relays/finality", version = "0.1.0" }
pez-fork-tree = { path = "bizinikiwi/utils/pez-fork-tree", version = "12.0.0", default-features = false }
pez-generate-bags = { path = "bizinikiwi/utils/pezframe/pez-generate-bags", version = "28.0.0", default-features = false }
@@ -958,9 +958,9 @@ pezcumulus-client-consensus-relay-chain = { path = "pezcumulus/client/consensus/
pezcumulus-client-network = { path = "pezcumulus/client/network", version = "0.7.0", default-features = false }
pezcumulus-client-pov-recovery = { path = "pezcumulus/client/pov-recovery", version = "0.7.0", default-features = false }
pezcumulus-client-service = { path = "pezcumulus/client/service", version = "0.7.0", default-features = false }
-pezcumulus-client-teyrchain-inherent = { path = "pezcumulus/client/teyrchain-inherent", version = "0.1.0", default-features = false }
+pezcumulus-client-teyrchain-inherent = { path = "pezcumulus/client/teyrchain-inherent", version = "0.1.1", default-features = false }
pezcumulus-pezpallet-aura-ext = { path = "pezcumulus/pezpallets/aura-ext", version = "0.7.0", default-features = false }
-pezcumulus-pezpallet-dmp-queue = { default-features = false, path = "pezcumulus/pezpallets/dmp-queue" }
+pezcumulus-pezpallet-dmp-queue = { default-features = false, path = "pezcumulus/pezpallets/dmp-queue", version = "0.7.0" }
pezcumulus-pezpallet-session-benchmarking = { path = "pezcumulus/pezpallets/session-benchmarking", version = "9.0.0", default-features = false }
pezcumulus-pezpallet-solo-to-para = { path = "pezcumulus/pezpallets/solo-to-para", version = "0.7.0", default-features = false }
pezcumulus-pezpallet-teyrchain-system = { path = "pezcumulus/pezpallets/teyrchain-system", version = "0.7.0", default-features = false }
@@ -988,10 +988,11 @@ pezcumulus-test-service = { path = "pezcumulus/test/service", version = "0.1.0"
pezcumulus-zombienet-sdk-helpers = { path = "pezcumulus/zombienet/zombienet-sdk-helpers", version = "0.1.0", default-features = false }
pezframe-benchmarking = { path = "bizinikiwi/pezframe/benchmarking", version = "28.0.0", default-features = false }
pezframe-benchmarking-cli = { path = "bizinikiwi/utils/pezframe/benchmarking-cli", version = "32.0.0", default-features = false }
-pezframe-benchmarking-pezpallet-pov = { default-features = false, path = "bizinikiwi/pezframe/benchmarking/pov" }
+pezframe-benchmarking-pezpallet-pov = { default-features = false, version = "18.0.0", path = "bizinikiwi/pezframe/benchmarking/pov" }
pezframe-election-provider-solution-type = { path = "bizinikiwi/pezframe/election-provider-support/solution-type", version = "13.0.0", default-features = false }
pezframe-election-provider-support = { path = "bizinikiwi/pezframe/election-provider-support", version = "28.0.0", default-features = false }
pezframe-executive = { path = "bizinikiwi/pezframe/executive", version = "28.0.0", default-features = false }
+pezframe-metadata = { path = "bizinikiwi/pezframe/pezframe-metadata", version = "23.0.1", default-features = false }
pezframe-metadata-hash-extension = { path = "bizinikiwi/pezframe/metadata-hash-extension", version = "0.1.0", default-features = false }
pezframe-support = { path = "bizinikiwi/pezframe/support", version = "28.0.0", default-features = false }
pezframe-support-procedural = { path = "bizinikiwi/pezframe/support/procedural", version = "23.0.0", default-features = false }
@@ -1006,17 +1007,17 @@ pezmmr-gadget = { path = "bizinikiwi/client/merkle-mountain-range", version = "2
pezmmr-rpc = { path = "bizinikiwi/client/merkle-mountain-range/rpc", version = "28.0.0", default-features = false }
pezpallet-ah-ops = { path = "pezcumulus/pezpallets/ah-ops", version = "0.1.0", default-features = false }
pezpallet-alliance = { path = "bizinikiwi/pezframe/alliance", version = "27.0.0", default-features = false }
-pezpallet-asset-conversion = { path = "bizinikiwi/pezframe/asset-conversion", default-features = false }
-pezpallet-asset-conversion-ops = { path = "bizinikiwi/pezframe/asset-conversion/ops", default-features = false }
-pezpallet-asset-conversion-tx-payment = { path = "bizinikiwi/pezframe/transaction-payment/asset-conversion-tx-payment", default-features = false }
+pezpallet-asset-conversion = { path = "bizinikiwi/pezframe/asset-conversion", version = "10.0.0", default-features = false }
+pezpallet-asset-conversion-ops = { path = "bizinikiwi/pezframe/asset-conversion/ops", version = "0.1.0", default-features = false }
+pezpallet-asset-conversion-tx-payment = { path = "bizinikiwi/pezframe/transaction-payment/asset-conversion-tx-payment", version = "10.0.0", default-features = false }
pezpallet-asset-rate = { path = "bizinikiwi/pezframe/asset-rate", version = "7.0.0", default-features = false }
pezpallet-asset-rewards = { path = "bizinikiwi/pezframe/asset-rewards", version = "0.1.0", default-features = false }
pezpallet-asset-tx-payment = { path = "bizinikiwi/pezframe/transaction-payment/asset-tx-payment", version = "28.0.0", default-features = false }
pezpallet-assets = { path = "bizinikiwi/pezframe/assets", version = "29.1.0", default-features = false }
-pezpallet-assets-freezer = { path = "bizinikiwi/pezframe/assets-freezer", version = "0.1.0", default-features = false }
+pezpallet-assets-freezer = { path = "bizinikiwi/pezframe/assets-freezer", version = "0.44.0", default-features = false }
pezpallet-assets-holder = { path = "bizinikiwi/pezframe/assets-holder", version = "0.1.0", default-features = false }
pezpallet-assets-precompiles = { path = "bizinikiwi/pezframe/assets/precompiles", version = "0.1.0", default-features = false }
-pezpallet-atomic-swap = { default-features = false, path = "bizinikiwi/pezframe/atomic-swap" }
+pezpallet-atomic-swap = { default-features = false, version = "28.0.0", path = "bizinikiwi/pezframe/atomic-swap" }
pezpallet-aura = { path = "bizinikiwi/pezframe/aura", version = "27.0.0", default-features = false }
pezpallet-authority-discovery = { path = "bizinikiwi/pezframe/authority-discovery", version = "28.0.0", default-features = false }
pezpallet-authorship = { path = "bizinikiwi/pezframe/authorship", version = "28.0.0", default-features = false }
@@ -1038,7 +1039,7 @@ pezpallet-collective = { path = "bizinikiwi/pezframe/collective", version = "28.
pezpallet-collective-content = { path = "pezcumulus/teyrchains/pezpallets/collective-content", version = "0.6.0", default-features = false }
pezpallet-contracts = { path = "bizinikiwi/pezframe/contracts", version = "27.0.0", default-features = false }
pezpallet-contracts-fixtures = { path = "bizinikiwi/pezframe/contracts/fixtures", version = "1.0.0", default-features = false }
-pezpallet-contracts-mock-network = { default-features = false, path = "bizinikiwi/pezframe/contracts/mock-network" }
+pezpallet-contracts-mock-network = { default-features = false, version = "3.0.0", path = "bizinikiwi/pezframe/contracts/mock-network" }
pezpallet-contracts-proc-macro = { path = "bizinikiwi/pezframe/contracts/proc-macro", version = "18.0.0", default-features = false }
pezpallet-contracts-uapi = { path = "bizinikiwi/pezframe/contracts/uapi", version = "5.0.0", default-features = false }
pezpallet-conviction-voting = { path = "bizinikiwi/pezframe/conviction-voting", version = "28.0.0", default-features = false }
@@ -1046,6 +1047,7 @@ pezpallet-core-fellowship = { path = "bizinikiwi/pezframe/core-fellowship", vers
pezpallet-default-config-example = { path = "bizinikiwi/pezframe/examples/default-config", version = "10.0.0", default-features = false }
pezpallet-delegated-staking = { path = "bizinikiwi/pezframe/delegated-staking", version = "1.0.0", default-features = false }
pezpallet-democracy = { path = "bizinikiwi/pezframe/democracy", version = "28.0.0", default-features = false }
+pezpallet-derivatives = { path = "bizinikiwi/pezframe/derivatives", version = "1.0.0", default-features = false }
pezpallet-dev-mode = { path = "bizinikiwi/pezframe/examples/dev-mode", version = "10.0.0", default-features = false }
pezpallet-dummy-dim = { path = "bizinikiwi/pezframe/dummy-dim", version = "1.0.0", default-features = false }
pezpallet-election-provider-multi-block = { path = "bizinikiwi/pezframe/election-provider-multi-block", version = "0.9.0", default-features = false }
@@ -1070,13 +1072,13 @@ pezpallet-identity = { path = "bizinikiwi/pezframe/identity", version = "29.0.0"
pezpallet-im-online = { path = "bizinikiwi/pezframe/im-online", version = "27.0.0", default-features = false }
pezpallet-indices = { path = "bizinikiwi/pezframe/indices", version = "28.0.0", default-features = false }
pezpallet-insecure-randomness-collective-flip = { path = "bizinikiwi/pezframe/insecure-randomness-collective-flip", version = "16.0.0", default-features = false }
-pezpallet-lottery = { default-features = false, path = "bizinikiwi/pezframe/lottery" }
+pezpallet-lottery = { default-features = false, version = "28.0.0", path = "bizinikiwi/pezframe/lottery" }
pezpallet-membership = { path = "bizinikiwi/pezframe/membership", version = "28.0.0", default-features = false }
pezpallet-message-queue = { path = "bizinikiwi/pezframe/message-queue", version = "31.0.0", default-features = false }
-pezpallet-meta-tx = { path = "bizinikiwi/pezframe/meta-tx", version = "0.1.0", default-features = false }
+pezpallet-meta-tx = { path = "bizinikiwi/pezframe/meta-tx", version = "0.44.0", default-features = false }
pezpallet-migrations = { path = "bizinikiwi/pezframe/migrations", version = "1.0.0", default-features = false }
pezpallet-minimal-template = { path = "templates/minimal/pezpallets/template", version = "0.0.0", default-features = false }
-pezpallet-mixnet = { default-features = false, path = "bizinikiwi/pezframe/mixnet" }
+pezpallet-mixnet = { default-features = false, version = "0.4.0", path = "bizinikiwi/pezframe/mixnet" }
pezpallet-mmr = { path = "bizinikiwi/pezframe/merkle-mountain-range", version = "27.0.0", default-features = false }
pezpallet-multi-asset-bounties = { path = "bizinikiwi/pezframe/multi-asset-bounties", version = "1.0.0", default-features = false }
pezpallet-multisig = { path = "bizinikiwi/pezframe/multisig", version = "28.0.0", default-features = false }
@@ -1084,7 +1086,7 @@ pezpallet-nft-fractionalization = { path = "bizinikiwi/pezframe/nft-fractionaliz
pezpallet-nfts = { path = "bizinikiwi/pezframe/nfts", version = "22.0.0", default-features = false }
pezpallet-nfts-runtime-api = { path = "bizinikiwi/pezframe/nfts/runtime-api", version = "14.0.0", default-features = false }
pezpallet-nis = { path = "bizinikiwi/pezframe/nis", version = "28.0.0", default-features = false }
-pezpallet-node-authorization = { default-features = false, path = "bizinikiwi/pezframe/node-authorization" }
+pezpallet-node-authorization = { default-features = false, version = "28.0.0", path = "bizinikiwi/pezframe/node-authorization" }
pezpallet-nomination-pools = { path = "bizinikiwi/pezframe/nomination-pools", version = "25.0.0", default-features = false }
pezpallet-nomination-pools-benchmarking = { path = "bizinikiwi/pezframe/nomination-pools/benchmarking", version = "26.0.0", default-features = false }
pezpallet-nomination-pools-runtime-api = { path = "bizinikiwi/pezframe/nomination-pools/runtime-api", version = "23.0.0", default-features = false }
@@ -1092,25 +1094,25 @@ pezpallet-offences = { path = "bizinikiwi/pezframe/offences", version = "27.0.0"
pezpallet-offences-benchmarking = { path = "bizinikiwi/pezframe/offences/benchmarking", version = "28.0.0", default-features = false }
pezpallet-origin-restriction = { path = "bizinikiwi/pezframe/origin-restriction", version = "1.0.0", default-features = false }
pezpallet-paged-list = { path = "bizinikiwi/pezframe/paged-list", version = "0.6.0", default-features = false }
-pezpallet-parameters = { path = "bizinikiwi/pezframe/parameters", version = "0.1.0", default-features = false }
+pezpallet-parameters = { path = "bizinikiwi/pezframe/parameters", version = "0.44.0", default-features = false }
pezpallet-people = { path = "bizinikiwi/pezframe/people", version = "1.0.0", default-features = false }
pezpallet-preimage = { path = "bizinikiwi/pezframe/preimage", version = "28.0.0", default-features = false }
pezpallet-proxy = { path = "bizinikiwi/pezframe/proxy", version = "28.0.0", default-features = false }
pezpallet-ranked-collective = { path = "bizinikiwi/pezframe/ranked-collective", version = "28.0.0", default-features = false }
pezpallet-recovery = { path = "bizinikiwi/pezframe/recovery", version = "28.0.0", default-features = false }
pezpallet-referenda = { path = "bizinikiwi/pezframe/referenda", version = "28.0.0", default-features = false }
-pezpallet-remark = { default-features = false, path = "bizinikiwi/pezframe/remark" }
+pezpallet-remark = { default-features = false, version = "28.0.0", path = "bizinikiwi/pezframe/remark" }
pezpallet-revive = { path = "bizinikiwi/pezframe/revive", version = "0.1.0", default-features = false }
pezpallet-revive-eth-rpc = { path = "bizinikiwi/pezframe/revive/rpc", version = "0.1.0", default-features = false }
pezpallet-revive-fixtures = { path = "bizinikiwi/pezframe/revive/fixtures", version = "0.1.0", default-features = false }
-pezpallet-revive-proc-macro = { path = "bizinikiwi/pezframe/revive/proc-macro", version = "0.1.0", default-features = false }
-pezpallet-revive-uapi = { path = "bizinikiwi/pezframe/revive/uapi", version = "0.1.0", default-features = false }
-pezpallet-root-offences = { default-features = false, path = "bizinikiwi/pezframe/root-offences" }
+pezpallet-revive-proc-macro = { path = "bizinikiwi/pezframe/revive/proc-macro", version = "0.44.0", default-features = false }
+pezpallet-revive-uapi = { path = "bizinikiwi/pezframe/revive/uapi", version = "0.44.0", default-features = false }
+pezpallet-root-offences = { default-features = false, version = "25.0.0", path = "bizinikiwi/pezframe/root-offences" }
pezpallet-root-testing = { path = "bizinikiwi/pezframe/root-testing", version = "4.0.0", default-features = false }
-pezpallet-safe-mode = { default-features = false, path = "bizinikiwi/pezframe/safe-mode" }
+pezpallet-safe-mode = { default-features = false, version = "9.0.0", path = "bizinikiwi/pezframe/safe-mode" }
pezpallet-salary = { path = "bizinikiwi/pezframe/salary", version = "13.0.0", default-features = false }
pezpallet-scheduler = { path = "bizinikiwi/pezframe/scheduler", version = "29.0.0", default-features = false }
-pezpallet-scored-pool = { default-features = false, path = "bizinikiwi/pezframe/scored-pool" }
+pezpallet-scored-pool = { default-features = false, version = "28.0.0", path = "bizinikiwi/pezframe/scored-pool" }
pezpallet-session = { path = "bizinikiwi/pezframe/session", version = "28.0.0", default-features = false }
pezpallet-session-benchmarking = { path = "bizinikiwi/pezframe/session/benchmarking", version = "28.0.0", default-features = false }
pezpallet-skip-feeless-payment = { path = "bizinikiwi/pezframe/transaction-payment/skip-feeless-payment", version = "3.0.0", default-features = false }
@@ -1141,7 +1143,7 @@ pezpallet-token-wrapper = { path = "pezcumulus/teyrchains/pezpallets/token-wrapp
bizinikiwi-bip39 = { path = "bizinikiwi/utils/bizinikiwi-bip39", version = "0.4.7", default-features = false }
bizinikiwi-build-script-utils = { path = "bizinikiwi/utils/build-script-utils", version = "11.0.0", default-features = false }
bizinikiwi-cli-test-utils = { path = "bizinikiwi/test-utils/cli", version = "0.1.0" }
-bizinikiwi-frame-rpc-support = { default-features = false, path = "bizinikiwi/utils/pezframe/rpc/support" }
+bizinikiwi-frame-rpc-support = { default-features = false, path = "bizinikiwi/utils/pezframe/rpc/support", version = "29.0.0" }
bizinikiwi-frame-rpc-system = { path = "bizinikiwi/utils/pezframe/rpc/system", version = "28.0.0", default-features = false }
bizinikiwi-rpc-client = { path = "bizinikiwi/utils/pezframe/rpc/client", version = "0.33.0", default-features = false }
bizinikiwi-state-trie-migration-rpc = { path = "bizinikiwi/utils/pezframe/rpc/state-trie-migration-rpc", version = "27.0.0", default-features = false }
@@ -1158,10 +1160,10 @@ parking_lot = { version = "0.12.1", default-features = false }
partial_sort = { version = "0.2.0" }
paste = { version = "1.0.15", default-features = false }
pbkdf2 = { version = "0.12.2", default-features = false }
-people-pezkuwichain-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-pezkuwichain" }
-people-pezkuwichain-runtime = { path = "pezcumulus/teyrchains/runtimes/people/people-pezkuwichain" }
-people-zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-zagros" }
-people-zagros-runtime = { path = "pezcumulus/teyrchains/runtimes/people/people-zagros" }
+people-pezkuwichain-emulated-chain = { version = "0.1.0", path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-pezkuwichain" }
+people-pezkuwichain-runtime = { version = "0.1.0", path = "pezcumulus/teyrchains/runtimes/people/people-pezkuwichain" }
+people-zagros-emulated-chain = { version = "0.1.0", path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/people/people-zagros" }
+people-zagros-runtime = { version = "0.1.0", path = "pezcumulus/teyrchains/runtimes/people/people-zagros" }
pest = { version = "2.7" }
pest_derive = { version = "2.7" }
pez-penpal-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/teyrchains/testing/penpal", version = "0.0.0" }
@@ -1244,7 +1246,7 @@ pezpallet-staking-async-runtime-api = { path = "bizinikiwi/pezframe/staking-asyn
pezpallet-staking-async-teyrchain-runtime = { path = "bizinikiwi/pezframe/staking-async/runtimes/teyrchain", version = "0.15.0" }
pezpallet-staking-runtime-api = { path = "bizinikiwi/pezframe/staking/runtime-api", version = "14.0.0", default-features = false }
pezpallet-state-trie-migration = { path = "bizinikiwi/pezframe/state-trie-migration", version = "29.0.0", default-features = false }
-pezpallet-statement = { default-features = false, path = "bizinikiwi/pezframe/statement" }
+pezpallet-statement = { default-features = false, version = "10.0.0", path = "bizinikiwi/pezframe/statement" }
pezpallet-sudo = { path = "bizinikiwi/pezframe/sudo", version = "28.0.0", default-features = false }
pezpallet-template = { path = "templates/solochain/pezpallets/template", version = "0.0.0", default-features = false }
pezpallet-timestamp = { path = "bizinikiwi/pezframe/timestamp", version = "27.0.0", default-features = false }
@@ -1252,9 +1254,9 @@ pezpallet-tips = { path = "bizinikiwi/pezframe/tips", version = "27.0.0", defaul
pezpallet-transaction-payment = { path = "bizinikiwi/pezframe/transaction-payment", version = "28.0.0", default-features = false }
pezpallet-transaction-payment-rpc = { path = "bizinikiwi/pezframe/transaction-payment/rpc", version = "30.0.0", default-features = false }
pezpallet-transaction-payment-rpc-runtime-api = { path = "bizinikiwi/pezframe/transaction-payment/rpc/runtime-api", version = "28.0.0", default-features = false }
-pezpallet-transaction-storage = { default-features = false, path = "bizinikiwi/pezframe/transaction-storage" }
+pezpallet-transaction-storage = { default-features = false, version = "27.0.0", path = "bizinikiwi/pezframe/transaction-storage" }
pezpallet-treasury = { path = "bizinikiwi/pezframe/treasury", version = "27.0.0", default-features = false }
-pezpallet-tx-pause = { default-features = false, path = "bizinikiwi/pezframe/tx-pause" }
+pezpallet-tx-pause = { default-features = false, version = "9.0.0", path = "bizinikiwi/pezframe/tx-pause" }
pezpallet-uniques = { path = "bizinikiwi/pezframe/uniques", version = "28.0.0", default-features = false }
pezpallet-utility = { path = "bizinikiwi/pezframe/utility", version = "28.0.0", default-features = false }
pezpallet-verify-signature = { path = "bizinikiwi/pezframe/verify-signature", version = "1.0.0", default-features = false }
@@ -1297,7 +1299,7 @@ pezsc-network = { path = "bizinikiwi/client/network", version = "0.34.0", defaul
pezsc-network-common = { path = "bizinikiwi/client/network/common", version = "0.33.0", default-features = false }
pezsc-network-gossip = { path = "bizinikiwi/client/network-gossip", version = "0.34.0", default-features = false }
pezsc-network-light = { path = "bizinikiwi/client/network/light", version = "0.33.0", default-features = false }
-pezsc-network-statement = { default-features = false, path = "bizinikiwi/client/network/statement" }
+pezsc-network-statement = { default-features = false, path = "bizinikiwi/client/network/statement", version = "0.16.0" }
pezsc-network-sync = { path = "bizinikiwi/client/network/sync", version = "0.33.0", default-features = false }
pezsc-network-test = { path = "bizinikiwi/client/network/test", version = "0.8.0" }
pezsc-network-transactions = { path = "bizinikiwi/client/network/transactions", version = "0.33.0", default-features = false }
@@ -1313,7 +1315,7 @@ pezsc-runtime-utilities = { path = "bizinikiwi/client/runtime-utilities", versio
pezsc-service = { path = "bizinikiwi/client/service", version = "0.35.0", default-features = false }
pezsc-service-test = { path = "bizinikiwi/client/service/test", version = "2.0.0" }
pezsc-state-db = { path = "bizinikiwi/client/state-db", version = "0.30.0", default-features = false }
-pezsc-statement-store = { default-features = false, path = "bizinikiwi/client/statement-store" }
+pezsc-statement-store = { default-features = false, version = "10.0.0", path = "bizinikiwi/client/statement-store" }
pezsc-storage-monitor = { path = "bizinikiwi/client/storage-monitor", version = "0.16.0", default-features = false }
pezsc-sync-state-rpc = { path = "bizinikiwi/client/sync-state-rpc", version = "0.34.0", default-features = false }
pezsc-sysinfo = { path = "bizinikiwi/client/sysinfo", version = "27.0.0", default-features = false }
@@ -1364,9 +1366,9 @@ pezsp-consensus-pow = { path = "bizinikiwi/primitives/consensus/pow", version =
pezsp-consensus-sassafras = { path = "bizinikiwi/primitives/consensus/sassafras", version = "0.3.4-dev", default-features = false }
pezsp-consensus-slots = { path = "bizinikiwi/primitives/consensus/slots", version = "0.32.0", default-features = false }
pezsp-core = { path = "bizinikiwi/primitives/core", version = "28.0.0", default-features = false }
-pezsp-core-hashing = { default-features = false, path = "bizinikiwi/deprecated/hashing" }
-pezsp-core-hashing-proc-macro = { default-features = false, path = "bizinikiwi/deprecated/hashing/proc-macro" }
-pezsp-crypto-ec-utils = { default-features = false, path = "bizinikiwi/primitives/crypto/ec-utils" }
+pezsp-core-hashing = { default-features = false, version = "15.0.0", path = "bizinikiwi/deprecated/hashing" }
+pezsp-core-hashing-proc-macro = { default-features = false, version = "15.0.0", path = "bizinikiwi/deprecated/hashing/proc-macro" }
+pezsp-crypto-ec-utils = { default-features = false, version = "0.10.0", path = "bizinikiwi/primitives/crypto/ec-utils" }
pezsp-crypto-hashing = { path = "bizinikiwi/primitives/crypto/hashing", version = "0.1.0", default-features = false }
pezsp-crypto-hashing-proc-macro = { path = "bizinikiwi/primitives/crypto/hashing/proc-macro", version = "0.1.0", default-features = false }
pezsp-database = { path = "bizinikiwi/primitives/database", version = "10.0.0", default-features = false }
@@ -1420,14 +1422,14 @@ proc-macro-error2 = { version = "2.0.0" }
proc-macro-warning = { version = "1.0.0", default-features = false }
proc-macro2 = { version = "1.0.86" }
procfs = { version = "0.16.0" }
-prom-metrics-parser = { package = "zombienet-prom-metrics-parser", path = "vendor/pezkuwi-zombienet-sdk/crates/prom-metrics-parser" }
+prom-metrics-parser = { package = "pezkuwi-zombienet-prom-metrics-parser", path = "vendor/pezkuwi-zombienet-sdk/crates/prom-metrics-parser", version = "0.44.0" }
prometheus = { version = "0.13.0", default-features = false }
prometheus-endpoint = { path = "bizinikiwi/utils/prometheus", default-features = false, package = "bizinikiwi-prometheus-endpoint", version = "0.17.0" }
prometheus-parse = { version = "0.2.2" }
proptest = { version = "1" }
prost = { version = "0.12.4" }
prost-build = { version = "0.13.2" }
-provider = { package = "zombienet-provider", path = "vendor/pezkuwi-zombienet-sdk/crates/provider" }
+provider = { package = "pezkuwi-zombienet-provider", path = "vendor/pezkuwi-zombienet-sdk/crates/provider", version = "0.44.0" }
pyroscope = { version = "0.5.8" }
pyroscope_pprofrs = { version = "0.2.8" }
quick_cache = { version = "0.3" }
@@ -1441,9 +1443,9 @@ rand_pcg = { version = "0.3.1" }
rbtag = { version = "0.3" }
ref-cast = { version = "1.0.23" }
regex = { version = "1.10.2" }
-relay-bizinikiwi-client = { path = "pezbridges/relays/client-bizinikiwi" }
-relay-utils = { path = "pezbridges/relays/utils" }
-remote-externalities = { path = "bizinikiwi/utils/pezframe/remote-externalities", default-features = false, package = "frame-remote-externalities" }
+relay-bizinikiwi-client = { version = "0.1.0", path = "pezbridges/relays/client-bizinikiwi" }
+relay-utils = { version = "0.1.0", path = "pezbridges/relays/utils" }
+remote-externalities = { path = "bizinikiwi/utils/pezframe/remote-externalities", version = "0.35.0", default-features = false, package = "pezframe-remote-externalities" }
reqwest = { version = "0.12.9" }
revm = { version = "27.0.2", default-features = false }
ripemd = { version = "0.1.3", default-features = false }
@@ -1518,24 +1520,24 @@ pezkuwi-subxt-rpcs = { path = "vendor/pezkuwi-subxt/rpcs", version = "0.44.0" }
pezkuwi-subxt-signer = { path = "vendor/pezkuwi-subxt/signer", version = "0.44.0" }
pezkuwi-subxt-utils-fetchmetadata = { path = "vendor/pezkuwi-subxt/utils/fetch-metadata", version = "0.44.0" }
pezkuwi-subxt-utils-stripmetadata = { path = "vendor/pezkuwi-subxt/utils/strip-metadata", version = "0.44.0" }
-support = { package = "zombienet-support", path = "vendor/pezkuwi-zombienet-sdk/crates/support" }
+support = { package = "pezkuwi-zombienet-support", path = "vendor/pezkuwi-zombienet-sdk/crates/support", version = "0.44.0" }
syn = { version = "2.0.87" }
sysinfo = { version = "0.30" }
tar = { version = "0.4" }
tempfile = { version = "3.8.1" }
-teyrchain-info = { path = "pezcumulus/teyrchains/pezpallets/teyrchain-info", default-features = false, package = "pezstaging-teyrchain-info" }
-teyrchain-template-runtime = { path = "templates/teyrchain/runtime" }
+teyrchain-info = { path = "pezcumulus/teyrchains/pezpallets/teyrchain-info", version = "0.7.0", default-features = false, package = "pezstaging-teyrchain-info" }
+teyrchain-template-runtime = { version = "0.0.0", path = "templates/teyrchain/runtime" }
teyrchains-common = { path = "pezcumulus/teyrchains/common", version = "7.0.0", default-features = false }
-teyrchains-relay = { path = "pezbridges/relays/teyrchains" }
-teyrchains-runtimes-test-utils = { path = "pezcumulus/teyrchains/runtimes/test-utils", default-features = false }
+teyrchains-relay = { version = "0.1.0", path = "pezbridges/relays/teyrchains" }
+teyrchains-runtimes-test-utils = { path = "pezcumulus/teyrchains/runtimes/test-utils", version = "7.0.0", default-features = false }
# pinned test-case to 3.3.1 because they support only the latest stable version of rust
peztest-runtime-constants = { path = "pezkuwi/runtime/test-runtime/constants", version = "1.0.0", default-features = false }
test-case = { version = "=3.3.1" }
test-log = { version = "0.2.14" }
test-pezpallet = { path = "bizinikiwi/pezframe/support/test/pezpallet", default-features = false, package = "pezframe-support-test-pezpallet" }
-test-teyrchain-adder = { path = "pezkuwi/teyrchain/test-teyrchains/adder" }
-test-teyrchain-halt = { path = "pezkuwi/teyrchain/test-teyrchains/halt" }
-test-teyrchain-undying = { path = "pezkuwi/teyrchain/test-teyrchains/undying" }
+test-teyrchain-adder = { version = "1.0.0", path = "pezkuwi/teyrchain/test-teyrchains/adder" }
+test-teyrchain-halt = { version = "1.0.0", path = "pezkuwi/teyrchain/test-teyrchains/halt" }
+test-teyrchain-undying = { version = "1.0.0", path = "pezkuwi/teyrchain/test-teyrchains/undying" }
testnet-teyrchains-constants = { path = "pezcumulus/teyrchains/runtimes/constants", version = "1.0.0", default-features = false }
thiserror = { version = "1.0.69" }
thousands = { version = "0.2.0" }
@@ -1559,7 +1561,7 @@ tracing-core = { version = "0.1.32", default-features = false }
tracing-futures = { version = "0.2.4" }
tracing-log = { version = "0.2.0" }
tracing-subscriber = { version = "0.3.20" }
-tracking-allocator = { path = "pezkuwi/node/tracking-allocator", default-features = false, package = "pezstaging-tracking-allocator" }
+tracking-allocator = { version = "2.0.0", path = "pezkuwi/node/tracking-allocator", default-features = false, package = "pezstaging-tracking-allocator" }
trie-bench = { version = "=0.42.0" }
trie-db = { version = "0.30.0", default-features = false }
trie-root = { version = "0.18.0", default-features = false }
@@ -1568,7 +1570,7 @@ trybuild = { version = "1.0.103" }
tt-call = { version = "1.0.8" }
tuplex = { version = "0.1", default-features = false }
twox-hash = { version = "1.6.3", default-features = false }
-txtesttool = { path = "bizinikiwi/utils/txtesttool", default-features = false, package = "bizinikiwi-txtesttool" }
+txtesttool = { path = "bizinikiwi/utils/txtesttool", version = "0.7.0", default-features = false, package = "bizinikiwi-txtesttool" }
unsigned-varint = { version = "0.7.2" }
url = { version = "2.5.4" }
uuid = { version = "1.4" }
@@ -1589,24 +1591,27 @@ wat = { version = "1.0.0" }
web-sys = { version = "0.3.70" }
web-time = { version = "1.1", default-features = false }
x25519-dalek = { version = "2.0" }
-xcm = { path = "pezkuwi/xcm", default-features = false, package = "pezstaging-xcm" }
-xcm-builder = { path = "pezkuwi/xcm/xcm-builder", default-features = false, package = "pezstaging-xcm-builder" }
-xcm-executor = { path = "pezkuwi/xcm/xcm-executor", default-features = false, package = "pezstaging-xcm-executor" }
+xcm = { path = "pezkuwi/xcm", version = "7.0.1", default-features = false, package = "pezstaging-xcm" }
+xcm-builder = { path = "pezkuwi/xcm/xcm-builder", version = "7.0.0", default-features = false, package = "pezstaging-xcm-builder" }
+xcm-executor = { path = "pezkuwi/xcm/xcm-executor", version = "7.0.0", default-features = false, package = "pezstaging-xcm-executor" }
xcm-pez-docs = { path = "pezkuwi/xcm/docs", version = "0.1.0" }
xcm-pez-emulator = { path = "pezcumulus/xcm/xcm-pez-emulator", version = "0.5.0", default-features = false }
xcm-pez-procedural = { path = "pezkuwi/xcm/procedural", version = "7.0.0", default-features = false }
xcm-pez-simulator = { path = "pezkuwi/xcm/xcm-pez-simulator", version = "7.0.0", default-features = false }
xcm-runtime-pezapis = { path = "pezkuwi/xcm/xcm-runtime-pezapis", version = "0.1.1", default-features = false }
-yet-another-teyrchain-runtime = { path = "pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain" }
-zagros-emulated-chain = { path = "pezcumulus/teyrchains/integration-tests/emulated/chains/relays/zagros", default-features = false }
-zagros-runtime = { path = "pezkuwi/runtime/zagros", default-features = false }
-zagros-runtime-constants = { path = "pezkuwi/runtime/zagros/constants", default-features = false }
-zagros-system-emulated-network = { path = "pezcumulus/teyrchains/integration-tests/emulated/networks/zagros-system" }
+yet-another-teyrchain-runtime = { version = "0.6.0", path = "pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain" }
+zagros-emulated-chain = { version = "0.0.0", path = "pezcumulus/teyrchains/integration-tests/emulated/chains/relays/zagros", default-features = false }
+zagros-runtime = { path = "pezkuwi/runtime/zagros", default-features = false, version = "7.0.0" }
+zagros-runtime-constants = { path = "pezkuwi/runtime/zagros/constants", default-features = false, version = "7.0.0" }
+zagros-system-emulated-network = { version = "0.0.0", path = "pezcumulus/teyrchains/integration-tests/emulated/networks/zagros-system" }
zeroize = { version = "1.7.0", default-features = false }
# Pezkuwi-zombienet-sdk (vendored)
-zombienet-configuration = { path = "vendor/pezkuwi-zombienet-sdk/crates/configuration", version = "0.44.0" }
-zombienet-orchestrator = { path = "vendor/pezkuwi-zombienet-sdk/crates/orchestrator", version = "0.44.0" }
-zombienet-sdk = { path = "vendor/pezkuwi-zombienet-sdk/crates/sdk", version = "0.44.0" }
+pezkuwi-zombienet-configuration = { path = "vendor/pezkuwi-zombienet-sdk/crates/configuration", version = "0.44.0" }
+pezkuwi-zombienet-orchestrator = { path = "vendor/pezkuwi-zombienet-sdk/crates/orchestrator", version = "0.44.0" }
+pezkuwi-zombienet-prom-metrics-parser = { path = "vendor/pezkuwi-zombienet-sdk/crates/prom-metrics-parser", version = "0.44.0" }
+pezkuwi-zombienet-provider = { path = "vendor/pezkuwi-zombienet-sdk/crates/provider", version = "0.44.0" }
+pezkuwi-zombienet-sdk = { path = "vendor/pezkuwi-zombienet-sdk/crates/sdk", version = "0.44.0" }
+pezkuwi-zombienet-support = { path = "vendor/pezkuwi-zombienet-sdk/crates/support", version = "0.44.0" }
zstd = { version = "0.12.4", default-features = false }
[profile.release]
diff --git a/bizinikiwi/bin/node/cli/Cargo.toml b/bizinikiwi/bin/node/cli/Cargo.toml
index 46849a18..63066807 100644
--- a/bizinikiwi/bin/node/cli/Cargo.toml
+++ b/bizinikiwi/bin/node/cli/Cargo.toml
@@ -61,20 +61,23 @@ rand = { workspace = true, default-features = true }
serde = { features = ["derive"], workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
+# For storage benchmarks
+pezframe-benchmarking-cli = { workspace = true, optional = true }
+
# The Pezkuwi-SDK:
pezkuwi-sdk = { features = [
"bizinikiwi-build-script-utils",
"bizinikiwi-frame-rpc-support",
"bizinikiwi-frame-rpc-system",
- "bizinikiwi-prometheus-endpoint",
+ "prometheus-endpoint",
"bizinikiwi-rpc-client",
"bizinikiwi-state-trie-migration-rpc",
"bizinikiwi-wasm-builder",
- "frame-remote-externalities",
+ "remote-externalities",
"pez-fork-tree",
"pez-generate-bags",
"pez-subkey",
- "pez-tracing-gum",
+ "gum",
"pezframe-benchmarking-cli",
"pezframe-support-procedural-tools",
"pezmmr-gadget",
@@ -150,9 +153,9 @@ pezkuwi-sdk = { features = [
"pezsp-timestamp",
"pezsp-tracing",
"pezsp-transaction-storage-proof",
- "pezstaging-chain-spec-builder",
- "pezstaging-node-inspect",
- "pezstaging-tracking-allocator",
+ "chain-spec-builder",
+ "node-inspect",
+ "tracking-allocator",
"std",
], workspace = true, default-features = true }
@@ -221,6 +224,7 @@ runtime-benchmarks = [
"pezsp-keyring/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
]
+storage-benchmark = ["pezframe-benchmarking-cli/storage-benchmark"]
try-runtime = [
"bizinikiwi-cli-test-utils/try-runtime",
"pez-kitchensink-runtime/try-runtime",
diff --git a/bizinikiwi/bin/node/cli/src/command.rs b/bizinikiwi/bin/node/cli/src/command.rs
index 1dbacbc8..4ebd2d20 100644
--- a/bizinikiwi/bin/node/cli/src/command.rs
+++ b/bizinikiwi/bin/node/cli/src/command.rs
@@ -125,12 +125,7 @@ pub fn run() -> Result<()> {
let partial = new_partial(&config, None)?;
cmd.run(partial.client)
},
- #[cfg(not(feature = "runtime-benchmarks"))]
- BenchmarkCmd::Storage(_) => Err(
- "Storage benchmarking can be enabled with `--features runtime-benchmarks`."
- .into(),
- ),
- #[cfg(feature = "runtime-benchmarks")]
+ #[cfg(feature = "storage-benchmark")]
BenchmarkCmd::Storage(cmd) => {
// ensure that we keep the task manager alive
let partial = new_partial(&config, None)?;
diff --git a/bizinikiwi/bin/utils/chain-spec-builder/Cargo.toml b/bizinikiwi/bin/utils/chain-spec-builder/Cargo.toml
index 9ae0cdb5..e334e7f6 100644
--- a/bizinikiwi/bin/utils/chain-spec-builder/Cargo.toml
+++ b/bizinikiwi/bin/utils/chain-spec-builder/Cargo.toml
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[[bin]]
path = "bin/main.rs"
-name = "chain-spec-builder"
+name = "pezstaging-chain-spec-builder"
[lib]
# Docs tests are not needed since the code samples that would be executed
@@ -39,7 +39,7 @@ serde = { workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
[dev-dependencies]
-bizinikiwi-test-runtime = { workspace = true }
+# bizinikiwi-test-runtime = { workspace = true } # publish=false
cmd_lib = { workspace = true }
pretty_assertions = { workspace = true }
@@ -47,6 +47,6 @@ pretty_assertions = { workspace = true }
# `cargo build --feature=generate-readme` updates the `README.md` file.
generate-readme = []
runtime-benchmarks = [
- "bizinikiwi-test-runtime/runtime-benchmarks",
+ # "bizinikiwi-test-runtime/runtime-benchmarks",
"pezsc-chain-spec/runtime-benchmarks",
]
diff --git a/bizinikiwi/client/chain-spec/src/lib.rs b/bizinikiwi/client/chain-spec/src/lib.rs
index 0dd0b793..4d78c90e 100644
--- a/bizinikiwi/client/chain-spec/src/lib.rs
+++ b/bizinikiwi/client/chain-spec/src/lib.rs
@@ -143,7 +143,7 @@
//!
A JSON object that provides an explicit and comprehensive representation of the
//! RuntimeGenesisConfig struct, which is generated by pezkuwi_sdk_frame::runtime::prelude::construct_runtime macro (pezframe::runtime::prelude::construct_runtime macro (example of generated struct). Must contain *all* the keys of
//! the genesis config, no defaults will be used.
diff --git a/bizinikiwi/client/db/src/lib.rs b/bizinikiwi/client/db/src/lib.rs
index 919183e6..4340af60 100644
--- a/bizinikiwi/client/db/src/lib.rs
+++ b/bizinikiwi/client/db/src/lib.rs
@@ -1263,7 +1263,7 @@ impl Backend {
);
}
- SharedTrieCache::new(pezsp_trie::cache::CacheSize::new(maximum_size), config.metrics_registry.as_ref())
+ SharedTrieCache::new(pezsp_trie::cache::CacheSize::new(maximum_size), None)
});
let backend = Backend {
diff --git a/bizinikiwi/client/merkle-mountain-range/Cargo.toml b/bizinikiwi/client/merkle-mountain-range/Cargo.toml
index b5a81738..bbd5bfa7 100644
--- a/bizinikiwi/client/merkle-mountain-range/Cargo.toml
+++ b/bizinikiwi/client/merkle-mountain-range/Cargo.toml
@@ -29,7 +29,7 @@ pezsp-mmr-primitives = { workspace = true, default-features = true }
pezsp-runtime = { workspace = true, default-features = true }
[dev-dependencies]
-bizinikiwi-test-runtime-client = { workspace = true }
+# bizinikiwi-test-runtime-client = { workspace = true }
parking_lot = { workspace = true, default-features = true }
pezsc-block-builder = { workspace = true, default-features = true }
pezsp-tracing = { workspace = true, default-features = true }
@@ -37,7 +37,7 @@ tokio = { workspace = true, default-features = true }
[features]
runtime-benchmarks = [
- "bizinikiwi-test-runtime-client/runtime-benchmarks",
+ # "bizinikiwi-test-runtime-client/runtime-benchmarks",
"pezsc-block-builder/runtime-benchmarks",
"pezsc-client-api/runtime-benchmarks",
"pezsc-offchain/runtime-benchmarks",
diff --git a/bizinikiwi/client/transaction-pool/Cargo.toml b/bizinikiwi/client/transaction-pool/Cargo.toml
index 55aa728f..e22ecc92 100644
--- a/bizinikiwi/client/transaction-pool/Cargo.toml
+++ b/bizinikiwi/client/transaction-pool/Cargo.toml
@@ -67,8 +67,8 @@ serde_json = { workspace = true }
tokio = { workspace = true, features = ["rt-multi-thread"] }
tracing-subscriber = { workspace = true }
txtesttool = { workspace = true }
-zombienet-configuration = { workspace = true }
-zombienet-sdk = { workspace = true }
+pezkuwi-zombienet-configuration = { workspace = true }
+pezkuwi-zombienet-sdk = { workspace = true }
[features]
runtime-benchmarks = [
diff --git a/bizinikiwi/client/transaction-pool/tests/zombienet/mod.rs b/bizinikiwi/client/transaction-pool/tests/zombienet/mod.rs
index c03682ad..29d629c4 100644
--- a/bizinikiwi/client/transaction-pool/tests/zombienet/mod.rs
+++ b/bizinikiwi/client/transaction-pool/tests/zombienet/mod.rs
@@ -23,7 +23,7 @@ use anyhow::anyhow;
use std::time::SystemTime;
use tracing_subscriber::EnvFilter;
use txtesttool::scenario::{ChainType, ScenarioBuilder};
-use zombienet_sdk::{
+use pezkuwi_zombienet_sdk::{
pezkuwi_subxt::BizinikiwConfig, GlobalSettingsBuilder, LocalFileSystem, Network, NetworkConfig,
NetworkConfigBuilder, NetworkConfigExt, WithRelaychain,
};
diff --git a/bizinikiwi/client/transaction-pool/tests/zombienet/yap_test.rs b/bizinikiwi/client/transaction-pool/tests/zombienet/yap_test.rs
index 9a03b96c..5510f655 100644
--- a/bizinikiwi/client/transaction-pool/tests/zombienet/yap_test.rs
+++ b/bizinikiwi/client/transaction-pool/tests/zombienet/yap_test.rs
@@ -25,7 +25,7 @@ use crate::zombienet::{BlockSubscriptionType, NetworkSpawner, ScenarioBuilderSha
use pezcumulus_zombienet_sdk_helpers::create_assign_core_call;
use serde_json::json;
use txtesttool::{execution_log::ExecutionLog, scenario::ScenarioBuilder};
-use zombienet_sdk::{
+use pezkuwi_zombienet_sdk::{
pezkuwi_subxt::{OnlineClient, PezkuwiConfig},
pezkuwi_subxt_signer::sr25519::dev,
NetworkConfigBuilder,
@@ -35,7 +35,7 @@ use zombienet_sdk::{
#[ignore]
async fn slot_based_3cores_test() -> Result<(), anyhow::Error> {
let spawner = NetworkSpawner::with_closure(|| {
- let images = zombienet_sdk::environment::get_images_from_env();
+ let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
let names = ["alice", "bob", "charlie"];
NetworkConfigBuilder::new()
.with_relaychain(|r| {
diff --git a/bizinikiwi/pezframe/Cargo.toml b/bizinikiwi/pezframe/Cargo.toml
index d2ea38cd..d29031ed 100644
--- a/bizinikiwi/pezframe/Cargo.toml
+++ b/bizinikiwi/pezframe/Cargo.toml
@@ -1,5 +1,5 @@
[package]
-name = "pezkuwi-sdk-frame"
+name = "pezframe"
version = "0.1.0"
authors = [
"Kurdistan Tech Institute ",
diff --git a/bizinikiwi/pezframe/assets-freezer/Cargo.toml b/bizinikiwi/pezframe/assets-freezer/Cargo.toml
index 976150a0..025f9023 100644
--- a/bizinikiwi/pezframe/assets-freezer/Cargo.toml
+++ b/bizinikiwi/pezframe/assets-freezer/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "pezpallet-assets-freezer"
-version = "0.1.0"
+version = "0.44.0"
authors.workspace = true
edition.workspace = true
license = "MIT-0"
@@ -17,7 +17,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
log = { workspace = true }
pezpallet-assets = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
@@ -29,19 +31,21 @@ pezpallet-balances = { workspace = true }
default = ["std"]
std = [
"codec/std",
- "frame/std",
+ "pezframe/std",
+ "pezframe-system/std",
+ "pezframe-support/std",
"log/std",
"pezpallet-assets/std",
"pezpallet-balances/std",
"scale-info/std",
]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
]
try-runtime = [
- "frame/try-runtime",
+ "pezframe/try-runtime",
"pezpallet-assets/try-runtime",
"pezpallet-balances/try-runtime",
]
diff --git a/bizinikiwi/pezframe/assets-freezer/src/impls.rs b/bizinikiwi/pezframe/assets-freezer/src/impls.rs
index 7ec353b1..d305a22b 100644
--- a/bizinikiwi/pezframe/assets-freezer/src/impls.rs
+++ b/bizinikiwi/pezframe/assets-freezer/src/impls.rs
@@ -22,7 +22,7 @@
// SOFTWARE.
use super::*;
-use frame::prelude::storage::StorageDoubleMap;
+use pezframe::prelude::storage::StorageDoubleMap;
use pezpallet_assets::FrozenBalance;
// Implements [`FrozenBalance`] from [`pezpallet-assets`], so it can understand how much of an
diff --git a/bizinikiwi/pezframe/assets-freezer/src/lib.rs b/bizinikiwi/pezframe/assets-freezer/src/lib.rs
index 6d7f7fdf..46e38216 100644
--- a/bizinikiwi/pezframe/assets-freezer/src/lib.rs
+++ b/bizinikiwi/pezframe/assets-freezer/src/lib.rs
@@ -47,7 +47,7 @@
#![cfg_attr(not(feature = "std"), no_std)]
-use frame::{
+use pezframe::{
prelude::*,
traits::{
fungibles::{Inspect, InspectFreeze, MutateFreeze},
@@ -60,7 +60,7 @@ use frame::{
pub use pezpallet::*;
#[cfg(feature = "try-runtime")]
-use frame::try_runtime::TryRuntimeError;
+use pezframe::try_runtime::TryRuntimeError;
#[cfg(test)]
mod mock;
@@ -69,7 +69,7 @@ mod tests;
mod impls;
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
diff --git a/bizinikiwi/pezframe/assets-freezer/src/mock.rs b/bizinikiwi/pezframe/assets-freezer/src/mock.rs
index 9f53260d..bc76e784 100644
--- a/bizinikiwi/pezframe/assets-freezer/src/mock.rs
+++ b/bizinikiwi/pezframe/assets-freezer/src/mock.rs
@@ -26,7 +26,7 @@
use crate as pezpallet_assets_freezer;
pub use crate::*;
use codec::{Compact, Decode, Encode, MaxEncodedLen};
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
use scale_info::TypeInfo;
pub type AccountId = u64;
diff --git a/bizinikiwi/pezframe/assets-freezer/src/tests.rs b/bizinikiwi/pezframe/assets-freezer/src/tests.rs
index b1709c5c..84caf2a1 100644
--- a/bizinikiwi/pezframe/assets-freezer/src/tests.rs
+++ b/bizinikiwi/pezframe/assets-freezer/src/tests.rs
@@ -26,7 +26,7 @@
use crate::mock::{self, *};
use codec::Compact;
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
use pezpallet_assets::FrozenBalance;
const WHO: AccountId = 1;
diff --git a/bizinikiwi/pezframe/atomic-swap/Cargo.toml b/bizinikiwi/pezframe/atomic-swap/Cargo.toml
index de2824ae..8240f2cc 100644
--- a/bizinikiwi/pezframe/atomic-swap/Cargo.toml
+++ b/bizinikiwi/pezframe/atomic-swap/Cargo.toml
@@ -18,7 +18,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[dev-dependencies]
@@ -26,9 +28,9 @@ pezpallet-balances = { workspace = true, default-features = true }
[features]
default = ["std"]
-std = ["codec/std", "frame/std", "pezpallet-balances/std", "scale-info/std"]
-try-runtime = ["frame/try-runtime", "pezpallet-balances/try-runtime"]
+std = ["codec/std", "pezframe/std", "pezpallet-balances/std", "scale-info/std"]
+try-runtime = ["pezframe/try-runtime", "pezpallet-balances/try-runtime"]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
]
diff --git a/bizinikiwi/pezframe/atomic-swap/src/lib.rs b/bizinikiwi/pezframe/atomic-swap/src/lib.rs
index f213f602..1995e806 100644
--- a/bizinikiwi/pezframe/atomic-swap/src/lib.rs
+++ b/bizinikiwi/pezframe/atomic-swap/src/lib.rs
@@ -50,7 +50,7 @@ use core::{
marker::PhantomData,
ops::{Deref, DerefMut},
};
-use frame::{
+use pezframe::{
prelude::*,
traits::{BalanceStatus, Currency, ReservableCurrency},
};
@@ -173,7 +173,7 @@ where
pub use pezpallet::*;
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
diff --git a/bizinikiwi/pezframe/atomic-swap/src/tests.rs b/bizinikiwi/pezframe/atomic-swap/src/tests.rs
index 1ffa0619..a94c4724 100644
--- a/bizinikiwi/pezframe/atomic-swap/src/tests.rs
+++ b/bizinikiwi/pezframe/atomic-swap/src/tests.rs
@@ -19,7 +19,7 @@
use super::*;
use crate as pezpallet_atomic_swap;
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
type Block = pezframe_system::mocking::MockBlock;
diff --git a/bizinikiwi/pezframe/benchmarking/src/lib.rs b/bizinikiwi/pezframe/benchmarking/src/lib.rs
index 0da2e019..33331b7d 100644
--- a/bizinikiwi/pezframe/benchmarking/src/lib.rs
+++ b/bizinikiwi/pezframe/benchmarking/src/lib.rs
@@ -317,7 +317,7 @@ pub use v1::*;
/// To migrate your code from benchmarking v1 to benchmarking v2, you may follow these
/// steps:
/// 1. Change the import from `pezframe_benchmarking::v1::` to `pezframe_benchmarking::v2::*`, or
-/// `frame::benchmarking::prelude::*` under the umbrella crate;
+/// `pezframe::benchmarking::prelude::*` under the umbrella crate;
/// 2. Move the code inside the v1 `benchmarks! { ... }` block to the v2 benchmarks module `mod
/// benchmarks { ... }` under the benchmarks macro (`#[benchmarks]` for a regular module, or
/// `#[instance_benchmarks]` to set up the module in instance benchmarking mode);
diff --git a/bizinikiwi/pezframe/contracts/Cargo.toml b/bizinikiwi/pezframe/contracts/Cargo.toml
index 65cf5b07..b9d211c9 100644
--- a/bizinikiwi/pezframe/contracts/Cargo.toml
+++ b/bizinikiwi/pezframe/contracts/Cargo.toml
@@ -54,7 +54,7 @@ xcm-builder = { workspace = true }
[dev-dependencies]
array-bytes = { workspace = true, default-features = true }
assert_matches = { workspace = true }
-pezpallet-contracts-fixtures = { workspace = true }
+# pezpallet-contracts-fixtures = { workspace = true } # Commented for crates.io publish (test-only crate)
pretty_assertions = { workspace = true }
wat = { workspace = true }
@@ -102,7 +102,7 @@ runtime-benchmarks = [
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
- "pezpallet-contracts-fixtures/runtime-benchmarks",
+ # "pezpallet-contracts-fixtures/runtime-benchmarks", # Commented for crates.io publish
"pezpallet-insecure-randomness-collective-flip/runtime-benchmarks",
"pezpallet-proxy/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
diff --git a/bizinikiwi/pezframe/contracts/fixtures/Cargo.toml b/bizinikiwi/pezframe/contracts/fixtures/Cargo.toml
index 8b5dba33..47bd6032 100644
--- a/bizinikiwi/pezframe/contracts/fixtures/Cargo.toml
+++ b/bizinikiwi/pezframe/contracts/fixtures/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "pezpallet-contracts-fixtures"
-publish = false
+publish = true
version = "1.0.0"
authors.workspace = true
edition.workspace = true
@@ -9,6 +9,7 @@ description = "Fixtures for testing contracts pezpallet."
documentation.workspace = true
repository = { workspace = true }
homepage = { workspace = true }
+include = ["build.rs", "contracts/**", "src/**", "Cargo.toml"]
[lints]
workspace = true
diff --git a/bizinikiwi/pezframe/contracts/fixtures/build.rs b/bizinikiwi/pezframe/contracts/fixtures/build.rs
index 65c91516..2abc63d5 100644
--- a/bizinikiwi/pezframe/contracts/fixtures/build.rs
+++ b/bizinikiwi/pezframe/contracts/fixtures/build.rs
@@ -120,7 +120,29 @@ fn create_cargo_toml<'a>(
output_dir: &Path,
) -> Result<()> {
let root_toml: toml::Value = toml::from_str(&fs::read_to_string(root_cargo_toml)?)?;
- let mut cargo_toml: toml::Value = toml::from_str(include_str!("./build/Cargo.toml"))?;
+ // Template embedded to avoid include_str! path issues during crates.io publish
+ const CARGO_TOML_TEMPLATE: &str = r#"[package]
+name = "contracts"
+version = "0.6.3"
+edition = "2021"
+description = "Pezkuwi SDK component: contracts"
+repository = "https://github.com/pezkuwichain/pezkuwi-sdk"
+homepage = "https://pezkuwi.io"
+authors = ["Pezkuwi Chain "]
+license = "Apache-2.0"
+[[bin]]
+
+[dependencies]
+common = { package = 'pezpallet-contracts-fixtures-common', path = "" }
+polkavm-derive = { version = "" }
+uapi = { package = 'pezpallet-contracts-uapi', path = "", default-features = false }
+
+[profile.release]
+opt-level = 3
+lto = true
+codegen-units = 1
+"#;
+ let mut cargo_toml: toml::Value = toml::from_str(CARGO_TOML_TEMPLATE)?;
let mut set_dep = |name, path| -> Result<()> {
cargo_toml["dependencies"][name]["path"] = toml::Value::String(
fixtures_dir.join(path).canonicalize()?.to_str().unwrap().to_string(),
@@ -270,7 +292,13 @@ fn main() -> Result<()> {
let fixtures_dir: PathBuf = env::var("CARGO_MANIFEST_DIR")?.into();
let contracts_dir = fixtures_dir.join("contracts");
let out_dir: PathBuf = env::var("OUT_DIR")?.into();
- let workspace_root = find_workspace_root(&fixtures_dir).expect("workspace root exists; qed");
+
+ // During crates.io package verification, workspace root may not exist.
+ // In that case, skip contract compilation (contracts are pre-compiled in src/).
+ let Some(workspace_root) = find_workspace_root(&fixtures_dir) else {
+ eprintln!("Note: Workspace root not found, skipping contract compilation (expected during crates.io verification)");
+ return Ok(());
+ };
let root_cargo_toml = workspace_root.join("Cargo.toml");
let entries = collect_entries(&contracts_dir, &out_dir);
diff --git a/bizinikiwi/pezframe/examples/pezframe-crate/Cargo.toml b/bizinikiwi/pezframe/examples/pezframe-crate/Cargo.toml
index 20e3b2c2..a66e8ace 100644
--- a/bizinikiwi/pezframe/examples/pezframe-crate/Cargo.toml
+++ b/bizinikiwi/pezframe/examples/pezframe-crate/Cargo.toml
@@ -23,9 +23,11 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
-frame = { features = ["runtime"], workspace = true }
+pezframe = { features = ["runtime"], workspace = true }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
[features]
default = ["std"]
-std = ["codec/std", "frame/std", "scale-info/std"]
-runtime-benchmarks = ["frame/runtime-benchmarks"]
+std = ["codec/std", "pezframe/std", "pezframe-system/std", "pezframe-support/std", "scale-info/std"]
+runtime-benchmarks = ["pezframe/runtime-benchmarks"]
diff --git a/bizinikiwi/pezframe/examples/pezframe-crate/src/lib.rs b/bizinikiwi/pezframe/examples/pezframe-crate/src/lib.rs
index f6f09e62..1c5988b4 100644
--- a/bizinikiwi/pezframe/examples/pezframe-crate/src/lib.rs
+++ b/bizinikiwi/pezframe/examples/pezframe-crate/src/lib.rs
@@ -21,9 +21,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
-use frame::prelude::*;
+use pezframe::prelude::*;
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet {
use super::*;
@@ -50,7 +50,7 @@ pub mod pezpallet {
#[cfg(test)]
mod tests {
use crate::pezpallet as my_pallet;
- use frame::testing_prelude::*;
+ use pezframe::testing_prelude::*;
construct_runtime!(
pub enum Runtime {
diff --git a/bizinikiwi/pezframe/insecure-randomness-collective-flip/Cargo.toml b/bizinikiwi/pezframe/insecure-randomness-collective-flip/Cargo.toml
index a69038ba..73d855fd 100644
--- a/bizinikiwi/pezframe/insecure-randomness-collective-flip/Cargo.toml
+++ b/bizinikiwi/pezframe/insecure-randomness-collective-flip/Cargo.toml
@@ -18,12 +18,14 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive"], workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
safe-mix = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[features]
default = ["std"]
-std = ["codec/std", "frame/std", "safe-mix/std", "scale-info/std"]
-try-runtime = ["frame/try-runtime"]
-runtime-benchmarks = ["frame/runtime-benchmarks"]
+std = ["codec/std", "pezframe/std", "safe-mix/std", "scale-info/std"]
+try-runtime = ["pezframe/try-runtime"]
+runtime-benchmarks = ["pezframe/runtime-benchmarks"]
diff --git a/bizinikiwi/pezframe/insecure-randomness-collective-flip/src/lib.rs b/bizinikiwi/pezframe/insecure-randomness-collective-flip/src/lib.rs
index 446446a9..6a5cc9c8 100644
--- a/bizinikiwi/pezframe/insecure-randomness-collective-flip/src/lib.rs
+++ b/bizinikiwi/pezframe/insecure-randomness-collective-flip/src/lib.rs
@@ -42,9 +42,9 @@
//! ### Example - Get random seed for the current block
//!
//! ```
-//! use frame::{prelude::*, traits::Randomness};
+//! use pezframe::{prelude::*, traits::Randomness};
//!
-//! #[frame::pezpallet]
+//! #[pezframe::pezpallet]
//! pub mod pezpallet {
//! use super::*;
//!
@@ -71,7 +71,7 @@
use safe_mix::TripletMix;
use codec::Encode;
-use frame::{prelude::*, traits::Randomness};
+use pezframe::{prelude::*, traits::Randomness};
const RANDOM_MATERIAL_LEN: u32 = 81;
@@ -83,7 +83,7 @@ fn block_number_to_index(block_number: BlockNumberFor) -> usize {
pub use pezpallet::*;
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
@@ -162,7 +162,7 @@ impl Randomness> for Pezpallet {
mod tests {
use super::*;
use crate as pezpallet_insecure_randomness_collective_flip;
- use frame::{
+ use pezframe::{
testing_prelude::{pezframe_system::limits, *},
traits::Header as _,
};
diff --git a/bizinikiwi/pezframe/lottery/Cargo.toml b/bizinikiwi/pezframe/lottery/Cargo.toml
index 06ec1422..dd8724ff 100644
--- a/bizinikiwi/pezframe/lottery/Cargo.toml
+++ b/bizinikiwi/pezframe/lottery/Cargo.toml
@@ -23,8 +23,8 @@ pezframe-system = { workspace = true }
pezsp-runtime = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
+# pezframe-support-test moved to integration tests to break circular dependency
[dev-dependencies]
-pezframe-support-test = { workspace = true }
pezpallet-balances = { workspace = true, default-features = true }
pezsp-core = { workspace = true, default-features = true }
pezsp-io = { workspace = true, default-features = true }
@@ -34,7 +34,6 @@ default = ["std"]
std = [
"codec/std",
"pezframe-benchmarking?/std",
- "pezframe-support-test/std",
"pezframe-support/std",
"pezframe-system/std",
"pezpallet-balances/std",
@@ -45,7 +44,6 @@ std = [
]
runtime-benchmarks = [
"pezframe-benchmarking/runtime-benchmarks",
- "pezframe-support-test/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
@@ -53,7 +51,6 @@ runtime-benchmarks = [
"pezsp-runtime/runtime-benchmarks",
]
try-runtime = [
- "pezframe-support-test/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-balances/try-runtime",
diff --git a/bizinikiwi/pezframe/merkle-mountain-range/Cargo.toml b/bizinikiwi/pezframe/merkle-mountain-range/Cargo.toml
index cc7c8404..0f42939e 100644
--- a/bizinikiwi/pezframe/merkle-mountain-range/Cargo.toml
+++ b/bizinikiwi/pezframe/merkle-mountain-range/Cargo.toml
@@ -17,7 +17,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
log = { workspace = true }
pezsp-mmr-primitives = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
@@ -30,13 +32,15 @@ pezsp-tracing = { workspace = true, default-features = true }
default = ["std"]
std = [
"codec/std",
- "frame/std",
+ "pezframe/std",
+ "pezframe-system/std",
+ "pezframe-support/std",
"log/std",
"pezsp-mmr-primitives/std",
"scale-info/std",
]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezsp-mmr-primitives/runtime-benchmarks",
]
-try-runtime = ["frame/try-runtime"]
+try-runtime = ["pezframe/try-runtime"]
diff --git a/bizinikiwi/pezframe/merkle-mountain-range/src/benchmarking.rs b/bizinikiwi/pezframe/merkle-mountain-range/src/benchmarking.rs
index 6f283bab..c6eb556d 100644
--- a/bizinikiwi/pezframe/merkle-mountain-range/src/benchmarking.rs
+++ b/bizinikiwi/pezframe/merkle-mountain-range/src/benchmarking.rs
@@ -20,7 +20,7 @@
#![cfg(feature = "runtime-benchmarks")]
use crate::*;
-use frame::{
+use pezframe::{
benchmarking::prelude::v1::benchmarks_instance_pallet,
deps::pezframe_support::traits::OnInitialize,
};
diff --git a/bizinikiwi/pezframe/merkle-mountain-range/src/default_weights.rs b/bizinikiwi/pezframe/merkle-mountain-range/src/default_weights.rs
index d3ffca89..566dee86 100644
--- a/bizinikiwi/pezframe/merkle-mountain-range/src/default_weights.rs
+++ b/bizinikiwi/pezframe/merkle-mountain-range/src/default_weights.rs
@@ -18,7 +18,7 @@
//! Default weights for the MMR Pezpallet
//! This file was not auto-generated.
-use frame::{deps::pezframe_support::weights::constants::*, weights_prelude::*};
+use pezframe::{deps::pezframe_support::weights::constants::*, weights_prelude::*};
impl crate::WeightInfo for () {
fn on_initialize(peaks: u32) -> Weight {
diff --git a/bizinikiwi/pezframe/merkle-mountain-range/src/lib.rs b/bizinikiwi/pezframe/merkle-mountain-range/src/lib.rs
index f44ba837..4749830b 100644
--- a/bizinikiwi/pezframe/merkle-mountain-range/src/lib.rs
+++ b/bizinikiwi/pezframe/merkle-mountain-range/src/lib.rs
@@ -61,7 +61,7 @@ extern crate alloc;
use alloc::vec::Vec;
use log;
-use frame::prelude::*;
+use pezframe::prelude::*;
pub use pezsp_mmr_primitives::{
self as primitives, utils, utils::NodesUtils, AncestryProof, Error, FullLeaf, LeafDataProvider,
@@ -144,7 +144,7 @@ pub(crate) type HashingOf = >::Hashing;
/// Hash type used for the pezpallet.
pub(crate) type HashOf = <>::Hashing as Hash>::Output;
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
diff --git a/bizinikiwi/pezframe/merkle-mountain-range/src/mmr/mmr.rs b/bizinikiwi/pezframe/merkle-mountain-range/src/mmr/mmr.rs
index cb308bd8..bb4e6815 100644
--- a/bizinikiwi/pezframe/merkle-mountain-range/src/mmr/mmr.rs
+++ b/bizinikiwi/pezframe/merkle-mountain-range/src/mmr/mmr.rs
@@ -27,7 +27,7 @@ use crate::{
Config, HashOf, HashingOf,
};
use alloc::vec::Vec;
-use frame::prelude::*;
+use pezframe::prelude::*;
/// Stateless verification of the proof for a batch of leaves.
/// Note, the leaves should be sorted such that corresponding leaves and leaf indices have the
@@ -65,7 +65,7 @@ where
pub fn is_ancestry_proof_optimal(ancestry_proof: &AncestryProof) -> bool
where
- H: frame::traits::Hash,
+ H: pezframe::traits::Hash,
{
let prev_mmr_size = NodesUtils::new(ancestry_proof.prev_leaf_count).size();
let mmr_size = NodesUtils::new(ancestry_proof.leaf_count).size();
diff --git a/bizinikiwi/pezframe/merkle-mountain-range/src/mmr/mod.rs b/bizinikiwi/pezframe/merkle-mountain-range/src/mmr/mod.rs
index d7ed9f21..a413f1f6 100644
--- a/bizinikiwi/pezframe/merkle-mountain-range/src/mmr/mod.rs
+++ b/bizinikiwi/pezframe/merkle-mountain-range/src/mmr/mod.rs
@@ -20,7 +20,7 @@ pub mod storage;
pub use self::mmr::{is_ancestry_proof_optimal, verify_ancestry_proof, verify_leaves_proof, Mmr};
use crate::primitives::{mmr_lib, DataOrHash, FullLeaf};
-use frame::traits;
+use pezframe::traits;
/// Node type for runtime `T`.
pub type NodeOf = Node<>::Hashing, L>;
diff --git a/bizinikiwi/pezframe/merkle-mountain-range/src/mmr/storage.rs b/bizinikiwi/pezframe/merkle-mountain-range/src/mmr/storage.rs
index 4a9611e1..929a722c 100644
--- a/bizinikiwi/pezframe/merkle-mountain-range/src/mmr/storage.rs
+++ b/bizinikiwi/pezframe/merkle-mountain-range/src/mmr/storage.rs
@@ -25,7 +25,7 @@ use crate::{
use alloc::{vec, vec::Vec};
use codec::Encode;
use core::iter::Peekable;
-use frame::{
+use pezframe::{
deps::{
pezsp_core::offchain::StorageKind,
pezsp_io::{offchain, offchain_index},
diff --git a/bizinikiwi/pezframe/merkle-mountain-range/src/mock.rs b/bizinikiwi/pezframe/merkle-mountain-range/src/mock.rs
index c8159607..7bfcb367 100644
--- a/bizinikiwi/pezframe/merkle-mountain-range/src/mock.rs
+++ b/bizinikiwi/pezframe/merkle-mountain-range/src/mock.rs
@@ -23,7 +23,7 @@ use crate::{
primitives::{Compact, LeafDataProvider},
};
use codec::{Decode, Encode};
-use frame::{
+use pezframe::{
deps::pezframe_support::derive_impl,
prelude::{pezframe_system, pezframe_system::config_preludes::TestDefaultConfig},
testing_prelude::*,
diff --git a/bizinikiwi/pezframe/merkle-mountain-range/src/tests.rs b/bizinikiwi/pezframe/merkle-mountain-range/src/tests.rs
index 827f3e82..bbbc12f9 100644
--- a/bizinikiwi/pezframe/merkle-mountain-range/src/tests.rs
+++ b/bizinikiwi/pezframe/merkle-mountain-range/src/tests.rs
@@ -19,7 +19,7 @@ use crate::{mock::*, *};
use crate::primitives::{mmr_lib::helper, utils, Compact, LeafProof};
-use frame::{
+use pezframe::{
deps::pezsp_core::{
offchain::{testing::TestOffchainExt, OffchainDbExt, OffchainWorkerExt},
H256,
diff --git a/bizinikiwi/pezframe/merkle-mountain-range/src/weights.rs b/bizinikiwi/pezframe/merkle-mountain-range/src/weights.rs
index e773b299..ba021078 100644
--- a/bizinikiwi/pezframe/merkle-mountain-range/src/weights.rs
+++ b/bizinikiwi/pezframe/merkle-mountain-range/src/weights.rs
@@ -67,7 +67,7 @@
#![allow(missing_docs)]
#![allow(dead_code)]
-use frame::weights_prelude::*;
+use pezframe::weights_prelude::*;
/// Weight functions needed for `pezpallet_mmr`.
pub trait WeightInfo {
diff --git a/bizinikiwi/pezframe/meta-tx/Cargo.toml b/bizinikiwi/pezframe/meta-tx/Cargo.toml
index 10d5bbe6..acb2905f 100644
--- a/bizinikiwi/pezframe/meta-tx/Cargo.toml
+++ b/bizinikiwi/pezframe/meta-tx/Cargo.toml
@@ -2,7 +2,7 @@
name = "pezpallet-meta-tx"
description = "FRAME pezpallet enabling meta transactions."
license = "Apache-2.0"
-version = "0.1.0"
+version = "0.44.0"
edition.workspace = true
authors.workspace = true
homepage.workspace = true
diff --git a/bizinikiwi/pezframe/migrations/Cargo.toml b/bizinikiwi/pezframe/migrations/Cargo.toml
index ba5c3f06..a4dc20a8 100644
--- a/bizinikiwi/pezframe/migrations/Cargo.toml
+++ b/bizinikiwi/pezframe/migrations/Cargo.toml
@@ -19,7 +19,7 @@ impl-trait-for-tuples = { workspace = true }
log = { workspace = true, default-features = true }
scale-info = { features = ["derive"], workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
pezframe-benchmarking = { optional = true, workspace = true }
pezframe-support = { workspace = true }
pezframe-system = { workspace = true }
@@ -39,7 +39,7 @@ pretty_assertions = { workspace = true }
default = ["std"]
std = [
"codec/std",
- "frame/std",
+ "pezframe/std",
"log/std",
"pezframe-benchmarking?/std",
"pezframe-support/std",
@@ -51,7 +51,7 @@ std = [
]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-executive/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
@@ -61,7 +61,7 @@ runtime-benchmarks = [
]
try-runtime = [
- "frame/try-runtime",
+ "pezframe/try-runtime",
"pezframe-executive/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
diff --git a/bizinikiwi/pezframe/migrations/src/weights.rs b/bizinikiwi/pezframe/migrations/src/weights.rs
index 46cd957f..ceb9f61f 100644
--- a/bizinikiwi/pezframe/migrations/src/weights.rs
+++ b/bizinikiwi/pezframe/migrations/src/weights.rs
@@ -67,7 +67,7 @@
#![allow(missing_docs)]
#![allow(dead_code)]
-use frame::weights_prelude::*;
+use pezframe::weights_prelude::*;
/// Weight functions needed for `pezpallet_migrations`.
pub trait WeightInfo {
diff --git a/bizinikiwi/pezframe/mixnet/Cargo.toml b/bizinikiwi/pezframe/mixnet/Cargo.toml
index 77e2ae55..5cbcc500 100644
--- a/bizinikiwi/pezframe/mixnet/Cargo.toml
+++ b/bizinikiwi/pezframe/mixnet/Cargo.toml
@@ -21,7 +21,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive", "max-encoded-len"], workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
log = { workspace = true }
pezsp-application-crypto = { workspace = true }
pezsp-mixnet = { workspace = true }
@@ -32,15 +34,17 @@ serde = { features = ["derive"], workspace = true }
default = ["std"]
std = [
"codec/std",
- "frame/std",
+ "pezframe/std",
+ "pezframe-system/std",
+ "pezframe-support/std",
"log/std",
"pezsp-application-crypto/std",
"pezsp-mixnet/std",
"scale-info/std",
"serde/std",
]
-try-runtime = ["frame/try-runtime"]
+try-runtime = ["pezframe/try-runtime"]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezsp-mixnet/runtime-benchmarks",
]
diff --git a/bizinikiwi/pezframe/mixnet/src/lib.rs b/bizinikiwi/pezframe/mixnet/src/lib.rs
index 38309e42..f8369916 100644
--- a/bizinikiwi/pezframe/mixnet/src/lib.rs
+++ b/bizinikiwi/pezframe/mixnet/src/lib.rs
@@ -27,7 +27,7 @@ pub use pezpallet::*;
use alloc::vec::Vec;
use core::cmp::Ordering;
-use frame::{
+use pezframe::{
deps::{
pezsp_io::{self, MultiRemovalResults},
pezsp_runtime,
@@ -172,7 +172,7 @@ fn twox>(
// The pezpallet
////////////////////////////////////////////////////////////////////////////////
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet {
use super::*;
#[pezpallet::pezpallet]
diff --git a/bizinikiwi/pezframe/multisig/Cargo.toml b/bizinikiwi/pezframe/multisig/Cargo.toml
index aa2c985f..df7c9f55 100644
--- a/bizinikiwi/pezframe/multisig/Cargo.toml
+++ b/bizinikiwi/pezframe/multisig/Cargo.toml
@@ -18,7 +18,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
# third party
@@ -29,9 +31,9 @@ pezpallet-balances = { workspace = true, default-features = true }
[features]
default = ["std"]
-std = ["codec/std", "frame/std", "log/std", "scale-info/std"]
+std = ["codec/std", "pezframe/std", "log/std", "scale-info/std"]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
]
-try-runtime = ["frame/try-runtime", "pezpallet-balances/try-runtime"]
+try-runtime = ["pezframe/try-runtime", "pezpallet-balances/try-runtime"]
diff --git a/bizinikiwi/pezframe/multisig/src/benchmarking.rs b/bizinikiwi/pezframe/multisig/src/benchmarking.rs
index a9db1e50..57adaaca 100644
--- a/bizinikiwi/pezframe/multisig/src/benchmarking.rs
+++ b/bizinikiwi/pezframe/multisig/src/benchmarking.rs
@@ -20,7 +20,7 @@
#![cfg(feature = "runtime-benchmarks")]
use super::*;
-use frame::benchmarking::prelude::*;
+use pezframe::benchmarking::prelude::*;
use crate::Pezpallet as Multisig;
diff --git a/bizinikiwi/pezframe/multisig/src/lib.rs b/bizinikiwi/pezframe/multisig/src/lib.rs
index aca75a3c..38dc0b13 100644
--- a/bizinikiwi/pezframe/multisig/src/lib.rs
+++ b/bizinikiwi/pezframe/multisig/src/lib.rs
@@ -50,7 +50,7 @@ pub mod weights;
extern crate alloc;
use alloc::{boxed::Box, vec, vec::Vec};
-use frame::{
+use pezframe::{
prelude::*,
traits::{Currency, ReservableCurrency},
};
@@ -138,7 +138,7 @@ enum CallOrHash {
Hash([u8; 32]),
}
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
diff --git a/bizinikiwi/pezframe/multisig/src/migrations.rs b/bizinikiwi/pezframe/multisig/src/migrations.rs
index ea5c0e6a..5fac6b89 100644
--- a/bizinikiwi/pezframe/multisig/src/migrations.rs
+++ b/bizinikiwi/pezframe/multisig/src/migrations.rs
@@ -18,14 +18,14 @@
// Migrations for Multisig Pezpallet
use crate::*;
-use frame::prelude::*;
+use pezframe::prelude::*;
pub mod v1 {
use super::*;
- type OpaqueCall = frame::traits::WrapperKeepOpaque<::RuntimeCall>;
+ type OpaqueCall = pezframe::traits::WrapperKeepOpaque<::RuntimeCall>;
- #[frame::storage_alias]
+ #[pezframe::storage_alias]
type Calls = StorageMap<
Pezpallet,
Identity,
@@ -36,14 +36,14 @@ pub mod v1 {
pub struct MigrateToV1(core::marker::PhantomData);
impl OnRuntimeUpgrade for MigrateToV1 {
#[cfg(feature = "try-runtime")]
- fn pre_upgrade() -> Result, frame::try_runtime::TryRuntimeError> {
+ fn pre_upgrade() -> Result, pezframe::try_runtime::TryRuntimeError> {
log!(info, "Number of calls to refund and delete: {}", Calls::::iter().count());
Ok(Vec::new())
}
fn on_runtime_upgrade() -> Weight {
- use frame::traits::ReservableCurrency as _;
+ use pezframe::traits::ReservableCurrency as _;
let current = Pezpallet::::in_code_storage_version();
let onchain = Pezpallet::::on_chain_storage_version();
@@ -69,7 +69,7 @@ pub mod v1 {
}
#[cfg(feature = "try-runtime")]
- fn post_upgrade(_state: Vec) -> Result<(), frame::try_runtime::TryRuntimeError> {
+ fn post_upgrade(_state: Vec) -> Result<(), pezframe::try_runtime::TryRuntimeError> {
ensure!(
Calls::::iter().count() == 0,
"there are some dangling calls that need to be destroyed and refunded"
diff --git a/bizinikiwi/pezframe/multisig/src/tests.rs b/bizinikiwi/pezframe/multisig/src/tests.rs
index e5f906bf..a7948d9e 100644
--- a/bizinikiwi/pezframe/multisig/src/tests.rs
+++ b/bizinikiwi/pezframe/multisig/src/tests.rs
@@ -21,7 +21,7 @@
use super::*;
use crate as pezpallet_multisig;
-use frame::{prelude::*, runtime::prelude::*, testing_prelude::*};
+use pezframe::{prelude::*, runtime::prelude::*, testing_prelude::*};
type Block = pezframe_system::mocking::MockBlockU32;
diff --git a/bizinikiwi/pezframe/multisig/src/weights.rs b/bizinikiwi/pezframe/multisig/src/weights.rs
index 3ca57f63..547c3b8f 100644
--- a/bizinikiwi/pezframe/multisig/src/weights.rs
+++ b/bizinikiwi/pezframe/multisig/src/weights.rs
@@ -67,7 +67,7 @@
#![allow(missing_docs)]
#![allow(dead_code)]
-use frame::weights_prelude::*;
+use pezframe::weights_prelude::*;
/// Weight functions needed for `pezpallet_multisig`.
pub trait WeightInfo {
diff --git a/bizinikiwi/pezframe/nft-fractionalization/Cargo.toml b/bizinikiwi/pezframe/nft-fractionalization/Cargo.toml
index 4ce0a46e..2636e217 100644
--- a/bizinikiwi/pezframe/nft-fractionalization/Cargo.toml
+++ b/bizinikiwi/pezframe/nft-fractionalization/Cargo.toml
@@ -18,7 +18,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
log = { workspace = true }
pezpallet-assets = { workspace = true }
pezpallet-nfts = { workspace = true }
@@ -31,7 +33,9 @@ pezpallet-balances = { workspace = true, default-features = true }
default = ["std"]
std = [
"codec/std",
- "frame/std",
+ "pezframe/std",
+ "pezframe-system/std",
+ "pezframe-support/std",
"log/std",
"pezpallet-assets/std",
"pezpallet-balances/std",
@@ -39,13 +43,13 @@ std = [
"scale-info/std",
]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-nfts/runtime-benchmarks",
]
try-runtime = [
- "frame/try-runtime",
+ "pezframe/try-runtime",
"pezpallet-assets/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-nfts/try-runtime",
diff --git a/bizinikiwi/pezframe/nft-fractionalization/src/benchmarking.rs b/bizinikiwi/pezframe/nft-fractionalization/src/benchmarking.rs
index 3ab3fc65..81c71d88 100644
--- a/bizinikiwi/pezframe/nft-fractionalization/src/benchmarking.rs
+++ b/bizinikiwi/pezframe/nft-fractionalization/src/benchmarking.rs
@@ -20,9 +20,9 @@
#![cfg(feature = "runtime-benchmarks")]
use super::*;
-use frame::benchmarking::prelude::*;
+use pezframe::benchmarking::prelude::*;
-use frame::deps::pezframe_support::assert_ok;
+use pezframe::deps::pezframe_support::assert_ok;
use fungible::{Inspect as InspectFungible, Mutate as MutateFungible};
use nonfungibles_v2::{Create, Mutate};
diff --git a/bizinikiwi/pezframe/nft-fractionalization/src/lib.rs b/bizinikiwi/pezframe/nft-fractionalization/src/lib.rs
index 5e38243f..d60b2810 100644
--- a/bizinikiwi/pezframe/nft-fractionalization/src/lib.rs
+++ b/bizinikiwi/pezframe/nft-fractionalization/src/lib.rs
@@ -47,13 +47,13 @@ mod tests;
pub mod weights;
-use frame::prelude::*;
+use pezframe::prelude::*;
use pezframe_system::Config as SystemConfig;
pub use pezpallet::*;
pub use types::*;
pub use weights::WeightInfo;
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
use core::fmt::Display;
diff --git a/bizinikiwi/pezframe/nft-fractionalization/src/mock.rs b/bizinikiwi/pezframe/nft-fractionalization/src/mock.rs
index 0fcfc1b8..8c94885a 100644
--- a/bizinikiwi/pezframe/nft-fractionalization/src/mock.rs
+++ b/bizinikiwi/pezframe/nft-fractionalization/src/mock.rs
@@ -20,7 +20,7 @@
use super::*;
use crate as pezpallet_nft_fractionalization;
-use frame::{deps::pezsp_runtime::MultiSignature, testing_prelude::*, traits::Verify};
+use pezframe::{deps::pezsp_runtime::MultiSignature, testing_prelude::*, traits::Verify};
use pezpallet_nfts::PalletFeatures;
type Block = MockBlock;
diff --git a/bizinikiwi/pezframe/nft-fractionalization/src/tests.rs b/bizinikiwi/pezframe/nft-fractionalization/src/tests.rs
index c38b7e52..301cf4ec 100644
--- a/bizinikiwi/pezframe/nft-fractionalization/src/tests.rs
+++ b/bizinikiwi/pezframe/nft-fractionalization/src/tests.rs
@@ -19,7 +19,7 @@
use crate::{mock::*, *};
-use frame::{deps::pezsp_runtime::ModuleError, testing_prelude::*};
+use pezframe::{deps::pezsp_runtime::ModuleError, testing_prelude::*};
use fungible::{hold::Inspect as InspectHold, Mutate as MutateFungible};
use fungibles::{metadata::Inspect, InspectEnumerable};
use TokenError::FundsUnavailable;
diff --git a/bizinikiwi/pezframe/nft-fractionalization/src/weights.rs b/bizinikiwi/pezframe/nft-fractionalization/src/weights.rs
index f49b5ce1..75904cb5 100644
--- a/bizinikiwi/pezframe/nft-fractionalization/src/weights.rs
+++ b/bizinikiwi/pezframe/nft-fractionalization/src/weights.rs
@@ -67,7 +67,7 @@
#![allow(missing_docs)]
#![allow(dead_code)]
-use frame::weights_prelude::*;
+use pezframe::weights_prelude::*;
use core::marker::PhantomData;
/// Weight functions needed for `pezpallet_nft_fractionalization`.
diff --git a/bizinikiwi/pezframe/nis/Cargo.toml b/bizinikiwi/pezframe/nis/Cargo.toml
index f5cf2198..708d66e6 100644
--- a/bizinikiwi/pezframe/nis/Cargo.toml
+++ b/bizinikiwi/pezframe/nis/Cargo.toml
@@ -18,7 +18,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive"], workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[dev-dependencies]
@@ -27,10 +29,10 @@ pezsp-io = { workspace = true, default-features = true }
[features]
default = ["std"]
-std = ["codec/std", "frame/std", "scale-info/std"]
+std = ["codec/std", "pezframe/std", "scale-info/std"]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
]
-try-runtime = ["frame/try-runtime", "pezpallet-balances/try-runtime"]
+try-runtime = ["pezframe/try-runtime", "pezpallet-balances/try-runtime"]
diff --git a/bizinikiwi/pezframe/nis/src/benchmarking.rs b/bizinikiwi/pezframe/nis/src/benchmarking.rs
index f242e613..dcd26018 100644
--- a/bizinikiwi/pezframe/nis/src/benchmarking.rs
+++ b/bizinikiwi/pezframe/nis/src/benchmarking.rs
@@ -19,7 +19,7 @@
#![cfg(feature = "runtime-benchmarks")]
-use frame::benchmarking::prelude::*;
+use pezframe::benchmarking::prelude::*;
use crate::*;
diff --git a/bizinikiwi/pezframe/nis/src/lib.rs b/bizinikiwi/pezframe/nis/src/lib.rs
index 3cef15e7..2c22fa99 100644
--- a/bizinikiwi/pezframe/nis/src/lib.rs
+++ b/bizinikiwi/pezframe/nis/src/lib.rs
@@ -90,7 +90,7 @@ pub use pezpallet::*;
pub use weights::WeightInfo;
use alloc::{vec, vec::Vec};
-use frame::prelude::*;
+use pezframe::prelude::*;
use fungible::{
Balanced as FunBalanced, Inspect as FunInspect, Mutate as FunMutate,
MutateHold as FunMutateHold,
@@ -173,7 +173,7 @@ impl BenchmarkSetup for () {
fn create_counterpart_asset() {}
}
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
diff --git a/bizinikiwi/pezframe/nis/src/mock.rs b/bizinikiwi/pezframe/nis/src/mock.rs
index 4ac36451..dde02f8b 100644
--- a/bizinikiwi/pezframe/nis/src/mock.rs
+++ b/bizinikiwi/pezframe/nis/src/mock.rs
@@ -17,7 +17,7 @@
//! Test environment for NIS pezpallet.
-use frame::{runtime::prelude::*, testing_prelude::*, traits::StorageMapShim};
+use pezframe::{runtime::prelude::*, testing_prelude::*, traits::StorageMapShim};
use crate::{self as pezpallet_nis, *};
diff --git a/bizinikiwi/pezframe/nis/src/tests.rs b/bizinikiwi/pezframe/nis/src/tests.rs
index 2291bf54..a283d7de 100644
--- a/bizinikiwi/pezframe/nis/src/tests.rs
+++ b/bizinikiwi/pezframe/nis/src/tests.rs
@@ -17,7 +17,7 @@
//! Tests for NIS pezpallet.
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
use crate::{
mock::{Balance, *},
diff --git a/bizinikiwi/pezframe/nis/src/weights.rs b/bizinikiwi/pezframe/nis/src/weights.rs
index cf493bd6..4ce6a465 100644
--- a/bizinikiwi/pezframe/nis/src/weights.rs
+++ b/bizinikiwi/pezframe/nis/src/weights.rs
@@ -67,7 +67,7 @@
#![allow(missing_docs)]
#![allow(dead_code)]
-use frame::weights_prelude::*;
+use pezframe::weights_prelude::*;
/// Weight functions needed for `pezpallet_nis`.
pub trait WeightInfo {
diff --git a/bizinikiwi/pezframe/node-authorization/Cargo.toml b/bizinikiwi/pezframe/node-authorization/Cargo.toml
index eed3f6db..663fd5b4 100644
--- a/bizinikiwi/pezframe/node-authorization/Cargo.toml
+++ b/bizinikiwi/pezframe/node-authorization/Cargo.toml
@@ -17,12 +17,14 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive"], workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
log = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[features]
default = ["std"]
-std = ["codec/std", "frame/std", "log/std", "scale-info/std"]
-try-runtime = ["frame/try-runtime"]
-runtime-benchmarks = ["frame/runtime-benchmarks"]
+std = ["codec/std", "pezframe/std", "log/std", "scale-info/std"]
+try-runtime = ["pezframe/try-runtime"]
+runtime-benchmarks = ["pezframe/runtime-benchmarks"]
diff --git a/bizinikiwi/pezframe/node-authorization/src/lib.rs b/bizinikiwi/pezframe/node-authorization/src/lib.rs
index 9d416644..692d8bfc 100644
--- a/bizinikiwi/pezframe/node-authorization/src/lib.rs
+++ b/bizinikiwi/pezframe/node-authorization/src/lib.rs
@@ -49,7 +49,7 @@ pub mod weights;
extern crate alloc;
use alloc::{collections::btree_set::BTreeSet, vec::Vec};
-use frame::{
+use pezframe::{
deps::{pezsp_core::OpaquePeerId as PeerId, pezsp_io},
prelude::*,
};
@@ -58,7 +58,7 @@ pub use weights::WeightInfo;
type AccountIdLookupOf = <::Lookup as StaticLookup>::Source;
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
diff --git a/bizinikiwi/pezframe/node-authorization/src/mock.rs b/bizinikiwi/pezframe/node-authorization/src/mock.rs
index 249acba7..fe9bf98a 100644
--- a/bizinikiwi/pezframe/node-authorization/src/mock.rs
+++ b/bizinikiwi/pezframe/node-authorization/src/mock.rs
@@ -20,7 +20,7 @@
use super::*;
use crate as pezpallet_node_authorization;
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
type Block = pezframe_system::mocking::MockBlock;
diff --git a/bizinikiwi/pezframe/node-authorization/src/tests.rs b/bizinikiwi/pezframe/node-authorization/src/tests.rs
index a0ce7bdd..63bbe681 100644
--- a/bizinikiwi/pezframe/node-authorization/src/tests.rs
+++ b/bizinikiwi/pezframe/node-authorization/src/tests.rs
@@ -19,7 +19,7 @@
use super::*;
use crate::mock::*;
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
#[test]
fn add_well_known_node_works() {
diff --git a/bizinikiwi/pezframe/node-authorization/src/weights.rs b/bizinikiwi/pezframe/node-authorization/src/weights.rs
index eee77b13..81f0dac9 100644
--- a/bizinikiwi/pezframe/node-authorization/src/weights.rs
+++ b/bizinikiwi/pezframe/node-authorization/src/weights.rs
@@ -21,7 +21,7 @@
#![allow(unused_parens)]
#![allow(unused_imports)]
-use frame::weights_prelude::*;
+use pezframe::weights_prelude::*;
pub trait WeightInfo {
fn add_well_known_node() -> Weight;
diff --git a/bizinikiwi/pezframe/paged-list/Cargo.toml b/bizinikiwi/pezframe/paged-list/Cargo.toml
index a0c93c87..2e338809 100644
--- a/bizinikiwi/pezframe/paged-list/Cargo.toml
+++ b/bizinikiwi/pezframe/paged-list/Cargo.toml
@@ -18,17 +18,19 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive"], workspace = true }
docify = { workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
pezsp-metadata-ir = { optional = true, workspace = true }
scale-info = { features = ["derive"], workspace = true }
[features]
default = ["std"]
-std = ["codec/std", "frame/std", "pezsp-metadata-ir/std", "scale-info/std"]
+std = ["codec/std", "pezframe/std", "pezsp-metadata-ir/std", "scale-info/std"]
-runtime-benchmarks = ["frame/runtime-benchmarks"]
+runtime-benchmarks = ["pezframe/runtime-benchmarks"]
-try-runtime = ["frame/try-runtime"]
+try-runtime = ["pezframe/try-runtime"]
frame-metadata = ["pezsp-metadata-ir"]
diff --git a/bizinikiwi/pezframe/paged-list/fuzzer/Cargo.toml b/bizinikiwi/pezframe/paged-list/fuzzer/Cargo.toml
index 0f0ad039..657b61b5 100644
--- a/bizinikiwi/pezframe/paged-list/fuzzer/Cargo.toml
+++ b/bizinikiwi/pezframe/paged-list/fuzzer/Cargo.toml
@@ -19,14 +19,16 @@ path = "src/paged_list.rs"
[dependencies]
arbitrary = { workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
honggfuzz = { workspace = true }
pezpallet-paged-list = { features = ["std"], workspace = true }
[features]
default = ["std"]
-std = ["frame/std", "pezpallet-paged-list/std"]
+std = ["pezframe/std", "pezpallet-paged-list/std"]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-paged-list/runtime-benchmarks",
]
diff --git a/bizinikiwi/pezframe/paged-list/fuzzer/src/paged_list.rs b/bizinikiwi/pezframe/paged-list/fuzzer/src/paged_list.rs
index 0d21477a..40a8a436 100644
--- a/bizinikiwi/pezframe/paged-list/fuzzer/src/paged_list.rs
+++ b/bizinikiwi/pezframe/paged-list/fuzzer/src/paged_list.rs
@@ -30,7 +30,7 @@
use arbitrary::Arbitrary;
use honggfuzz::fuzz;
-use frame::{
+use pezframe::{
prelude::*, runtime::prelude::storage::storage_noop_guard::StorageNoopGuard,
testing_prelude::TestExternalities,
};
diff --git a/bizinikiwi/pezframe/paged-list/src/lib.rs b/bizinikiwi/pezframe/paged-list/src/lib.rs
index 53724f8c..799abf8c 100644
--- a/bizinikiwi/pezframe/paged-list/src/lib.rs
+++ b/bizinikiwi/pezframe/paged-list/src/lib.rs
@@ -32,7 +32,7 @@
//!
//! The pezpallet is quite unique since it does not expose any `Call`s, `Error`s or `Event`s. All
//! interaction goes through the implemented
-//! [`StorageList`][frame::deps::pezframe_support::storage::StorageList] trait.
+//! [`StorageList`][pezframe::deps::pezframe_support::storage::StorageList] trait.
//!
//! A fuzzer for testing is provided in crate `pezpallet-paged-list-fuzzer`.
//!
@@ -72,10 +72,10 @@ mod tests;
extern crate alloc;
use codec::FullCodec;
-use frame::{prelude::*, traits::StorageInstance};
+use pezframe::{prelude::*, traits::StorageInstance};
pub use paged_list::StoragePagedList;
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
diff --git a/bizinikiwi/pezframe/paged-list/src/mock.rs b/bizinikiwi/pezframe/paged-list/src/mock.rs
index 2f9b4de0..12041be5 100644
--- a/bizinikiwi/pezframe/paged-list/src/mock.rs
+++ b/bizinikiwi/pezframe/paged-list/src/mock.rs
@@ -20,7 +20,7 @@
#![cfg(feature = "std")]
use crate::{paged_list::StoragePagedListMeta, Config, ListPrefix};
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
type Block = pezframe_system::mocking::MockBlock;
diff --git a/bizinikiwi/pezframe/paged-list/src/paged_list.rs b/bizinikiwi/pezframe/paged-list/src/paged_list.rs
index f5d319da..c201752c 100644
--- a/bizinikiwi/pezframe/paged-list/src/paged_list.rs
+++ b/bizinikiwi/pezframe/paged-list/src/paged_list.rs
@@ -26,7 +26,7 @@
use alloc::vec::Vec;
use codec::{Decode, Encode, EncodeLike, FullCodec};
use core::marker::PhantomData;
-use frame::{
+use pezframe::{
deps::pezsp_io,
prelude::*,
runtime::prelude::storage::{StorageAppender, StorageList, StoragePrefixedContainer},
@@ -60,10 +60,10 @@ pub type ValueIndex = u32;
/// are loaded once a page is read from storage. Iteration then happens on the cached elements. This
/// reduces the number of storage `read` calls on the overlay. **Appending** to the list happens by
/// appending to the last page by utilizing
-/// [`storage::append`](frame::deps::pezsp_io::storage::append). It allows to directly extend
+/// [`storage::append`](pezframe::deps::pezsp_io::storage::append). It allows to directly extend
/// the elements of `values` vector of the page without loading the whole vector from storage. A new
/// page is instantiated once [`Page::next`] overflows `ValuesPerNewPage`. Its vector will also be
-/// created through [`storage::append`](frame::deps::pezsp_io::storage::append). **Draining**
+/// created through [`storage::append`](pezframe::deps::pezsp_io::storage::append). **Draining**
/// advances the internal indices identical to Iteration. It additionally persists the increments to
/// storage and thereby 'drains' elements. Completely drained pages are deleted from storage.
///
@@ -83,7 +83,7 @@ pub struct StoragePagedList {
/// The state of a [`StoragePagedList`].
///
-/// This struct doubles as [`frame::deps::pezframe_support::storage::StorageList::Appender`].
+/// This struct doubles as [`pezframe::deps::pezframe_support::storage::StorageList::Appender`].
#[derive(
Encode, Decode, CloneNoBound, PartialEqNoBound, EqNoBound, DebugNoBound, DefaultNoBound,
)]
@@ -407,7 +407,7 @@ where
#[allow(dead_code)]
pub(crate) mod mock {
pub use super::*;
- use frame::testing_prelude::*;
+ use pezframe::testing_prelude::*;
parameter_types! {
pub const ValuesPerNewPage: u32 = 5;
@@ -428,7 +428,7 @@ pub(crate) mod mock {
#[cfg(test)]
mod tests {
use super::mock::*;
- use frame::testing_prelude::*;
+ use pezframe::testing_prelude::*;
#[test]
fn append_works() {
diff --git a/bizinikiwi/pezframe/paged-list/src/tests.rs b/bizinikiwi/pezframe/paged-list/src/tests.rs
index cbec716f..f1ee6033 100644
--- a/bizinikiwi/pezframe/paged-list/src/tests.rs
+++ b/bizinikiwi/pezframe/paged-list/src/tests.rs
@@ -21,7 +21,7 @@
#![cfg(test)]
use crate::{mock::*, *};
-use frame::{
+use pezframe::{
prelude::storage::{StorageAppender, StoragePrefixedContainer},
testing_prelude::*,
};
diff --git a/bizinikiwi/pezframe/parameters/Cargo.toml b/bizinikiwi/pezframe/parameters/Cargo.toml
index cb186d63..cdfafc87 100644
--- a/bizinikiwi/pezframe/parameters/Cargo.toml
+++ b/bizinikiwi/pezframe/parameters/Cargo.toml
@@ -3,7 +3,7 @@ name = "pezpallet-parameters"
description = "Pallet to store and configure parameters."
repository.workspace = true
license = "Apache-2.0"
-version = "0.1.0"
+version = "0.44.0"
authors = [
"Acala Developers",
"Kurdistan Tech Institute ",
@@ -28,9 +28,9 @@ pezframe-system = { workspace = true }
pezsp-core = { workspace = true }
pezsp-runtime = { workspace = true }
+# pezpallet-example-basic moved to integration tests to break circular dependency
[dev-dependencies]
pezpallet-balances = { workspace = true, default-features = true }
-pezpallet-example-basic = { workspace = true, default-features = true }
pezsp-io = { workspace = true, default-features = true }
[features]
@@ -50,7 +50,6 @@ runtime-benchmarks = [
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
- "pezpallet-example-basic/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
]
@@ -58,6 +57,5 @@ try-runtime = [
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-balances/try-runtime",
- "pezpallet-example-basic/try-runtime",
"pezsp-runtime/try-runtime",
]
diff --git a/bizinikiwi/pezframe/proxy/Cargo.toml b/bizinikiwi/pezframe/proxy/Cargo.toml
index 34cf35f0..62d4741c 100644
--- a/bizinikiwi/pezframe/proxy/Cargo.toml
+++ b/bizinikiwi/pezframe/proxy/Cargo.toml
@@ -18,7 +18,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["max-encoded-len"], workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[dev-dependencies]
@@ -27,14 +29,14 @@ pezpallet-utility = { workspace = true, default-features = true }
[features]
default = ["std"]
-std = ["codec/std", "frame/std", "scale-info/std"]
+std = ["codec/std", "pezframe/std", "scale-info/std"]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
]
try-runtime = [
- "frame/try-runtime",
+ "pezframe/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-utility/try-runtime",
]
diff --git a/bizinikiwi/pezframe/proxy/src/benchmarking.rs b/bizinikiwi/pezframe/proxy/src/benchmarking.rs
index c9ad2e27..9c602a5f 100644
--- a/bizinikiwi/pezframe/proxy/src/benchmarking.rs
+++ b/bizinikiwi/pezframe/proxy/src/benchmarking.rs
@@ -22,7 +22,7 @@
use super::*;
use crate::Pezpallet as Proxy;
use alloc::{boxed::Box, vec};
-use frame::benchmarking::prelude::{
+use pezframe::benchmarking::prelude::{
account, benchmarks, impl_test_function, whitelisted_caller, BenchmarkError, RawOrigin,
};
diff --git a/bizinikiwi/pezframe/proxy/src/lib.rs b/bizinikiwi/pezframe/proxy/src/lib.rs
index c754d41e..eef2e08b 100644
--- a/bizinikiwi/pezframe/proxy/src/lib.rs
+++ b/bizinikiwi/pezframe/proxy/src/lib.rs
@@ -35,7 +35,7 @@ pub mod weights;
extern crate alloc;
use alloc::{boxed::Box, vec};
-use frame::{
+use pezframe::{
prelude::*,
traits::{Currency, InstanceFilter, ReservableCurrency},
};
@@ -120,7 +120,7 @@ pub enum DepositKind {
Announcements,
}
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
@@ -154,7 +154,7 @@ pub mod pezpallet {
+ Member
+ Ord
+ PartialOrd
- + frame::traits::InstanceFilter<::RuntimeCall>
+ + pezframe::traits::InstanceFilter<::RuntimeCall>
+ Default
+ MaxEncodedLen;
@@ -998,7 +998,7 @@ impl Pezpallet {
real: T::AccountId,
call: ::RuntimeCall,
) {
- use frame::traits::{InstanceFilter as _, OriginTrait as _};
+ use pezframe::traits::{InstanceFilter as _, OriginTrait as _};
// This is a freshly authenticated new account, the origin restrictions doesn't apply.
let mut origin: T::RuntimeOrigin = pezframe_system::RawOrigin::Signed(real).into();
origin.add_filter(move |c: &::RuntimeCall| {
diff --git a/bizinikiwi/pezframe/proxy/src/tests.rs b/bizinikiwi/pezframe/proxy/src/tests.rs
index ecafb8bb..ebfbd7e3 100644
--- a/bizinikiwi/pezframe/proxy/src/tests.rs
+++ b/bizinikiwi/pezframe/proxy/src/tests.rs
@@ -22,7 +22,7 @@
use super::*;
use crate as proxy;
use alloc::{vec, vec::Vec};
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
type Block = pezframe_system::mocking::MockBlock;
@@ -79,7 +79,7 @@ impl Default for ProxyType {
Self::Any
}
}
-impl frame::traits::InstanceFilter for ProxyType {
+impl pezframe::traits::InstanceFilter for ProxyType {
fn filter(&self, c: &RuntimeCall) -> bool {
match self {
ProxyType::Any => true,
diff --git a/bizinikiwi/pezframe/proxy/src/weights.rs b/bizinikiwi/pezframe/proxy/src/weights.rs
index f8464110..815f78ac 100644
--- a/bizinikiwi/pezframe/proxy/src/weights.rs
+++ b/bizinikiwi/pezframe/proxy/src/weights.rs
@@ -66,7 +66,7 @@
#![allow(missing_docs)]
#![allow(dead_code)]
-use frame::weights_prelude::*;
+use pezframe::weights_prelude::*;
/// Weight functions needed for `pezpallet_proxy`.
pub trait WeightInfo {
diff --git a/bizinikiwi/pezframe/recovery/Cargo.toml b/bizinikiwi/pezframe/recovery/Cargo.toml
index f4a8ab47..cbbef2e4 100644
--- a/bizinikiwi/pezframe/recovery/Cargo.toml
+++ b/bizinikiwi/pezframe/recovery/Cargo.toml
@@ -18,7 +18,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive"], workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[dev-dependencies]
@@ -27,8 +29,8 @@ pezpallet-balances = { workspace = true, default-features = true }
[features]
default = ["std"]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
]
-std = ["codec/std", "frame/std", "pezpallet-balances/std", "scale-info/std"]
-try-runtime = ["frame/try-runtime", "pezpallet-balances/try-runtime"]
+std = ["codec/std", "pezframe/std", "pezpallet-balances/std", "scale-info/std"]
+try-runtime = ["pezframe/try-runtime", "pezpallet-balances/try-runtime"]
diff --git a/bizinikiwi/pezframe/recovery/src/benchmarking.rs b/bizinikiwi/pezframe/recovery/src/benchmarking.rs
index cfc31eca..73908b87 100644
--- a/bizinikiwi/pezframe/recovery/src/benchmarking.rs
+++ b/bizinikiwi/pezframe/recovery/src/benchmarking.rs
@@ -21,7 +21,7 @@ use super::*;
use crate::Pezpallet;
use alloc::{boxed::Box, vec, vec::Vec};
-use frame::benchmarking::prelude::*;
+use pezframe::benchmarking::prelude::*;
const SEED: u32 = 0;
const DEFAULT_DELAY: u32 = 0;
diff --git a/bizinikiwi/pezframe/recovery/src/lib.rs b/bizinikiwi/pezframe/recovery/src/lib.rs
index d9615b4d..4f2826bf 100644
--- a/bizinikiwi/pezframe/recovery/src/lib.rs
+++ b/bizinikiwi/pezframe/recovery/src/lib.rs
@@ -154,7 +154,7 @@ extern crate alloc;
use alloc::{boxed::Box, vec::Vec};
-use frame::{
+use pezframe::{
prelude::*,
traits::{Currency, ReservableCurrency},
};
@@ -225,7 +225,7 @@ pub enum DepositKind {
ActiveRecoveryFor(::AccountId),
}
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
diff --git a/bizinikiwi/pezframe/recovery/src/mock.rs b/bizinikiwi/pezframe/recovery/src/mock.rs
index 7ea643a4..23e2b79b 100644
--- a/bizinikiwi/pezframe/recovery/src/mock.rs
+++ b/bizinikiwi/pezframe/recovery/src/mock.rs
@@ -20,7 +20,7 @@
use super::*;
use crate as recovery;
-use frame::{deps::pezsp_io, testing_prelude::*};
+use pezframe::{deps::pezsp_io, testing_prelude::*};
type Block = pezframe_system::mocking::MockBlock;
diff --git a/bizinikiwi/pezframe/recovery/src/tests.rs b/bizinikiwi/pezframe/recovery/src/tests.rs
index 4abf71a6..d2879857 100644
--- a/bizinikiwi/pezframe/recovery/src/tests.rs
+++ b/bizinikiwi/pezframe/recovery/src/tests.rs
@@ -18,7 +18,7 @@
//! Tests for the module.
use crate::{mock::*, *};
-use frame::{deps::pezsp_runtime::bounded_vec, testing_prelude::*};
+use pezframe::{deps::pezsp_runtime::bounded_vec, testing_prelude::*};
#[test]
fn basic_setup_works() {
diff --git a/bizinikiwi/pezframe/recovery/src/weights.rs b/bizinikiwi/pezframe/recovery/src/weights.rs
index 221ba692..69df7dcb 100644
--- a/bizinikiwi/pezframe/recovery/src/weights.rs
+++ b/bizinikiwi/pezframe/recovery/src/weights.rs
@@ -66,7 +66,7 @@
#![allow(missing_docs)]
#![allow(dead_code)]
-use frame::weights_prelude::*;
+use pezframe::weights_prelude::*;
/// Weight functions needed for `pezpallet_recovery`.
pub trait WeightInfo {
diff --git a/bizinikiwi/pezframe/revive/dev-node/runtime/src/lib.rs b/bizinikiwi/pezframe/revive/dev-node/runtime/src/lib.rs
index b8418fac..a7399fdc 100644
--- a/bizinikiwi/pezframe/revive/dev-node/runtime/src/lib.rs
+++ b/bizinikiwi/pezframe/revive/dev-node/runtime/src/lib.rs
@@ -31,7 +31,7 @@ use pezframe_support::weights::{
};
use pezframe_system::limits::BlockWeights;
use pezkuwi_sdk::{
- pezkuwi_sdk_frame::{
+ pezframe::{
deps::pezsp_genesis_builder,
runtime::{apis, prelude::*},
traits::Block as BlockT,
@@ -51,7 +51,7 @@ use pezpallet_transaction_payment::{
use pezsp_weights::ConstantMultiplier;
pub use pezkuwi_sdk::{
- pezkuwi_sdk_frame::runtime::types_common::OpaqueBlock,
+ pezframe::runtime::types_common::OpaqueBlock,
teyrchains_common::{AccountId, Balance, BlockNumber, Hash, Header, Nonce, Signature},
};
diff --git a/bizinikiwi/pezframe/revive/fixtures/Cargo.toml b/bizinikiwi/pezframe/revive/fixtures/Cargo.toml
index 54669f86..ce5109e5 100644
--- a/bizinikiwi/pezframe/revive/fixtures/Cargo.toml
+++ b/bizinikiwi/pezframe/revive/fixtures/Cargo.toml
@@ -9,7 +9,7 @@ homepage.workspace = true
repository.workspace = true
rust-version = "1.84"
documentation.workspace = true
-publish = false
+publish = true
[package.metadata.pezkuwi-sdk]
exclude-from-umbrella = true
diff --git a/bizinikiwi/pezframe/revive/proc-macro/Cargo.toml b/bizinikiwi/pezframe/revive/proc-macro/Cargo.toml
index 2a1fbeb8..65cd2c76 100644
--- a/bizinikiwi/pezframe/revive/proc-macro/Cargo.toml
+++ b/bizinikiwi/pezframe/revive/proc-macro/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "pezpallet-revive-proc-macro"
-version = "0.1.0"
+version = "0.44.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
diff --git a/bizinikiwi/pezframe/revive/uapi/Cargo.toml b/bizinikiwi/pezframe/revive/uapi/Cargo.toml
index c5b3ab44..e0241263 100644
--- a/bizinikiwi/pezframe/revive/uapi/Cargo.toml
+++ b/bizinikiwi/pezframe/revive/uapi/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "pezpallet-revive-uapi"
-version = "0.1.0"
+version = "0.44.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
diff --git a/bizinikiwi/pezframe/safe-mode/Cargo.toml b/bizinikiwi/pezframe/safe-mode/Cargo.toml
index fee4b047..31d58e70 100644
--- a/bizinikiwi/pezframe/safe-mode/Cargo.toml
+++ b/bizinikiwi/pezframe/safe-mode/Cargo.toml
@@ -18,7 +18,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive"], workspace = true }
docify = { workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
pezpallet-balances = { optional = true, workspace = true }
pezpallet-proxy = { optional = true, workspace = true }
pezpallet-utility = { optional = true, workspace = true }
@@ -33,20 +35,22 @@ pezpallet-utility = { workspace = true, default-features = true }
default = ["std"]
std = [
"codec/std",
- "frame/std",
+ "pezframe/std",
+ "pezframe-system/std",
+ "pezframe-support/std",
"pezpallet-balances?/std",
"pezpallet-proxy?/std",
"pezpallet-utility?/std",
"scale-info/std",
]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-proxy/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
]
try-runtime = [
- "frame/try-runtime",
+ "pezframe/try-runtime",
"pezpallet-balances?/try-runtime",
"pezpallet-proxy?/try-runtime",
"pezpallet-utility?/try-runtime",
diff --git a/bizinikiwi/pezframe/safe-mode/src/benchmarking.rs b/bizinikiwi/pezframe/safe-mode/src/benchmarking.rs
index 61cfd40e..5fba5f10 100644
--- a/bizinikiwi/pezframe/safe-mode/src/benchmarking.rs
+++ b/bizinikiwi/pezframe/safe-mode/src/benchmarking.rs
@@ -18,7 +18,7 @@
#![cfg(feature = "runtime-benchmarks")]
use super::{Pezpallet as SafeMode, *};
-use frame::benchmarking::prelude::*;
+use pezframe::benchmarking::prelude::*;
#[benchmarks(where T::Currency: fungible::Mutate)]
mod benchmarks {
diff --git a/bizinikiwi/pezframe/safe-mode/src/lib.rs b/bizinikiwi/pezframe/safe-mode/src/lib.rs
index 585d55b0..1ac93545 100644
--- a/bizinikiwi/pezframe/safe-mode/src/lib.rs
+++ b/bizinikiwi/pezframe/safe-mode/src/lib.rs
@@ -75,7 +75,7 @@ pub mod mock;
mod tests;
pub mod weights;
-use frame::{
+use pezframe::{
prelude::{
fungible::hold::{Inspect, Mutate},
*,
@@ -90,7 +90,7 @@ type BalanceOf = <::Currency as fungible::Inspect<
::AccountId,
>>::Balance;
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
@@ -613,7 +613,7 @@ where
}
}
-impl frame::traits::SafeMode for Pezpallet {
+impl pezframe::traits::SafeMode for Pezpallet {
type BlockNumber = BlockNumberFor;
fn is_entered() -> bool {
@@ -627,20 +627,20 @@ impl frame::traits::SafeMode for Pezpallet {
})
}
- fn enter(duration: BlockNumberFor) -> Result<(), frame::traits::SafeModeError> {
+ fn enter(duration: BlockNumberFor) -> Result<(), pezframe::traits::SafeModeError> {
Self::do_enter(None, duration).map_err(Into::into)
}
- fn extend(duration: BlockNumberFor) -> Result<(), frame::traits::SafeModeError> {
+ fn extend(duration: BlockNumberFor) -> Result<(), pezframe::traits::SafeModeError> {
Self::do_extend(None, duration).map_err(Into::into)
}
- fn exit() -> Result<(), frame::traits::SafeModeError> {
+ fn exit() -> Result<(), pezframe::traits::SafeModeError> {
Self::do_exit(ExitReason::Force).map_err(Into::into)
}
}
-impl From> for frame::traits::SafeModeError {
+impl From> for pezframe::traits::SafeModeError {
fn from(err: Error) -> Self {
match err {
Error::::Entered => Self::AlreadyEntered,
diff --git a/bizinikiwi/pezframe/safe-mode/src/mock.rs b/bizinikiwi/pezframe/safe-mode/src/mock.rs
index d76a51c5..dc84557a 100644
--- a/bizinikiwi/pezframe/safe-mode/src/mock.rs
+++ b/bizinikiwi/pezframe/safe-mode/src/mock.rs
@@ -22,7 +22,7 @@
use super::*;
use crate as pezpallet_safe_mode;
-use frame::{
+use pezframe::{
testing_prelude::*,
traits::{InsideBoth, InstanceFilter, IsInVec},
};
diff --git a/bizinikiwi/pezframe/safe-mode/src/tests.rs b/bizinikiwi/pezframe/safe-mode/src/tests.rs
index a546dc7b..ef4ba0e1 100644
--- a/bizinikiwi/pezframe/safe-mode/src/tests.rs
+++ b/bizinikiwi/pezframe/safe-mode/src/tests.rs
@@ -22,7 +22,7 @@
use super::*;
use crate::mock::{RuntimeCall, *};
-use frame::{testing_prelude::*, traits::Currency};
+use pezframe::{testing_prelude::*, traits::Currency};
#[test]
fn fails_to_filter_calls_to_safe_mode_pallet() {
diff --git a/bizinikiwi/pezframe/safe-mode/src/weights.rs b/bizinikiwi/pezframe/safe-mode/src/weights.rs
index 125fb97d..e0ce92fe 100644
--- a/bizinikiwi/pezframe/safe-mode/src/weights.rs
+++ b/bizinikiwi/pezframe/safe-mode/src/weights.rs
@@ -67,7 +67,7 @@
#![allow(missing_docs)]
#![allow(dead_code)]
-use frame::weights_prelude::*;
+use pezframe::weights_prelude::*;
use core::marker::PhantomData;
/// Weight functions needed for `pezpallet_safe_mode`.
diff --git a/bizinikiwi/pezframe/salary/Cargo.toml b/bizinikiwi/pezframe/salary/Cargo.toml
index 47baad71..0b62b76f 100644
--- a/bizinikiwi/pezframe/salary/Cargo.toml
+++ b/bizinikiwi/pezframe/salary/Cargo.toml
@@ -18,7 +18,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive"], workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
log = { workspace = true }
pezpallet-ranked-collective = { optional = true, workspace = true }
scale-info = { features = ["derive"], workspace = true }
@@ -27,13 +29,15 @@ scale-info = { features = ["derive"], workspace = true }
default = ["std"]
std = [
"codec/std",
- "frame/std",
+ "pezframe/std",
+ "pezframe-system/std",
+ "pezframe-support/std",
"log/std",
"pezpallet-ranked-collective/std",
"scale-info/std",
]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-ranked-collective/runtime-benchmarks",
]
-try-runtime = ["frame/try-runtime", "pezpallet-ranked-collective?/try-runtime"]
+try-runtime = ["pezframe/try-runtime", "pezpallet-ranked-collective?/try-runtime"]
diff --git a/bizinikiwi/pezframe/salary/src/benchmarking.rs b/bizinikiwi/pezframe/salary/src/benchmarking.rs
index 1637328f..a5773643 100644
--- a/bizinikiwi/pezframe/salary/src/benchmarking.rs
+++ b/bizinikiwi/pezframe/salary/src/benchmarking.rs
@@ -22,7 +22,7 @@
use super::*;
use crate::Pezpallet as Salary;
-use frame::benchmarking::prelude::*;
+use pezframe::benchmarking::prelude::*;
const SEED: u32 = 0;
fn ensure_member_with_salary, I: 'static>(who: &T::AccountId) {
diff --git a/bizinikiwi/pezframe/salary/src/lib.rs b/bizinikiwi/pezframe/salary/src/lib.rs
index 42387935..ceeb9f18 100644
--- a/bizinikiwi/pezframe/salary/src/lib.rs
+++ b/bizinikiwi/pezframe/salary/src/lib.rs
@@ -20,7 +20,7 @@
#![cfg_attr(not(feature = "std"), no_std)]
use core::marker::PhantomData;
-use frame::{
+use pezframe::{
prelude::*,
traits::tokens::{GetSalary, Pay, PaymentStatus},
};
@@ -75,7 +75,7 @@ pub struct ClaimantStatus {
status: ClaimState,
}
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
#[pezpallet::pezpallet]
diff --git a/bizinikiwi/pezframe/salary/src/tests/integration.rs b/bizinikiwi/pezframe/salary/src/tests/integration.rs
index 6705aff2..ffa7a8ec 100644
--- a/bizinikiwi/pezframe/salary/src/tests/integration.rs
+++ b/bizinikiwi/pezframe/salary/src/tests/integration.rs
@@ -19,7 +19,7 @@
use crate as pezpallet_salary;
use crate::*;
-use frame::{deps::pezsp_io, testing_prelude::*};
+use pezframe::{deps::pezsp_io, testing_prelude::*};
use pezpallet_ranked_collective::{EnsureRanked, Geometric};
type Rank = u16;
diff --git a/bizinikiwi/pezframe/salary/src/tests/unit.rs b/bizinikiwi/pezframe/salary/src/tests/unit.rs
index a03320fc..143cf208 100644
--- a/bizinikiwi/pezframe/salary/src/tests/unit.rs
+++ b/bizinikiwi/pezframe/salary/src/tests/unit.rs
@@ -20,7 +20,7 @@
use crate as pezpallet_salary;
use crate::*;
use core::cell::RefCell;
-use frame::{
+use pezframe::{
deps::pezsp_runtime::traits::Identity, testing_prelude::*, traits::tokens::ConvertRank,
};
use std::collections::BTreeMap;
diff --git a/bizinikiwi/pezframe/salary/src/weights.rs b/bizinikiwi/pezframe/salary/src/weights.rs
index 3da44e3b..7e7d837a 100644
--- a/bizinikiwi/pezframe/salary/src/weights.rs
+++ b/bizinikiwi/pezframe/salary/src/weights.rs
@@ -67,7 +67,7 @@
#![allow(missing_docs)]
#![allow(dead_code)]
-use frame::weights_prelude::*;
+use pezframe::weights_prelude::*;
/// Weight functions needed for `pezpallet_salary`.
pub trait WeightInfo {
diff --git a/bizinikiwi/pezframe/society/Cargo.toml b/bizinikiwi/pezframe/society/Cargo.toml
index 7b578fd5..1347b606 100644
--- a/bizinikiwi/pezframe/society/Cargo.toml
+++ b/bizinikiwi/pezframe/society/Cargo.toml
@@ -29,8 +29,8 @@ pezsp-arithmetic = { workspace = true }
pezsp-io = { workspace = true }
pezsp-runtime = { workspace = true }
+# pezframe-support-test moved to integration tests to break circular dependency
[dev-dependencies]
-pezframe-support-test = { workspace = true }
pezpallet-balances = { workspace = true, default-features = true }
pezsp-crypto-hashing = { workspace = true, default-features = true }
@@ -40,7 +40,6 @@ std = [
"codec/std",
"log/std",
"pezframe-benchmarking?/std",
- "pezframe-support-test/std",
"pezframe-support/std",
"pezframe-system/std",
"pezpallet-balances/std",
@@ -53,7 +52,6 @@ std = [
runtime-benchmarks = [
"pezframe-benchmarking",
"pezframe-benchmarking/runtime-benchmarks",
- "pezframe-support-test/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
@@ -61,7 +59,6 @@ runtime-benchmarks = [
"pezsp-runtime/runtime-benchmarks",
]
try-runtime = [
- "pezframe-support-test/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-balances/try-runtime",
diff --git a/bizinikiwi/pezframe/src/lib.rs b/bizinikiwi/pezframe/src/lib.rs
index f9f7c07d..d7dae84f 100644
--- a/bizinikiwi/pezframe/src/lib.rs
+++ b/bizinikiwi/pezframe/src/lib.rs
@@ -49,10 +49,10 @@
//! ```
//! use pezkuwi_sdk_frame as frame;
//!
-//! #[frame::pezpallet]
+//! #[pezframe::pezpallet]
//! pub mod pezpallet {
//! # use pezkuwi_sdk_frame as frame;
-//! use frame::prelude::*;
+//! use pezframe::prelude::*;
//! // ^^ using the prelude!
//!
//! #[pezpallet::config]
@@ -65,18 +65,18 @@
//! #[cfg(test)]
//! pub mod tests {
//! # use pezkuwi_sdk_frame as frame;
-//! use frame::testing_prelude::*;
+//! use pezframe::testing_prelude::*;
//! }
//!
//! #[cfg(feature = "runtime-benchmarks")]
//! pub mod benchmarking {
//! # use pezkuwi_sdk_frame as frame;
-//! use frame::benchmarking::prelude::*;
+//! use pezframe::benchmarking::prelude::*;
//! }
//!
//! pub mod runtime {
//! # use pezkuwi_sdk_frame as frame;
-//! use frame::runtime::prelude::*;
+//! use pezframe::runtime::prelude::*;
//! }
//! ```
//!
@@ -165,7 +165,7 @@ pub mod pezpallet_macros {
/// This prelude should almost always be the first line of code in any pezpallet or runtime.
///
/// ```
-/// use pezkuwi_sdk_frame::prelude::*;
+/// use pezframe::prelude::*;
///
/// // rest of your pezpallet..
/// mod pezpallet {}
@@ -175,7 +175,7 @@ pub mod prelude {
/// crate.
///
/// Conveniently, the keyword `pezframe_system` is in scope as one uses `use
- /// pezkuwi_sdk_frame::prelude::*`.
+ /// pezframe::prelude::*`.
#[doc(inline)]
pub use pezframe_system;
@@ -254,11 +254,11 @@ pub mod try_runtime {
/// It supports both the `benchmarking::v1::benchmarks` and `benchmarking::v2::benchmark` syntax.
///
/// ```
-/// use pezkuwi_sdk_frame::benchmarking::prelude::*;
+/// use pezframe::benchmarking::prelude::*;
/// // rest of your code.
/// ```
///
-/// It already includes `pezkuwi_sdk_frame::prelude::*` and `pezkuwi_sdk_frame::testing_prelude`.
+/// It already includes `pezframe::prelude::*` and `pezframe::testing_prelude`.
#[cfg(feature = "runtime-benchmarks")]
pub mod benchmarking {
mod shared {
@@ -294,7 +294,7 @@ pub mod benchmarking {
/// Prelude to be included in the `weight.rs` of each pezpallet.
///
/// ```
-/// pub use pezkuwi_sdk_frame::weights_prelude::*;
+/// pub use pezframe::weights_prelude::*;
/// ```
pub mod weights_prelude {
pub use core::marker::PhantomData;
@@ -313,12 +313,12 @@ pub mod weights_prelude {
/// A test setup typically starts with:
///
/// ```
-/// use pezkuwi_sdk_frame::testing_prelude::*;
+/// use pezframe::testing_prelude::*;
/// // rest of your test setup.
/// ```
///
-/// This automatically brings in `pezkuwi_sdk_frame::prelude::*` and
-/// `pezkuwi_sdk_frame::runtime::prelude::*`.
+/// This automatically brings in `pezframe::prelude::*` and
+/// `pezframe::runtime::prelude::*`.
#[cfg(feature = "std")]
pub mod testing_prelude {
pub use crate::{prelude::*, runtime::prelude::*};
@@ -337,7 +337,7 @@ pub mod testing_prelude {
pub use pezframe_support::traits::Everything;
pub use pezframe_system::{self, mocking::*, RunToBlockHooks};
- #[deprecated(note = "Use `frame::testing_prelude::TestState` instead.")]
+ #[deprecated(note = "Use `pezframe::testing_prelude::TestState` instead.")]
pub use pezsp_io::TestExternalities;
pub use pezsp_io::TestExternalities as TestState;
@@ -354,10 +354,10 @@ pub mod runtime {
/// A runtime typically starts with:
///
/// ```
- /// use pezkuwi_sdk_frame::runtime::prelude::*;
+ /// use pezframe::runtime::prelude::*;
/// ```
///
- /// This automatically brings in `pezkuwi_sdk_frame::prelude::*`.
+ /// This automatically brings in `pezframe::prelude::*`.
pub mod prelude {
pub use crate::prelude::*;
@@ -429,7 +429,7 @@ pub mod runtime {
/// A non-testing runtime should have this enabled, as such:
///
/// ```
- /// use pezkuwi_sdk_frame::runtime::{prelude::*, apis::{*,}};
+ /// use pezframe::runtime::{prelude::*, apis::{*,}};
/// ```
// TODO: This is because of wildcard imports, and it should be not needed once we can avoid
// that. Imports like that are needed because we seem to need some unknown types in the macro
diff --git a/bizinikiwi/pezframe/staking-async/ahm-test/Cargo.toml b/bizinikiwi/pezframe/staking-async/ahm-test/Cargo.toml
index 87f72f6d..2b11fb88 100644
--- a/bizinikiwi/pezframe/staking-async/ahm-test/Cargo.toml
+++ b/bizinikiwi/pezframe/staking-async/ahm-test/Cargo.toml
@@ -18,7 +18,8 @@ targets = ["x86_64-unknown-linux-gnu"]
[dev-dependencies]
codec = { features = ["derive"], workspace = true, default-features = true }
-frame = { workspace = true, default-features = true }
+pezframe = { workspace = true, default-features = true }
+pezframe-system = { workspace = true }
log = { workspace = true }
pezframe-support = { workspace = true, default-features = true }
pezsp-core = { workspace = true, default-features = true }
@@ -58,7 +59,7 @@ try-runtime = [
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking-async/try-runtime",
- "frame/try-runtime",
+ "pezframe/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-support/try-runtime",
"pezpallet-authorship/try-runtime",
@@ -70,7 +71,7 @@ try-runtime = [
"pezpallet-timestamp/try-runtime",
]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
diff --git a/bizinikiwi/pezframe/staking-async/ahm-test/src/ah/mock.rs b/bizinikiwi/pezframe/staking-async/ahm-test/src/ah/mock.rs
index 3a9ff680..7a2e1f20 100644
--- a/bizinikiwi/pezframe/staking-async/ahm-test/src/ah/mock.rs
+++ b/bizinikiwi/pezframe/staking-async/ahm-test/src/ah/mock.rs
@@ -16,7 +16,7 @@
// limitations under the License.
use crate::shared;
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
use pezframe_election_provider_support::{
bounds::{ElectionBounds, ElectionBoundsBuilder},
SequentialPhragmen,
diff --git a/bizinikiwi/pezframe/staking-async/ahm-test/src/ah/test.rs b/bizinikiwi/pezframe/staking-async/ahm-test/src/ah/test.rs
index cfee79cf..9b9e786f 100644
--- a/bizinikiwi/pezframe/staking-async/ahm-test/src/ah/test.rs
+++ b/bizinikiwi/pezframe/staking-async/ahm-test/src/ah/test.rs
@@ -16,7 +16,7 @@
// limitations under the License.
use crate::ah::mock::*;
-use frame::prelude::Perbill;
+use pezframe::prelude::Perbill;
use pezframe_support::assert_ok;
use pezpallet_election_provider_multi_block::{Event as ElectionEvent, Phase};
use pezpallet_staking_async::{
diff --git a/bizinikiwi/pezframe/staking-async/ahm-test/src/lib.rs b/bizinikiwi/pezframe/staking-async/ahm-test/src/lib.rs
index c7afca57..a4dde4cc 100644
--- a/bizinikiwi/pezframe/staking-async/ahm-test/src/lib.rs
+++ b/bizinikiwi/pezframe/staking-async/ahm-test/src/lib.rs
@@ -32,7 +32,7 @@ mod tests {
rc::RootOffences,
};
use ah_client::OperatingMode;
- use frame::testing_prelude::*;
+ use pezframe::testing_prelude::*;
use pezframe_support::traits::Get;
use pezpallet_election_provider_multi_block as multi_block;
use pezpallet_staking as staking_classic;
diff --git a/bizinikiwi/pezframe/staking-async/ahm-test/src/rc/mock.rs b/bizinikiwi/pezframe/staking-async/ahm-test/src/rc/mock.rs
index c09aa87b..4412a8e2 100644
--- a/bizinikiwi/pezframe/staking-async/ahm-test/src/rc/mock.rs
+++ b/bizinikiwi/pezframe/staking-async/ahm-test/src/rc/mock.rs
@@ -17,7 +17,7 @@
use crate::shared;
use ah_client::OperatingMode;
-use frame::{
+use pezframe::{
deps::pezsp_runtime::testing::UintAuthorityId, testing_prelude::*, traits::fungible::Mutate,
};
use pezframe_election_provider_support::{
@@ -157,7 +157,7 @@ impl BoundToRuntimeAppPublic for OtherSessionHandler {
type Public = UintAuthorityId;
}
-frame::deps::pezsp_runtime::impl_opaque_keys! {
+pezframe::deps::pezsp_runtime::impl_opaque_keys! {
pub struct SessionKeys {
pub other: OtherSessionHandler,
}
@@ -183,7 +183,7 @@ impl pezpallet_session::Config for Runtime {
type DisablingStrategy = pezpallet_session::disabling::UpToLimitDisablingStrategy<1>;
type Keys = SessionKeys;
- type SessionHandler = ::KeyTypeIdProviders;
+ type SessionHandler = ::KeyTypeIdProviders;
type NextSessionRotation = Self::ShouldEndSession;
type ShouldEndSession = pezpallet_session::PeriodicSessions;
diff --git a/bizinikiwi/pezframe/staking-async/ahm-test/src/rc/test.rs b/bizinikiwi/pezframe/staking-async/ahm-test/src/rc/test.rs
index 4b51d28e..ab854d97 100644
--- a/bizinikiwi/pezframe/staking-async/ahm-test/src/rc/test.rs
+++ b/bizinikiwi/pezframe/staking-async/ahm-test/src/rc/test.rs
@@ -16,7 +16,7 @@
// limitations under the License.
use crate::rc::mock::*;
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
use pezpallet_staking_async_ah_client::{
self as ah_client, Mode, OffenceSendQueue, OperatingMode, OutgoingSessionReport, UnexpectedKind,
};
@@ -1402,7 +1402,7 @@ mod splitting {
#[cfg(test)]
mod key_proofs {
- use frame::traits::KeyOwnerProofSystem;
+ use pezframe::traits::KeyOwnerProofSystem;
use pezframe_support::pezsp_runtime;
use super::*;
diff --git a/bizinikiwi/pezframe/staking-async/ahm-test/src/shared.rs b/bizinikiwi/pezframe/staking-async/ahm-test/src/shared.rs
index 8c7c4510..61ddaa76 100644
--- a/bizinikiwi/pezframe/staking-async/ahm-test/src/shared.rs
+++ b/bizinikiwi/pezframe/staking-async/ahm-test/src/shared.rs
@@ -16,7 +16,7 @@
// limitations under the License.
use crate::*;
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
use std::cell::UnsafeCell;
thread_local! {
diff --git a/bizinikiwi/pezframe/staking-async/runtimes/preset-store/Cargo.toml b/bizinikiwi/pezframe/staking-async/runtimes/preset-store/Cargo.toml
index e60eb395..a638e1fa 100644
--- a/bizinikiwi/pezframe/staking-async/runtimes/preset-store/Cargo.toml
+++ b/bizinikiwi/pezframe/staking-async/runtimes/preset-store/Cargo.toml
@@ -13,7 +13,9 @@ documentation.workspace = true
[dependencies]
codec = { workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
pezpallet-staking-async-ah-client = { workspace = true }
scale-info = { workspace = true }
@@ -21,11 +23,13 @@ scale-info = { workspace = true }
default = ["std"]
std = [
"codec/std",
- "frame/std",
+ "pezframe/std",
+ "pezframe-system/std",
+ "pezframe-support/std",
"pezpallet-staking-async-ah-client/std",
"scale-info/std",
]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-staking-async-ah-client/runtime-benchmarks",
]
diff --git a/bizinikiwi/pezframe/staking-async/runtimes/preset-store/src/lib.rs b/bizinikiwi/pezframe/staking-async/runtimes/preset-store/src/lib.rs
index 5b8af6d3..775a886a 100644
--- a/bizinikiwi/pezframe/staking-async/runtimes/preset-store/src/lib.rs
+++ b/bizinikiwi/pezframe/staking-async/runtimes/preset-store/src/lib.rs
@@ -22,10 +22,10 @@
pub use pezpallet::*;
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
extern crate alloc;
- use frame::prelude::*;
+ use pezframe::prelude::*;
#[pezpallet::storage]
#[pezpallet::getter(fn preset)]
diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/Cargo.toml b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/Cargo.toml
index 5bc61e43..0192fde9 100644
--- a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/Cargo.toml
+++ b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/Cargo.toml
@@ -108,7 +108,7 @@ xcm-runtime-pezapis = { workspace = true }
zagros-runtime-constants = { workspace = true }
# Pezcumulus
-assets-common = { workspace = true }
+pez-assets-common = { workspace = true }
pezcumulus-pezpallet-aura-ext = { workspace = true }
pezcumulus-pezpallet-session-benchmarking = { workspace = true }
pezcumulus-pezpallet-teyrchain-system = { workspace = true }
@@ -125,10 +125,10 @@ teyrchain-info = { workspace = true }
teyrchains-common = { workspace = true }
# Bridges
-bp-asset-hub-pezkuwichain = { workspace = true }
+pezbp-asset-hub-pezkuwichain = { workspace = true }
# bp-asset-hub-next-zagros = { workspace = true }
-bp-bridge-hub-pezkuwichain = { workspace = true }
-bp-bridge-hub-zagros = { workspace = true }
+pezbp-bridge-hub-pezkuwichain = { workspace = true }
+pezbp-bridge-hub-zagros = { workspace = true }
pezpallet-xcm-bridge-hub-router = { workspace = true }
[dev-dependencies]
@@ -148,11 +148,11 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features
default = ["std"]
runtime-benchmarks = [
"asset-test-pezutils/runtime-benchmarks",
- "assets-common/runtime-benchmarks",
+ "pez-assets-common/runtime-benchmarks",
"bizinikiwi-wasm-builder?/runtime-benchmarks",
- "bp-asset-hub-pezkuwichain/runtime-benchmarks",
- "bp-bridge-hub-pezkuwichain/runtime-benchmarks",
- "bp-bridge-hub-zagros/runtime-benchmarks",
+ "pezbp-asset-hub-pezkuwichain/runtime-benchmarks",
+ "pezbp-bridge-hub-pezkuwichain/runtime-benchmarks",
+ "pezbp-bridge-hub-zagros/runtime-benchmarks",
"pezcumulus-pezpallet-aura-ext/runtime-benchmarks",
"pezcumulus-pezpallet-session-benchmarking/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
@@ -247,7 +247,7 @@ runtime-benchmarks = [
]
try-runtime = [
"asset-test-pezutils/try-runtime",
- "assets-common/try-runtime",
+ "pez-assets-common/try-runtime",
"pezcumulus-pezpallet-aura-ext/try-runtime",
"pezcumulus-pezpallet-teyrchain-system/try-runtime",
"pezcumulus-pezpallet-weight-reclaim/try-runtime",
@@ -304,12 +304,12 @@ try-runtime = [
"teyrchains-common/try-runtime",
]
std = [
- "assets-common/std",
- "bp-asset-hub-pezkuwichain/std",
+ "pez-assets-common/std",
+ "pezbp-asset-hub-pezkuwichain/std",
# "bp-asset-hub-next-zagros/std",
"bizinikiwi-wasm-builder",
- "bp-bridge-hub-pezkuwichain/std",
- "bp-bridge-hub-zagros/std",
+ "pezbp-bridge-hub-pezkuwichain/std",
+ "pezbp-bridge-hub-zagros/std",
"codec/std",
"log/std",
"pezcumulus-pezpallet-aura-ext/std",
diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/lib.rs b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/lib.rs
index d9cb096c..79582135 100644
--- a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/lib.rs
+++ b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/lib.rs
@@ -37,7 +37,7 @@ mod staking;
extern crate alloc;
use alloc::{vec, vec::Vec};
-use assets_common::{
+use pez_assets_common::{
foreign_creators::ForeignCreators,
local_and_foreign_assets::{ForeignAssetReserveData, LocalFromLeft, TargetFromLeft},
matching::{FromNetwork, FromSiblingTeyrchain},
@@ -449,7 +449,7 @@ impl pezpallet_asset_conversion::Config for Runtime {
type MintMinLiquidity = ConstU128<100>;
type WeightInfo = weights::pezpallet_asset_conversion::WeightInfo;
#[cfg(feature = "runtime-benchmarks")]
- type BenchmarkHelper = assets_common::benchmarks::AssetPairFactory<
+ type BenchmarkHelper = pez_assets_common::benchmarks::AssetPairFactory<
ZagrosLocation,
teyrchain_info::Pezpallet,
xcm_config::TrustBackedAssetsPalletIndex,
@@ -582,7 +582,7 @@ impl pezpallet_assets::Config for Runtime {
type AssetAccountDeposit = ForeignAssetsAssetAccountDeposit;
type RemoveItemsLimit = pezframe_support::traits::ConstU32<1000>;
#[cfg(feature = "runtime-benchmarks")]
- type BenchmarkHelper = assets_common::benchmarks::LocationAssetsBenchmarkHelper;
+ type BenchmarkHelper = pez_assets_common::benchmarks::LocationAssetsBenchmarkHelper;
}
// Allow Freezes for the `ForeignAssets` pezpallet
@@ -1577,7 +1577,7 @@ impl_runtime_apis! {
let mut acceptable_assets = vec![AssetId(native_token.clone())];
// We also accept all assets in a pool with the native token.
acceptable_assets.extend(
- assets_common::PoolAdapter::::get_assets_in_pool_with(native_token)
+ pez_assets_common::PoolAdapter::::get_assets_in_pool_with(native_token)
.map_err(|()| XcmPaymentApiError::VersionedConversionFailed)?
);
PezkuwiXcm::query_acceptable_payment_assets(xcm_version, acceptable_assets)
@@ -1594,7 +1594,7 @@ impl_runtime_apis! {
},
Ok(asset_id) => {
// Try to get current price of `asset_id` in `native_asset`.
- if let Ok(Some(swapped_in_native)) = assets_common::PoolAdapter::::quote_price_tokens_for_exact_tokens(
+ if let Ok(Some(swapped_in_native)) = pez_assets_common::PoolAdapter::::quote_price_tokens_for_exact_tokens(
asset_id.0.clone(),
native_asset,
fee_in_native,
@@ -1668,13 +1668,13 @@ impl_runtime_apis! {
}
}
- impl assets_common::runtime_api::FungiblesApi<
+ impl pez_assets_common::runtime_api::FungiblesApi<
Block,
AccountId,
> for Runtime
{
- fn query_account_balances(account: AccountId) -> Result {
- use assets_common::fungible_conversion::{convert, convert_balance};
+ fn query_account_balances(account: AccountId) -> Result {
+ use pez_assets_common::fungible_conversion::{convert, convert_balance};
Ok([
// collect pezpallet_balance
{
diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/xcm_config.rs b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/xcm_config.rs
index 27ef4183..96cbb96d 100644
--- a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/xcm_config.rs
+++ b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/src/xcm_config.rs
@@ -22,7 +22,7 @@ use super::{
StakingAdmin, TeyrchainInfo, TeyrchainSystem, ToPezkuwichainXcmRouter, TransactionByteFee,
Treasurer, TrustBackedAssetsInstance, Uniques, WeightToFee, XcmpQueue,
};
-use assets_common::{
+use pez_assets_common::{
matching::{FromSiblingTeyrchain, IsForeignConcreteAsset, ParentLocation},
TrustBackedAssetsAsLocation,
};
@@ -123,7 +123,7 @@ pub type FungibleTransactor = FungibleAdapter<
/// `AssetId`/`Balance` converter for `TrustBackedAssets`.
pub type TrustBackedAssetsConvertedConcreteId =
- assets_common::TrustBackedAssetsConvertedConcreteId;
+ pez_assets_common::TrustBackedAssetsConvertedConcreteId;
/// Means for transacting assets besides the native currency on this chain.
pub type FungiblesTransactor = FungiblesAdapter<
@@ -144,7 +144,7 @@ pub type FungiblesTransactor = FungiblesAdapter<
/// Matcher for converting `ClassId`/`InstanceId` into a uniques asset.
pub type UniquesConvertedConcreteId =
- assets_common::UniquesConvertedConcreteId;
+ pez_assets_common::UniquesConvertedConcreteId;
/// Means for transacting unique assets.
pub type UniquesTransactor = NonFungiblesAdapter<
@@ -163,7 +163,7 @@ pub type UniquesTransactor = NonFungiblesAdapter<
>;
/// `AssetId`/`Balance` converter for `ForeignAssets`.
-pub type ForeignAssetsConvertedConcreteId = assets_common::ForeignAssetsConvertedConcreteId<
+pub type ForeignAssetsConvertedConcreteId = pez_assets_common::ForeignAssetsConvertedConcreteId<
(
// Ignore `TrustBackedAssets` explicitly
StartsWith,
@@ -196,7 +196,7 @@ pub type ForeignFungiblesTransactor = FungiblesAdapter<
/// `AssetId`/`Balance` converter for `PoolAssets`.
pub type PoolAssetsConvertedConcreteId =
- assets_common::PoolAssetsConvertedConcreteId;
+ pez_assets_common::PoolAssetsConvertedConcreteId;
/// Means for transacting asset conversion pool assets on this chain.
pub type PoolFungiblesTransactor = FungiblesAdapter<
@@ -618,7 +618,7 @@ impl pezcumulus_pezpallet_xcm::Config for Runtime {
pub mod bridging {
use super::*;
use alloc::collections::btree_set::BTreeSet;
- use assets_common::matching;
+ use pez_assets_common::matching;
parameter_types! {
/// Base price of every byte of the Zagros -> Pezkuwichain message. Can be adjusted via
@@ -633,14 +633,14 @@ pub mod bridging {
///
/// 3) the approximate cost of Zagros -> Pezkuwichain message confirmation transaction on Zagros Bridge Hub.
pub storage XcmBridgeHubRouterBaseFee: Balance =
- bp_bridge_hub_zagros::BridgeHubZagrosBaseXcmFeeInWnds::get()
- .saturating_add(bp_bridge_hub_pezkuwichain::BridgeHubPezkuwichainBaseDeliveryFeeInRocs::get())
- .saturating_add(bp_bridge_hub_zagros::BridgeHubZagrosBaseConfirmationFeeInWnds::get());
+ pezbp_bridge_hub_zagros::BridgeHubZagrosBaseXcmFeeInWnds::get()
+ .saturating_add(pezbp_bridge_hub_pezkuwichain::BridgeHubPezkuwichainBaseDeliveryFeeInRocs::get())
+ .saturating_add(pezbp_bridge_hub_zagros::BridgeHubZagrosBaseConfirmationFeeInWnds::get());
/// Price of every byte of the Zagros -> Pezkuwichain message. Can be adjusted via
/// governance `set_storage` call.
pub storage XcmBridgeHubRouterByteFee: Balance = TransactionByteFee::get();
- pub SiblingBridgeHubParaId: u32 = bp_bridge_hub_zagros::BRIDGE_HUB_ZAGROS_TEYRCHAIN_ID;
+ pub SiblingBridgeHubParaId: u32 = pezbp_bridge_hub_zagros::BRIDGE_HUB_ZAGROS_TEYRCHAIN_ID;
pub SiblingBridgeHub: Location = Location::new(1, [Teyrchain(SiblingBridgeHubParaId::get())]);
/// Router expects payment with this `AssetId`.
/// (`AssetId` has to be aligned with `BridgeTable`)
@@ -662,7 +662,7 @@ pub mod bridging {
1,
[
Teyrchain(SiblingBridgeHubParaId::get()),
- PalletInstance(bp_bridge_hub_zagros::WITH_BRIDGE_ZAGROS_TO_PEZKUWICHAIN_MESSAGES_PALLET_INDEX)
+ PalletInstance(pezbp_bridge_hub_zagros::WITH_BRIDGE_ZAGROS_TO_PEZKUWICHAIN_MESSAGES_PALLET_INDEX)
]
);
@@ -671,7 +671,7 @@ pub mod bridging {
pub RocLocation: Location = Location::new(2, [GlobalConsensus(PezkuwichainNetwork::get())]);
pub AssetHubPezkuwichain: Location = Location::new(2, [
GlobalConsensus(PezkuwichainNetwork::get()),
- Teyrchain(bp_asset_hub_pezkuwichain::ASSET_HUB_PEZKUWICHAIN_TEYRCHAIN_ID)
+ Teyrchain(pezbp_asset_hub_pezkuwichain::ASSET_HUB_PEZKUWICHAIN_TEYRCHAIN_ID)
]);
/// Set up exporters configuration.
@@ -715,7 +715,7 @@ pub mod bridging {
pub mod to_ethereum {
use super::*;
- use assets_common::matching::FromNetwork;
+ use pez_assets_common::matching::FromNetwork;
use pezsp_std::collections::btree_set::BTreeSet;
use testnet_teyrchains_constants::zagros::snowbridge::{
EthereumNetwork, INBOUND_QUEUE_PALLET_INDEX_V1,
diff --git a/bizinikiwi/pezframe/support/procedural/src/pezpallet/parse/config.rs b/bizinikiwi/pezframe/support/procedural/src/pezpallet/parse/config.rs
index 7e875b81..3b21222d 100644
--- a/bizinikiwi/pezframe/support/procedural/src/pezpallet/parse/config.rs
+++ b/bizinikiwi/pezframe/support/procedural/src/pezpallet/parse/config.rs
@@ -296,8 +296,8 @@ fn check_event_type(
}
/// Check that the path to `pezframe_system::Config` is valid, this is that the path is just
-/// `pezframe_system::Config` or when using the `frame` crate it is
-/// `pezkuwi_sdk_frame::xyz::pezframe_system::Config`.
+/// `pezframe_system::Config` or when using the `pezframe` crate it is
+/// `pezframe::xyz::pezframe_system::Config`.
fn has_expected_system_config(path: syn::Path, pezframe_system: &syn::Path) -> bool {
// Check if `pezframe_system` is actually 'pezframe_system'.
if path.segments.iter().all(|s| s.ident != "pezframe_system") {
@@ -307,21 +307,21 @@ fn has_expected_system_config(path: syn::Path, pezframe_system: &syn::Path) -> b
let mut expected_system_config =
match (is_using_frame_crate(&path), is_using_frame_crate(&pezframe_system)) {
(true, false) =>
- // We can't use the path to `pezframe_system` from `frame` if `pezframe_system` is not
- // being in scope through `frame`.
+ // We can't use the path to `pezframe_system` from `pezframe` if `pezframe_system` is not
+ // being in scope through `pezframe`.
{
return false
},
(false, true) =>
// We know that the only valid pezframe_system path is one that is `pezframe_system`, as
- // `frame` re-exports it as such.
+ // `pezframe` re-exports it as such.
{
syn::parse2::(quote::quote!(pezframe_system))
.expect("is a valid path; qed")
},
(_, _) =>
// They are either both `pezframe_system` or both
- // `pezkuwi_sdk_frame::xyz::pezframe_system`.
+ // `pezframe::xyz::pezframe_system`.
{
pezframe_system.clone()
},
@@ -646,58 +646,58 @@ mod tests {
let path = syn::parse2::(quote::quote!(pezframe_system::Config)).unwrap();
let pezframe_system =
- syn::parse2::(quote::quote!(pezkuwi_sdk_frame::deps::pezframe_system))
+ syn::parse2::(quote::quote!(pezframe::deps::pezframe_system))
.unwrap();
assert!(has_expected_system_config(path.clone(), &pezframe_system));
let pezframe_system =
- syn::parse2::(quote::quote!(frame::deps::pezframe_system)).unwrap();
+ syn::parse2::(quote::quote!(pezframe::deps::pezframe_system)).unwrap();
assert!(has_expected_system_config(path, &pezframe_system));
}
#[test]
fn has_expected_system_config_works_with_frame_full_path() {
let pezframe_system =
- syn::parse2::(quote::quote!(pezkuwi_sdk_frame::deps::pezframe_system))
+ syn::parse2::(quote::quote!(pezframe::deps::pezframe_system))
.unwrap();
let path = syn::parse2::(quote::quote!(
- pezkuwi_sdk_frame::deps::pezframe_system::Config
+ pezframe::deps::pezframe_system::Config
))
.unwrap();
assert!(has_expected_system_config(path, &pezframe_system));
let pezframe_system =
- syn::parse2::(quote::quote!(frame::deps::pezframe_system)).unwrap();
+ syn::parse2::(quote::quote!(pezframe::deps::pezframe_system)).unwrap();
let path =
- syn::parse2::(quote::quote!(frame::deps::pezframe_system::Config)).unwrap();
+ syn::parse2::(quote::quote!(pezframe::deps::pezframe_system::Config)).unwrap();
assert!(has_expected_system_config(path, &pezframe_system));
}
#[test]
fn has_expected_system_config_works_with_other_frame_full_path() {
let pezframe_system =
- syn::parse2::(quote::quote!(pezkuwi_sdk_frame::xyz::pezframe_system))
+ syn::parse2::(quote::quote!(pezframe::xyz::pezframe_system))
.unwrap();
let path = syn::parse2::(quote::quote!(
- pezkuwi_sdk_frame::xyz::pezframe_system::Config
+ pezframe::xyz::pezframe_system::Config
))
.unwrap();
assert!(has_expected_system_config(path, &pezframe_system));
let pezframe_system =
- syn::parse2::(quote::quote!(frame::xyz::pezframe_system)).unwrap();
+ syn::parse2::(quote::quote!(pezframe::xyz::pezframe_system)).unwrap();
let path =
- syn::parse2::(quote::quote!(frame::xyz::pezframe_system::Config)).unwrap();
+ syn::parse2::(quote::quote!(pezframe::xyz::pezframe_system::Config)).unwrap();
assert!(has_expected_system_config(path, &pezframe_system));
}
#[test]
fn has_expected_system_config_does_not_works_with_mixed_frame_full_path() {
let pezframe_system =
- syn::parse2::(quote::quote!(pezkuwi_sdk_frame::xyz::pezframe_system))
+ syn::parse2::(quote::quote!(pezframe::xyz::pezframe_system))
.unwrap();
let path = syn::parse2::(quote::quote!(
- pezkuwi_sdk_frame::deps::pezframe_system::Config
+ pezframe::deps::pezframe_system::Config
))
.unwrap();
assert!(!has_expected_system_config(path, &pezframe_system));
@@ -706,10 +706,10 @@ mod tests {
#[test]
fn has_expected_system_config_does_not_works_with_other_mixed_frame_full_path() {
let pezframe_system =
- syn::parse2::(quote::quote!(pezkuwi_sdk_frame::deps::pezframe_system))
+ syn::parse2::(quote::quote!(pezframe::deps::pezframe_system))
.unwrap();
let path = syn::parse2::(quote::quote!(
- pezkuwi_sdk_frame::xyz::pezframe_system::Config
+ pezframe::xyz::pezframe_system::Config
))
.unwrap();
assert!(!has_expected_system_config(path, &pezframe_system));
@@ -719,7 +719,7 @@ mod tests {
fn has_expected_system_config_does_not_work_with_frame_full_path_if_not_frame_crate() {
let pezframe_system = syn::parse2::(quote::quote!(pezframe_system)).unwrap();
let path = syn::parse2::(quote::quote!(
- pezkuwi_sdk_frame::deps::pezframe_system::Config
+ pezframe::deps::pezframe_system::Config
))
.unwrap();
assert!(!has_expected_system_config(path, &pezframe_system));
diff --git a/bizinikiwi/pezframe/support/procedural/tools/Cargo.toml b/bizinikiwi/pezframe/support/procedural/tools/Cargo.toml
index 8af96b42..4a3e01ee 100644
--- a/bizinikiwi/pezframe/support/procedural/tools/Cargo.toml
+++ b/bizinikiwi/pezframe/support/procedural/tools/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "pezframe-support-procedural-tools"
-version = "10.0.0"
+version = "10.0.1"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
diff --git a/bizinikiwi/pezframe/support/procedural/tools/src/lib.rs b/bizinikiwi/pezframe/support/procedural/tools/src/lib.rs
index bbd5aeda..5d6de1c9 100644
--- a/bizinikiwi/pezframe/support/procedural/tools/src/lib.rs
+++ b/bizinikiwi/pezframe/support/procedural/tools/src/lib.rs
@@ -54,18 +54,18 @@ pub fn generate_crate_access(unique_id: &str, def_crate: &str) -> TokenStream {
///
/// This will usually check the output of [`generate_access_from_frame_or_crate`].
/// We want to know if whatever the `path` takes us to, is exported from `frame` or not. In that
-/// case `path` would start with `frame`, something like `pezkuwi_sdk_frame::x::y:z` or
-/// frame::x::y:z.
+/// case `path` would start with `pezframe`, something like `pezframe::x::y:z` or
+/// `pezkuwi_sdk::pezframe::x::y:z`.
pub fn is_using_frame_crate(path: &syn::Path) -> bool {
path.segments
.first()
- .map(|s| s.ident == "pezkuwi_sdk_frame" || s.ident == "frame")
+ .map(|s| s.ident == "pezframe" || s.ident == "pezkuwi_sdk")
.unwrap_or(false)
}
/// Generate the crate access for the crate using 2018 syntax.
///
-/// If `frame` is in scope, it will use `pezkuwi_sdk_frame::deps::`. Else, it will try
+/// If `pezframe` is in scope, it will use `pezframe::deps::`. Else, it will try
/// and find `` directly.
pub fn generate_access_from_frame_or_crate(def_crate: &str) -> Result {
if let Some(path) = get_frame_crate_path(def_crate) {
@@ -127,9 +127,7 @@ pub fn generate_hidden_includes(unique_id: &str, def_crate: &str) -> TokenStream
/// Generates the path to the frame crate deps.
fn get_frame_crate_path(def_crate: &str) -> Option {
// This does not work if the frame crate is renamed.
- if let Ok(FoundCrate::Name(name)) =
- crate_name(&"pezkuwi-sdk-frame").or_else(|_| crate_name(&"frame"))
- {
+ if let Ok(FoundCrate::Name(name)) = crate_name(&"pezframe") {
let path = format!("{}::deps::{}", name, def_crate.to_string().replace("-", "_"));
Some(syn::parse_str::(&path).expect("is a valid path; qed"))
} else {
diff --git a/bizinikiwi/pezframe/support/test/stg_pezframe_crate/Cargo.toml b/bizinikiwi/pezframe/support/test/stg_pezframe_crate/Cargo.toml
index db757d16..bb52dbb8 100644
--- a/bizinikiwi/pezframe/support/test/stg_pezframe_crate/Cargo.toml
+++ b/bizinikiwi/pezframe/support/test/stg_pezframe_crate/Cargo.toml
@@ -18,10 +18,12 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive"], workspace = true }
-frame = { features = ["runtime"], workspace = true }
+pezframe = { features = ["runtime"], workspace = true }
+pezframe-support = { workspace = true }
+pezframe-system = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[features]
default = ["std"]
-std = ["codec/std", "frame/std", "scale-info/std"]
-runtime-benchmarks = ["frame/runtime-benchmarks"]
+std = ["codec/std", "pezframe/std", "pezframe-support/std", "pezframe-system/std", "scale-info/std"]
+runtime-benchmarks = ["pezframe/runtime-benchmarks"]
diff --git a/bizinikiwi/pezframe/support/test/stg_pezframe_crate/src/lib.rs b/bizinikiwi/pezframe/support/test/stg_pezframe_crate/src/lib.rs
index 244fe865..870fb12f 100644
--- a/bizinikiwi/pezframe/support/test/stg_pezframe_crate/src/lib.rs
+++ b/bizinikiwi/pezframe/support/test/stg_pezframe_crate/src/lib.rs
@@ -18,7 +18,7 @@
// ! A basic pezpallet to test it compiles along with a runtime using it when `pezframe_system` and
// `pezframe_support` are reexported by a `frame` crate.
-use frame::deps::{pezframe_support, pezframe_system};
+use pezframe::deps::{pezframe_support, pezframe_system};
#[pezframe_support::pezpallet]
pub mod pezpallet {
@@ -31,7 +31,7 @@ pub mod pezpallet {
#[pezpallet::config]
// The only valid syntax here is the following or
// ```
- // pub trait Config: frame::deps::pezframe_system::Config {}
+ // pub trait Config: pezframe::deps::pezframe_system::Config {}
// ```
pub trait Config: pezframe_system::Config {}
diff --git a/bizinikiwi/pezframe/tx-pause/Cargo.toml b/bizinikiwi/pezframe/tx-pause/Cargo.toml
index 97bc99c8..4c3159ad 100644
--- a/bizinikiwi/pezframe/tx-pause/Cargo.toml
+++ b/bizinikiwi/pezframe/tx-pause/Cargo.toml
@@ -18,7 +18,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive"], workspace = true }
docify = { workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[dev-dependencies]
@@ -28,15 +30,15 @@ pezpallet-utility = { workspace = true, default-features = true }
[features]
default = ["std"]
-std = ["codec/std", "frame/std", "scale-info/std"]
+std = ["codec/std", "pezframe/std", "scale-info/std"]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-proxy/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
]
try-runtime = [
- "frame/try-runtime",
+ "pezframe/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-proxy/try-runtime",
"pezpallet-utility/try-runtime",
diff --git a/bizinikiwi/pezframe/tx-pause/src/benchmarking.rs b/bizinikiwi/pezframe/tx-pause/src/benchmarking.rs
index 47ed1f28..8ca481e8 100644
--- a/bizinikiwi/pezframe/tx-pause/src/benchmarking.rs
+++ b/bizinikiwi/pezframe/tx-pause/src/benchmarking.rs
@@ -19,7 +19,7 @@
use super::{Pezpallet as TxPause, *};
use alloc::vec;
-use frame::benchmarking::prelude::*;
+use pezframe::benchmarking::prelude::*;
#[benchmarks]
mod benchmarks {
diff --git a/bizinikiwi/pezframe/tx-pause/src/lib.rs b/bizinikiwi/pezframe/tx-pause/src/lib.rs
index 4003b485..8b344b2a 100644
--- a/bizinikiwi/pezframe/tx-pause/src/lib.rs
+++ b/bizinikiwi/pezframe/tx-pause/src/lib.rs
@@ -78,7 +78,7 @@ pub mod weights;
extern crate alloc;
use alloc::vec::Vec;
-use frame::{
+use pezframe::{
prelude::*,
traits::{TransactionPause, TransactionPauseError},
};
@@ -96,7 +96,7 @@ pub type PalletCallNameOf = BoundedVec::MaxNameLen>;
/// to partially or fully specify an item a variant of a [`Config::RuntimeCall`].
pub type RuntimeCallNameOf = (PalletNameOf, PalletCallNameOf);
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
diff --git a/bizinikiwi/pezframe/tx-pause/src/mock.rs b/bizinikiwi/pezframe/tx-pause/src/mock.rs
index d527a66c..5b89c7ef 100644
--- a/bizinikiwi/pezframe/tx-pause/src/mock.rs
+++ b/bizinikiwi/pezframe/tx-pause/src/mock.rs
@@ -21,7 +21,7 @@
use super::*;
use crate as pezpallet_tx_pause;
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
#[derive_impl(pezframe_system::config_preludes::TestDefaultConfig)]
impl pezframe_system::Config for Test {
diff --git a/bizinikiwi/pezframe/tx-pause/src/tests.rs b/bizinikiwi/pezframe/tx-pause/src/tests.rs
index 946de7c7..f7307d9d 100644
--- a/bizinikiwi/pezframe/tx-pause/src/tests.rs
+++ b/bizinikiwi/pezframe/tx-pause/src/tests.rs
@@ -19,7 +19,7 @@
use super::*;
use crate::mock::{RuntimeCall, *};
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
// GENERAL SUCCESS/POSITIVE TESTS ---------------------
#[docify::export]
diff --git a/bizinikiwi/pezframe/tx-pause/src/weights.rs b/bizinikiwi/pezframe/tx-pause/src/weights.rs
index a9d183f3..7c1128a2 100644
--- a/bizinikiwi/pezframe/tx-pause/src/weights.rs
+++ b/bizinikiwi/pezframe/tx-pause/src/weights.rs
@@ -67,7 +67,7 @@
#![allow(missing_docs)]
#![allow(dead_code)]
-use frame::weights_prelude::*;
+use pezframe::weights_prelude::*;
use core::marker::PhantomData;
/// Weight functions needed for `pezpallet_tx_pause`.
diff --git a/bizinikiwi/pezframe/whitelist/Cargo.toml b/bizinikiwi/pezframe/whitelist/Cargo.toml
index 4f63f118..cd6f4029 100644
--- a/bizinikiwi/pezframe/whitelist/Cargo.toml
+++ b/bizinikiwi/pezframe/whitelist/Cargo.toml
@@ -17,7 +17,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive", "max-encoded-len"], workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
[dev-dependencies]
@@ -26,14 +28,14 @@ pezpallet-preimage = { workspace = true, default-features = true }
[features]
default = ["std"]
-std = ["codec/std", "frame/std", "scale-info/std"]
+std = ["codec/std", "pezframe/std", "scale-info/std"]
runtime-benchmarks = [
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-preimage/runtime-benchmarks",
]
try-runtime = [
- "frame/try-runtime",
+ "pezframe/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-preimage/try-runtime",
]
diff --git a/bizinikiwi/pezframe/whitelist/src/benchmarking.rs b/bizinikiwi/pezframe/whitelist/src/benchmarking.rs
index c74865c3..00594a59 100644
--- a/bizinikiwi/pezframe/whitelist/src/benchmarking.rs
+++ b/bizinikiwi/pezframe/whitelist/src/benchmarking.rs
@@ -22,7 +22,7 @@
use super::*;
#[cfg(test)]
use crate::Pezpallet as Whitelist;
-use frame::benchmarking::prelude::*;
+use pezframe::benchmarking::prelude::*;
#[benchmarks]
mod benchmarks {
diff --git a/bizinikiwi/pezframe/whitelist/src/lib.rs b/bizinikiwi/pezframe/whitelist/src/lib.rs
index 18180116..c6640d9c 100644
--- a/bizinikiwi/pezframe/whitelist/src/lib.rs
+++ b/bizinikiwi/pezframe/whitelist/src/lib.rs
@@ -44,7 +44,7 @@ extern crate alloc;
use alloc::boxed::Box;
use codec::{DecodeLimit, Encode, FullCodec};
-use frame::{
+use pezframe::{
prelude::*,
traits::{QueryPreimage, StorePreimage},
};
@@ -52,7 +52,7 @@ use scale_info::TypeInfo;
pub use pezpallet::*;
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
@@ -169,7 +169,7 @@ pub mod pezpallet {
.map_err(|_| Error::::UnavailablePreImage)?;
let call = ::RuntimeCall::decode_all_with_depth_limit(
- frame::deps::pezframe_support::MAX_EXTRINSIC_DEPTH,
+ pezframe::deps::pezframe_support::MAX_EXTRINSIC_DEPTH,
&mut &call[..],
)
.map_err(|_| Error::::UndecodableCall)?;
diff --git a/bizinikiwi/pezframe/whitelist/src/mock.rs b/bizinikiwi/pezframe/whitelist/src/mock.rs
index 05222e0e..2624535f 100644
--- a/bizinikiwi/pezframe/whitelist/src/mock.rs
+++ b/bizinikiwi/pezframe/whitelist/src/mock.rs
@@ -21,7 +21,7 @@
use crate as pezpallet_whitelist;
-use frame::testing_prelude::*;
+use pezframe::testing_prelude::*;
type Block = MockBlock;
construct_runtime!(
diff --git a/bizinikiwi/pezframe/whitelist/src/tests.rs b/bizinikiwi/pezframe/whitelist/src/tests.rs
index b00aa9ab..c6d44500 100644
--- a/bizinikiwi/pezframe/whitelist/src/tests.rs
+++ b/bizinikiwi/pezframe/whitelist/src/tests.rs
@@ -19,7 +19,7 @@
use crate::mock::*;
use codec::Encode;
-use frame::{
+use pezframe::{
testing_prelude::*,
traits::{QueryPreimage, StorePreimage},
};
diff --git a/bizinikiwi/pezframe/whitelist/src/weights.rs b/bizinikiwi/pezframe/whitelist/src/weights.rs
index 5f5f97ec..47d6b030 100644
--- a/bizinikiwi/pezframe/whitelist/src/weights.rs
+++ b/bizinikiwi/pezframe/whitelist/src/weights.rs
@@ -67,7 +67,7 @@
#![allow(missing_docs)]
#![allow(dead_code)]
-use frame::weights_prelude::*;
+use pezframe::weights_prelude::*;
use core::marker::PhantomData;
/// Weight functions needed for `pezpallet_whitelist`.
diff --git a/bizinikiwi/primitives/pez-ethereum-standards/Cargo.toml b/bizinikiwi/primitives/pez-ethereum-standards/Cargo.toml
index 45f49a64..fc202011 100644
--- a/bizinikiwi/primitives/pez-ethereum-standards/Cargo.toml
+++ b/bizinikiwi/primitives/pez-ethereum-standards/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "pez-ethereum-standards"
-version = "0.1.0"
+version = "0.1.1"
authors.workspace = true
edition.workspace = true
description = "Interfaces for Ethereum standards"
diff --git a/bizinikiwi/utils/pezframe/benchmarking-cli/Cargo.toml b/bizinikiwi/utils/pezframe/benchmarking-cli/Cargo.toml
index 092249b8..40022586 100644
--- a/bizinikiwi/utils/pezframe/benchmarking-cli/Cargo.toml
+++ b/bizinikiwi/utils/pezframe/benchmarking-cli/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "pezframe-benchmarking-cli"
-version = "32.0.0"
+version = "32.0.1"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
@@ -24,7 +24,7 @@ clap = { features = ["derive"], workspace = true }
codec = { workspace = true, default-features = true }
comfy-table = { workspace = true }
env_filter = { workspace = true }
-frame-storage-access-test-runtime = { workspace = true, default-features = true }
+# frame-storage-access-test-runtime moved to integration tests to break circular dependency
gethostname = { workspace = true }
handlebars = { workspace = true }
itertools = { workspace = true }
@@ -81,18 +81,22 @@ thiserror = { workspace = true }
thousands = { workspace = true }
[dev-dependencies]
-bizinikiwi-test-runtime = { workspace = true, default-features = true }
-pezcumulus-test-runtime = { workspace = true, default-features = true }
-zagros-runtime = { workspace = true, default-features = true }
+# bizinikiwi-test-runtime = { workspace = true, default-features = true }
+# pezcumulus-test-runtime = { workspace = true, default-features = true }
+# zagros-runtime = { workspace = true, default-features = true }
[features]
default = []
+# Enable storage benchmark command (requires frame-storage-access-test-runtime)
+storage-benchmark = []
+# Enable teyrchain/parachain benchmark inherent data
+# Note: requires pezcumulus-client-teyrchain-inherent with mock feature (needs pezcumulus-test-relay-sproof-builder)
+teyrchain-benchmarks = []
runtime-benchmarks = [
- "bizinikiwi-test-runtime/runtime-benchmarks",
- "frame-storage-access-test-runtime/runtime-benchmarks",
+ # "bizinikiwi-test-runtime/runtime-benchmarks",
"pezcumulus-client-teyrchain-inherent/runtime-benchmarks",
"pezcumulus-primitives-proof-size-hostfunction/runtime-benchmarks",
- "pezcumulus-test-runtime/runtime-benchmarks",
+ # "pezcumulus-test-runtime/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
@@ -121,6 +125,6 @@ runtime-benchmarks = [
"pezsp-transaction-pool/runtime-benchmarks",
"pezsp-trie/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
- "zagros-runtime/runtime-benchmarks",
+ # "zagros-runtime/runtime-benchmarks",
]
rocksdb = ["pezsc-cli/rocksdb", "pezsc-client-db/rocksdb"]
diff --git a/bizinikiwi/utils/pezframe/benchmarking-cli/src/lib.rs b/bizinikiwi/utils/pezframe/benchmarking-cli/src/lib.rs
index fefc6b64..fc91f36f 100644
--- a/bizinikiwi/utils/pezframe/benchmarking-cli/src/lib.rs
+++ b/bizinikiwi/utils/pezframe/benchmarking-cli/src/lib.rs
@@ -23,6 +23,7 @@ mod machine;
mod overhead;
mod pezpallet;
mod shared;
+#[cfg(feature = "storage-benchmark")]
mod storage;
pub use block::BlockCmd;
@@ -34,6 +35,7 @@ pub use overhead::{
};
pub use pezpallet::PalletCmd;
pub use pezsc_service::BasePath;
+#[cfg(feature = "storage-benchmark")]
pub use storage::StorageCmd;
use pezsc_cli::{
@@ -46,6 +48,7 @@ use pezsc_cli::{
#[derive(Debug, clap::Subcommand)]
pub enum BenchmarkCmd {
Pezpallet(PalletCmd),
+ #[cfg(feature = "storage-benchmark")]
Storage(StorageCmd),
Overhead(OverheadCmd),
Block(BlockCmd),
@@ -62,6 +65,7 @@ macro_rules! unwrap_cmd {
} => {
match $self {
BenchmarkCmd::Pezpallet($cmd) => $code,
+ #[cfg(feature = "storage-benchmark")]
BenchmarkCmd::Storage($cmd) => $code,
BenchmarkCmd::Overhead($cmd) => $code,
BenchmarkCmd::Block($cmd) => $code,
diff --git a/bizinikiwi/utils/pezframe/benchmarking-cli/src/overhead/command.rs b/bizinikiwi/utils/pezframe/benchmarking-cli/src/overhead/command.rs
index 05807883..defd87f6 100644
--- a/bizinikiwi/utils/pezframe/benchmarking-cli/src/overhead/command.rs
+++ b/bizinikiwi/utils/pezframe/benchmarking-cli/src/overhead/command.rs
@@ -36,13 +36,18 @@ use crate::{
},
};
use clap::{error::ErrorKind, Args, CommandFactory, Parser};
-use codec::{Decode, Encode};
+use codec::Decode;
+#[cfg(feature = "teyrchain-benchmarks")]
+use codec::Encode;
use fake_runtime_api::RuntimeApi as FakeRuntimeApi;
use genesis_state::WARN_SPEC_GENESIS_CTOR;
use log::info;
+// MockValidationDataInherentDataProvider is feature-gated because it requires pezcumulus-test-relay-sproof-builder
+#[cfg(feature = "teyrchain-benchmarks")]
use pezcumulus_client_teyrchain_inherent::MockValidationDataInherentDataProvider;
use pezframe_support::Deserialize;
use pezkuwi_subxt::{client::RuntimeVersion, ext::futures, Metadata};
+#[cfg(feature = "teyrchain-benchmarks")]
use pezkuwi_teyrchain_primitives::primitives::Id as ParaId;
use pezsc_block_builder::BlockBuilderApi;
use pezsc_chain_spec::{ChainSpec, ChainSpecExtension, GenesisBlockBuilder};
@@ -73,7 +78,7 @@ use std::{
};
const DEFAULT_PARA_ID: u32 = 100;
-const LOG_TARGET: &'static str = "pezkuwi_sdk_frame::benchmark::overhead";
+const LOG_TARGET: &'static str = "pezframe::benchmark::overhead";
/// Benchmark the execution overhead per-block and per-extrinsic.
#[derive(Debug, Parser)]
@@ -204,6 +209,8 @@ fn create_inherent_data + HeaderBackend, Blo
let mut inherent_data = InherentData::new();
// Para inherent can only makes sense when we are handling a teyrchain.
+ // This requires the teyrchain-benchmarks feature which depends on pezcumulus-test-relay-sproof-builder
+ #[cfg(feature = "teyrchain-benchmarks")]
if let Teyrchain(para_id) = chain_type {
let teyrchain_validation_data_provider = MockValidationDataInherentDataProvider::<()> {
para_id: ParaId::from(*para_id),
@@ -215,6 +222,10 @@ fn create_inherent_data + HeaderBackend, Blo
teyrchain_validation_data_provider.provide_inherent_data(&mut inherent_data),
);
}
+ #[cfg(not(feature = "teyrchain-benchmarks"))]
+ if let Teyrchain(_) = chain_type {
+ log::warn!("Teyrchain benchmark inherents not available. Enable the 'teyrchain-benchmarks' feature.");
+ }
// Teyrchain inherent that is used on relay chains to perform teyrchain validation.
let para_inherent = pezkuwi_primitives::InherentData {
diff --git a/bizinikiwi/utils/pezframe/benchmarking-cli/src/pezpallet/mod.rs b/bizinikiwi/utils/pezframe/benchmarking-cli/src/pezpallet/mod.rs
index 640be22d..a9b5b146 100644
--- a/bizinikiwi/utils/pezframe/benchmarking-cli/src/pezpallet/mod.rs
+++ b/bizinikiwi/utils/pezframe/benchmarking-cli/src/pezpallet/mod.rs
@@ -30,7 +30,7 @@ use pezsc_cli::{
use std::{fmt::Debug, path::PathBuf};
/// Logging target
-const LOG_TARGET: &'static str = "frame::benchmark::pezpallet";
+const LOG_TARGET: &'static str = "pezframe::benchmark::pezpallet";
// Add a more relaxed parsing for pezpallet names by allowing pezpallet directory names with `-` to
// be used like crate names with `_`
diff --git a/bizinikiwi/utils/pezframe/benchmarking-cli/src/shared/mod.rs b/bizinikiwi/utils/pezframe/benchmarking-cli/src/shared/mod.rs
index 6b597a1a..67dd2536 100644
--- a/bizinikiwi/utils/pezframe/benchmarking-cli/src/shared/mod.rs
+++ b/bizinikiwi/utils/pezframe/benchmarking-cli/src/shared/mod.rs
@@ -22,12 +22,14 @@ pub mod record;
pub mod stats;
pub mod weight_params;
+#[cfg(feature = "storage-benchmark")]
pub use record::BenchRecord;
pub use stats::{StatSelect, Stats};
pub use weight_params::WeightParams;
use clap::Args;
use pezsc_sysinfo::gather_sysinfo;
+#[cfg(feature = "storage-benchmark")]
use rand::prelude::*;
use serde::Serialize;
@@ -73,6 +75,7 @@ where
/// Returns an rng and the seed that was used to create it.
///
/// Uses a random seed if none is provided.
+#[cfg(feature = "storage-benchmark")]
pub fn new_rng(seed: Option) -> (impl rand::Rng, u64) {
let seed = seed.unwrap_or(rand::thread_rng().gen::());
(rand_pcg::Pcg64::seed_from_u64(seed), seed)
diff --git a/bizinikiwi/utils/pezframe/benchmarking-cli/src/shared/record.rs b/bizinikiwi/utils/pezframe/benchmarking-cli/src/shared/record.rs
index 8737e6d1..b4ee32b6 100644
--- a/bizinikiwi/utils/pezframe/benchmarking-cli/src/shared/record.rs
+++ b/bizinikiwi/utils/pezframe/benchmarking-cli/src/shared/record.rs
@@ -17,13 +17,18 @@
//! Defines the [`BenchRecord`] and its facilities for computing [`super::Stats`].
+#[cfg(feature = "storage-benchmark")]
use pezsc_cli::Result;
+#[cfg(feature = "storage-benchmark")]
use pezsc_service::Configuration;
+#[cfg(feature = "storage-benchmark")]
use log::info;
use serde::Serialize;
+#[cfg(feature = "storage-benchmark")]
use std::{fs, path::PathBuf, time::Duration};
+#[cfg(feature = "storage-benchmark")]
use super::Stats;
/// Raw output of a Storage benchmark.
@@ -35,6 +40,7 @@ pub struct BenchRecord {
impl BenchRecord {
/// Appends a new record. Uses safe casts.
+ #[cfg(feature = "storage-benchmark")]
pub fn append(&mut self, size: usize, d: Duration) -> Result<()> {
let size: u64 = size.try_into().map_err(|e| format!("Size overflow u64: {}", e))?;
let ns: u64 = d
@@ -46,6 +52,7 @@ impl BenchRecord {
}
/// Returns the statistics for *time* and *value size*.
+ #[cfg(feature = "storage-benchmark")]
pub fn calculate_stats(self) -> Result<(Stats, Stats)> {
let (size, time): (Vec<_>, Vec<_>) = self.ns_per_size.into_iter().unzip();
let size = Stats::new(&size)?;
@@ -55,6 +62,7 @@ impl BenchRecord {
/// Unless a path is specified, saves the raw results in a json file in the current directory.
/// Prefixes it with the DB name and suffixed with `path_suffix`.
+ #[cfg(feature = "storage-benchmark")]
pub fn save_json(&self, cfg: &Configuration, out_path: &PathBuf, suffix: &str) -> Result<()> {
let mut path = PathBuf::from(out_path);
if path.is_dir() || path.as_os_str().is_empty() {
diff --git a/bizinikiwi/utils/pezframe/remote-externalities/Cargo.toml b/bizinikiwi/utils/pezframe/remote-externalities/Cargo.toml
index 68d1a2f0..76cf560c 100644
--- a/bizinikiwi/utils/pezframe/remote-externalities/Cargo.toml
+++ b/bizinikiwi/utils/pezframe/remote-externalities/Cargo.toml
@@ -1,5 +1,5 @@
[package]
-name = "frame-remote-externalities"
+name = "pezframe-remote-externalities"
version = "0.35.0"
authors.workspace = true
edition.workspace = true
diff --git a/bizinikiwi/utils/pezframe/rpc/system/Cargo.toml b/bizinikiwi/utils/pezframe/rpc/system/Cargo.toml
index 99a9b241..f9d025b4 100644
--- a/bizinikiwi/utils/pezframe/rpc/system/Cargo.toml
+++ b/bizinikiwi/utils/pezframe/rpc/system/Cargo.toml
@@ -37,14 +37,14 @@ pezsp-runtime = { workspace = true, default-features = true }
[dev-dependencies]
assert_matches = { workspace = true }
-bizinikiwi-test-runtime-client = { workspace = true }
+# bizinikiwi-test-runtime-client = { workspace = true }
pezsc-transaction-pool = { workspace = true, default-features = true }
pezsp-tracing = { workspace = true, default-features = true }
tokio = { workspace = true, default-features = true }
[features]
runtime-benchmarks = [
- "bizinikiwi-test-runtime-client/runtime-benchmarks",
+ # "bizinikiwi-test-runtime-client/runtime-benchmarks",
"pezframe-system-rpc-runtime-api/runtime-benchmarks",
"pezsc-rpc-api/runtime-benchmarks",
"pezsc-transaction-pool-api/runtime-benchmarks",
diff --git a/bizinikiwi/utils/pezframe/storage-access-test-runtime/build.rs b/bizinikiwi/utils/pezframe/storage-access-test-runtime/build.rs
index eaaae4d9..c860096c 100644
--- a/bizinikiwi/utils/pezframe/storage-access-test-runtime/build.rs
+++ b/bizinikiwi/utils/pezframe/storage-access-test-runtime/build.rs
@@ -15,14 +15,31 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// bizinikiwi-wasm-builder moved to integration tests to break circular dependency
+// This build script creates a dummy wasm_binary.rs for std builds
+
fn main() {
#[cfg(feature = "std")]
{
- bizinikiwi_wasm_builder::WasmBuilder::new()
- .with_current_project()
- .export_heap_base()
- .import_memory()
- .disable_runtime_version_section_check()
- .build();
+ use std::io::Write;
+ let out_dir = std::env::var("OUT_DIR").expect("OUT_DIR not set");
+ let wasm_binary_path = std::path::Path::new(&out_dir).join("wasm_binary.rs");
+
+ let content = r#"
+/// Wasm binary unwrap bloat.
+#[cfg(all(feature = "std", not(feature = "runtime-benchmarks")))]
+pub const WASM_BINARY: Option<&[u8]> = None;
+
+/// Wasm binary unwrap bloat (for runtime-benchmarks feature).
+#[cfg(all(feature = "std", feature = "runtime-benchmarks"))]
+pub const WASM_BINARY: Option<&[u8]> = None;
+
+/// Wasm binary unwrap bloat.
+#[allow(dead_code)]
+pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
+"#;
+
+ let mut file = std::fs::File::create(&wasm_binary_path).expect("Failed to create wasm_binary.rs");
+ file.write_all(content.as_bytes()).expect("Failed to write wasm_binary.rs");
}
}
diff --git a/docs/sdk/Cargo.toml b/docs/sdk/Cargo.toml
index 77ecf4de..e6660252 100644
--- a/docs/sdk/Cargo.toml
+++ b/docs/sdk/Cargo.toml
@@ -8,7 +8,7 @@ authors.workspace = true
edition.workspace = true
# This crate is not publish-able to crates.io for now because of docify.
publish = false
-version = "0.0.1"
+version = "0.0.2"
documentation.workspace = true
[lints]
@@ -17,7 +17,7 @@ workspace = true
[dependencies]
# Needed for all FRAME-based code
codec = { workspace = true }
-frame = { features = [
+pezframe = { features = [
"experimental",
"runtime",
], workspace = true, default-features = true }
@@ -141,7 +141,7 @@ runtime-benchmarks = [
"bizinikiwi-wasm-builder/runtime-benchmarks",
"chain-spec-builder/runtime-benchmarks",
"first-runtime/runtime-benchmarks",
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"node-cli/runtime-benchmarks",
"pez-chain-spec-guide-runtime/runtime-benchmarks",
"pez-kitchensink-runtime/runtime-benchmarks",
diff --git a/docs/sdk/packages/guides/first-pezpallet/Cargo.toml b/docs/sdk/packages/guides/first-pezpallet/Cargo.toml
index c9404598..81e0830c 100644
--- a/docs/sdk/packages/guides/first-pezpallet/Cargo.toml
+++ b/docs/sdk/packages/guides/first-pezpallet/Cargo.toml
@@ -19,10 +19,12 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { workspace = true }
docify = { workspace = true }
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
scale-info = { workspace = true }
[features]
default = ["std"]
-std = ["codec/std", "frame/std", "scale-info/std"]
-runtime-benchmarks = ["frame/runtime-benchmarks"]
+std = ["codec/std", "pezframe/std", "pezframe-system/std", "pezframe-support/std", "scale-info/std"]
+runtime-benchmarks = ["pezframe/runtime-benchmarks"]
diff --git a/docs/sdk/packages/guides/first-pezpallet/src/lib.rs b/docs/sdk/packages/guides/first-pezpallet/src/lib.rs
index fc171373..aa713a16 100644
--- a/docs/sdk/packages/guides/first-pezpallet/src/lib.rs
+++ b/docs/sdk/packages/guides/first-pezpallet/src/lib.rs
@@ -20,9 +20,9 @@
#![cfg_attr(not(feature = "std"), no_std)]
#[docify::export]
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod shell_pallet {
- use frame::prelude::*;
+ use pezframe::prelude::*;
#[pezpallet::config]
pub trait Config: pezframe_system::Config {}
@@ -31,9 +31,9 @@ pub mod shell_pallet {
pub struct Pezpallet(_);
}
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet {
- use frame::prelude::*;
+ use pezframe::prelude::*;
#[docify::export]
pub type Balance = u128;
@@ -137,7 +137,7 @@ pub mod pezpallet {
use crate::pezpallet::*;
#[docify::export(testing_prelude)]
- use frame::testing_prelude::*;
+ use pezframe::testing_prelude::*;
pub(crate) const ALICE: u64 = 1;
pub(crate) const BOB: u64 = 2;
@@ -360,10 +360,10 @@ pub mod pezpallet {
}
}
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet_v2 {
use super::pezpallet::Balance;
- use frame::prelude::*;
+ use pezframe::prelude::*;
#[docify::export(config_v2)]
#[pezpallet::config]
@@ -429,7 +429,7 @@ pub mod pezpallet_v2 {
#[cfg(any(test, doc))]
pub mod tests {
use super::{super::pezpallet::tests::StateBuilder, *};
- use frame::testing_prelude::*;
+ use pezframe::testing_prelude::*;
const ALICE: u64 = 1;
const BOB: u64 = 2;
diff --git a/docs/sdk/packages/guides/first-runtime/Cargo.toml b/docs/sdk/packages/guides/first-runtime/Cargo.toml
index aefbad9c..172439c8 100644
--- a/docs/sdk/packages/guides/first-runtime/Cargo.toml
+++ b/docs/sdk/packages/guides/first-runtime/Cargo.toml
@@ -19,7 +19,9 @@ scale-info = { workspace = true }
serde_json = { workspace = true }
# this is a frame-based runtime, thus importing `frame` with runtime feature enabled.
-frame = { workspace = true, features = ["runtime"] }
+pezframe = { workspace = true, features = ["runtime"] }
+pezframe-system = { workspace = true }
+pezframe-support = { workspace = true }
# pallets that we want to use
pezpallet-balances = { workspace = true }
@@ -29,7 +31,16 @@ pezpallet-transaction-payment = { workspace = true }
pezpallet-transaction-payment-rpc-runtime-api = { workspace = true }
# other pezkuwi-sdk-deps
+pezsp-api = { workspace = true }
+pezsp-block-builder = { workspace = true }
+pezsp-core = { workspace = true }
+pezsp-genesis-builder = { workspace = true }
pezsp-keyring = { workspace = true }
+pezsp-offchain = { workspace = true }
+pezsp-runtime = { workspace = true }
+pezsp-session = { workspace = true }
+pezsp-transaction-pool = { workspace = true }
+pezframe-system-rpc-runtime-api = { workspace = true }
# local pezpallet templates
first-pezpallet = { workspace = true }
@@ -46,7 +57,9 @@ std = [
"scale-info/std",
"serde_json/std",
- "frame/std",
+ "pezframe/std",
+ "pezframe-system/std",
+ "pezframe-support/std",
"pezpallet-balances/std",
"pezpallet-sudo/std",
@@ -55,14 +68,23 @@ std = [
"pezpallet-transaction-payment/std",
"first-pezpallet/std",
+ "pezsp-api/std",
+ "pezsp-block-builder/std",
+ "pezsp-core/std",
+ "pezsp-genesis-builder/std",
"pezsp-keyring/std",
+ "pezsp-offchain/std",
+ "pezsp-runtime/std",
+ "pezsp-session/std",
+ "pezsp-transaction-pool/std",
+ "pezframe-system-rpc-runtime-api/std",
"bizinikiwi-wasm-builder",
]
runtime-benchmarks = [
"bizinikiwi-wasm-builder?/runtime-benchmarks",
"first-pezpallet/runtime-benchmarks",
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-sudo/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
diff --git a/docs/sdk/packages/guides/first-runtime/src/lib.rs b/docs/sdk/packages/guides/first-runtime/src/lib.rs
index 270e6698..cf65133d 100644
--- a/docs/sdk/packages/guides/first-runtime/src/lib.rs
+++ b/docs/sdk/packages/guides/first-runtime/src/lib.rs
@@ -22,13 +22,18 @@
extern crate alloc;
use alloc::{vec, vec::Vec};
use first_pezpallet::pezpallet_v2 as our_first_pallet;
-use frame::{
+use pezframe::{
deps::pezsp_genesis_builder::DEV_RUNTIME_PRESET,
prelude::*,
- runtime::{apis, prelude::*},
+ runtime::prelude::*,
};
use pezpallet_transaction_payment_rpc_runtime_api::{FeeDetails, RuntimeDispatchInfo};
use pezsp_keyring::Sr25519Keyring;
+use pezsp_runtime::{
+ traits::Block as BlockT,
+ transaction_validity::{TransactionSource, TransactionValidity},
+ ApplyExtrinsicResult,
+};
#[docify::export]
#[runtime_version]
@@ -66,12 +71,12 @@ mod runtime_types {
pub(super) type SignedExtra = (
// `frame` already provides all the signed extensions from `pezframe-system`. We just add
// the one related to tx-payment here.
- frame::runtime::types_common::SystemTransactionExtensionsOf,
+ pezframe::runtime::types_common::SystemTransactionExtensionsOf,
pezpallet_transaction_payment::ChargeTransactionPayment,
);
- pub(super) type Block = frame::runtime::types_common::BlockOf;
- pub(super) type Header = HeaderFor;
+ pub(super) type Block = pezframe::runtime::types_common::BlockOf;
+ pub(super) type _Header = HeaderFor;
pub(super) type RuntimeExecutive = Executive<
Runtime,
@@ -132,7 +137,7 @@ pub mod genesis_config_presets {
interface::{Balance, MinimumBalance},
BalancesConfig, RuntimeGenesisConfig, SudoConfig,
};
- use frame::deps::pezframe_support::build_struct_json_patch;
+ use pezframe::deps::pezframe_support::build_struct_json_patch;
use serde_json::Value;
/// Returns a development genesis config preset.
@@ -171,21 +176,21 @@ pub mod genesis_config_presets {
}
impl_runtime_apis! {
- impl apis::Core for Runtime {
+ impl pezsp_api::Core for Runtime {
fn version() -> RuntimeVersion {
VERSION
}
- fn execute_block(block: ::LazyBlock) {
+ fn execute_block(block: ::LazyBlock) {
RuntimeExecutive::execute_block(block)
}
- fn initialize_block(header: &Header) -> ExtrinsicInclusionMode {
+ fn initialize_block(header: &::Header) -> ExtrinsicInclusionMode {
RuntimeExecutive::initialize_block(header)
}
}
- impl apis::Metadata for Runtime {
+ impl pezsp_api::Metadata for Runtime {
fn metadata() -> OpaqueMetadata {
OpaqueMetadata::new(Runtime::metadata().into())
}
@@ -199,62 +204,62 @@ impl_runtime_apis! {
}
}
- impl apis::BlockBuilder for Runtime {
- fn apply_extrinsic(extrinsic: ExtrinsicFor) -> ApplyExtrinsicResult {
+ impl pezsp_block_builder::BlockBuilder for Runtime {
+ fn apply_extrinsic(extrinsic: ::Extrinsic) -> ApplyExtrinsicResult {
RuntimeExecutive::apply_extrinsic(extrinsic)
}
- fn finalize_block() -> HeaderFor {
+ fn finalize_block() -> ::Header {
RuntimeExecutive::finalize_block()
}
- fn inherent_extrinsics(data: InherentData) -> Vec> {
+ fn inherent_extrinsics(data: InherentData) -> Vec<::Extrinsic> {
data.create_extrinsics()
}
fn check_inherents(
- block: ::LazyBlock,
+ block: ::LazyBlock,
data: InherentData,
) -> CheckInherentsResult {
data.check_extrinsics(&block)
}
}
- impl apis::TaggedTransactionQueue for Runtime {
+ impl pezsp_transaction_pool::runtime_api::TaggedTransactionQueue for Runtime {
fn validate_transaction(
source: TransactionSource,
- tx: ExtrinsicFor,
- block_hash: ::Hash,
+ tx: ::Extrinsic,
+ block_hash: ::Hash,
) -> TransactionValidity {
RuntimeExecutive::validate_transaction(source, tx, block_hash)
}
}
- impl apis::OffchainWorkerApi for Runtime {
- fn offchain_worker(header: &HeaderFor) {
+ impl pezsp_offchain::OffchainWorkerApi for Runtime {
+ fn offchain_worker(header: &::Header) {
RuntimeExecutive::offchain_worker(header)
}
}
- impl apis::SessionKeys for Runtime {
+ impl pezsp_session::SessionKeys for Runtime {
fn generate_session_keys(_seed: Option>) -> Vec {
Default::default()
}
fn decode_session_keys(
_encoded: Vec,
- ) -> Option, apis::KeyTypeId)>> {
+ ) -> Option, pezsp_core::crypto::KeyTypeId)>> {
Default::default()
}
}
- impl apis::AccountNonceApi for Runtime {
+ impl pezframe_system_rpc_runtime_api::AccountNonceApi for Runtime {
fn account_nonce(account: interface::AccountId) -> interface::Nonce {
System::account_nonce(account)
}
}
- impl apis::GenesisBuilder for Runtime {
+ impl pezsp_genesis_builder::GenesisBuilder for Runtime {
fn build_state(config: Vec) -> GenesisBuilderResult {
build_state::(config)
}
@@ -272,10 +277,10 @@ impl_runtime_apis! {
Block,
interface::Balance,
> for Runtime {
- fn query_info(uxt: ExtrinsicFor, len: u32) -> RuntimeDispatchInfo {
+ fn query_info(uxt: ::Extrinsic, len: u32) -> RuntimeDispatchInfo {
TransactionPayment::query_info(uxt, len)
}
- fn query_fee_details(uxt: ExtrinsicFor, len: u32) -> FeeDetails {
+ fn query_fee_details(uxt: ::Extrinsic, len: u32) -> FeeDetails {
TransactionPayment::query_fee_details(uxt, len)
}
fn query_weight_to_fee(weight: Weight) -> interface::Balance {
@@ -291,7 +296,7 @@ impl_runtime_apis! {
/// configs.
pub mod interface {
use super::Runtime;
- use frame::prelude::pezframe_system;
+ use pezframe::prelude::pezframe_system;
pub type AccountId = ::AccountId;
pub type Nonce = ::Nonce;
diff --git a/docs/sdk/src/guides/your_first_pallet/mod.rs b/docs/sdk/src/guides/your_first_pallet/mod.rs
index 869c3cb9..e853cf13 100644
--- a/docs/sdk/src/guides/your_first_pallet/mod.rs
+++ b/docs/sdk/src/guides/your_first_pallet/mod.rs
@@ -38,7 +38,7 @@
//! - [`pezpallet::event`]
//! - [`pezpallet::error`]
//! - Basics of testing a pezpallet
-//! - [Constructing a runtime](frame::runtime::prelude::construct_runtime)
+//! - [Constructing a runtime](pezframe::runtime::prelude::construct_runtime)
//!
//! ### Shell Pezpallet
//!
@@ -79,7 +79,7 @@
//! details:
//!
//! - Where do `T::AccountId` and `T::RuntimeOrigin` come from? These are both defined in
-//! [`frame::prelude::pezframe_system::Config`], therefore we can access them in `T`.
+//! [`pezframe::prelude::pezframe_system::Config`], therefore we can access them in `T`.
//! - What is `ensure_signed`, and what does it do with the aforementioned `T::RuntimeOrigin`? This
//! is outside the scope of this guide, and you can learn more about it in the origin reference
//! document ([`crate::reference_docs::frame_origin`]). For now, you should only know the
@@ -90,31 +90,31 @@
//!
//! - Where does `mutate`, `get` and `insert` and other storage APIs come from? All of them are
//! explained in the corresponding `type`, for example, for `Balances::::insert`, you can look
-//! into [`frame::prelude::StorageMap::insert`].
+//! into [`pezframe::prelude::StorageMap::insert`].
//!
-//! - The return type of all dispatchable functions is [`frame::prelude::DispatchResult`]:
+//! - The return type of all dispatchable functions is [`pezframe::prelude::DispatchResult`]:
#![doc = docify::embed!("../../bizinikiwi/pezframe/support/src/dispatch.rs", DispatchResult)]
//!
-//! Which is more or less a normal Rust `Result`, with a custom [`frame::prelude::DispatchError`] as
+//! Which is more or less a normal Rust `Result`, with a custom [`pezframe::prelude::DispatchError`] as
//! the `Err` variant. We won't cover this error in detail here, but importantly you should know
//! that there is an `impl From<&'static string> for DispatchError` provided (see
-//! [here](`frame::prelude::DispatchError#impl-From<%26str>-for-DispatchError`)). Therefore,
+//! [here](`pezframe::prelude::DispatchError#impl-From<%26str>-for-DispatchError`)). Therefore,
//! we can use basic string literals as our error type and `.into()` them into `DispatchError`.
//!
//! - Why are all `get` and `mutate` functions returning an `Option`? This is the default behavior
//! of FRAME storage APIs. You can learn more about how to override this by looking into
-//! [`pezpallet::storage`], and [`frame::prelude::ValueQuery`]/[`frame::prelude::OptionQuery`]
+//! [`pezpallet::storage`], and [`pezframe::prelude::ValueQuery`]/[`pezframe::prelude::OptionQuery`]
//!
//! ### Improving Errors
//!
//! How we handle error in the above snippets is fairly rudimentary. Let's look at how this can be
-//! improved. First, we can use [`frame::prelude::ensure`] to express the error slightly better.
+//! improved. First, we can use [`pezframe::prelude::ensure`] to express the error slightly better.
//! This macro will call `.into()` under the hood.
#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", transfer_better)]
//!
//! Moreover, you will learn in the [Defensive Programming
//! section](crate::reference_docs::defensive_programming) that it is always recommended to use
-//! safe arithmetic operations in your runtime. By using [`frame::traits::CheckedSub`], we can not
+//! safe arithmetic operations in your runtime. By using [`pezframe::traits::CheckedSub`], we can not
//! only take a step in that direction, but also improve the error handing and make it slightly more
//! ergonomic.
#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", transfer_better_checked)]
@@ -134,7 +134,7 @@
//! #[cfg(test)]
//! mod tests {
//! // bring in the testing prelude of frame
-//! use frame::testing_prelude::*;
+//! use pezframe::testing_prelude::*;
//! // bring in all pezpallet items
//! use super::pezpallet::*;
//!
@@ -144,12 +144,12 @@
//!
//! Next, we create a "test runtime" in order to test our pezpallet. Recall from
//! [`crate::pezkuwi_sdk::frame_runtime`] that a runtime is a collection of pallets, expressed
-//! through [`frame::runtime::prelude::construct_runtime`]. All runtimes also have to include
-//! [`frame::prelude::pezframe_system`]. So we expect to see a runtime with two pezpallet,
+//! through [`pezframe::runtime::prelude::construct_runtime`]. All runtimes also have to include
+//! [`pezframe::prelude::pezframe_system`]. So we expect to see a runtime with two pezpallet,
//! `pezframe_system` and the one we just wrote.
#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", runtime)]
//!
-//! > [`frame::pezpallet_macros::derive_impl`] is a FRAME feature that enables developers to have
+//! > [`pezframe::pezpallet_macros::derive_impl`] is a FRAME feature that enables developers to have
//! > defaults for associated types.
//!
//! Recall that within our pezpallet, (almost) all blocks of code are generic over ``.
@@ -183,7 +183,7 @@
//!
//! The above is all you need to execute the dispatchables of your pezpallet. The last thing you
//! need to learn is that all of your pezpallet testing code should be wrapped in
-//! [`frame::testing_prelude::TestState`]. This is a type that provides access to an in-memory state
+//! [`pezframe::testing_prelude::TestState`]. This is a type that provides access to an in-memory state
//! to be used in our tests.
#![doc = docify::embed!("./packages/guides/first-pezpallet/src/lib.rs", first_test)]
//!
@@ -305,7 +305,7 @@
//!
//! In this snippet, the actual `RuntimeEvent` type (right hand side of `type RuntimeEvent =
//! RuntimeEvent`) is generated by
-//! [`construct_runtime`](frame::runtime::prelude::construct_runtime). An interesting way to inspect
+//! [`construct_runtime`](pezframe::runtime::prelude::construct_runtime). An interesting way to inspect
//! this type is to see its definition in rust-docs:
//! [`crate::guides::your_first_pallet::pezpallet_v2::tests::runtime_v2::RuntimeEvent`].
//!
@@ -321,7 +321,7 @@
//! - The pezpallet we wrote in this guide was using `dev_mode`, learn more in
//! [`pezpallet::config`].
//! - Learn more about the individual pezpallet items/macros, such as event and errors and call, in
-//! [`frame::pezpallet_macros`].
+//! [`pezframe::pezpallet_macros`].
//!
//! [`pezpallet::storage`]: pezframe_support::pezpallet_macros::storage
//! [`pezpallet::call`]: pezframe_support::pezpallet_macros::call
@@ -332,9 +332,9 @@
//! [`pezpallet::generate_deposit`]: pezframe_support::pezpallet_macros::generate_deposit
#[docify::export]
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod shell_pallet {
- use frame::prelude::*;
+ use pezframe::prelude::*;
#[pezpallet::config]
pub trait Config: pezframe_system::Config {}
@@ -343,9 +343,9 @@ pub mod shell_pallet {
pub struct Pezpallet(_);
}
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet {
- use frame::prelude::*;
+ use pezframe::prelude::*;
#[docify::export]
pub type Balance = u128;
@@ -449,7 +449,7 @@ pub mod pezpallet {
use crate::guides::your_first_pallet::pezpallet::*;
#[docify::export(testing_prelude)]
- use frame::testing_prelude::*;
+ use pezframe::testing_prelude::*;
pub(crate) const ALICE: u64 = 1;
pub(crate) const BOB: u64 = 2;
@@ -672,10 +672,10 @@ pub mod pezpallet {
}
}
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet_v2 {
use super::pezpallet::Balance;
- use frame::prelude::*;
+ use pezframe::prelude::*;
#[docify::export(config_v2)]
#[pezpallet::config]
@@ -741,7 +741,7 @@ pub mod pezpallet_v2 {
#[cfg(any(test, doc))]
pub mod tests {
use super::{super::pezpallet::tests::StateBuilder, *};
- use frame::testing_prelude::*;
+ use pezframe::testing_prelude::*;
const ALICE: u64 = 1;
const BOB: u64 = 2;
diff --git a/docs/sdk/src/guides/your_first_runtime.rs b/docs/sdk/src/guides/your_first_runtime.rs
index 8b7a13e7..51bf7751 100644
--- a/docs/sdk/src/guides/your_first_runtime.rs
+++ b/docs/sdk/src/guides/your_first_runtime.rs
@@ -30,7 +30,7 @@
//! ## Your First Runtime
//!
//! The first new property of a real runtime that it must define its
-//! [`frame::runtime::prelude::RuntimeVersion`]:
+//! [`pezframe::runtime::prelude::RuntimeVersion`]:
#![doc = docify::embed!("./packages/guides/first-runtime/src/lib.rs", VERSION)]
//!
//! The version contains a number of very important fields, such as `spec_version` and `spec_name`
@@ -39,7 +39,7 @@
//! [`crate::reference_docs::frame_runtime_upgrades_and_migrations`].
//!
//! Then, a real runtime also contains the `impl` of all individual pallets' `trait Config` for
-//! `struct Runtime`, and a [`frame::runtime::prelude::construct_runtime`] macro that amalgamates
+//! `struct Runtime`, and a [`pezframe::runtime::prelude::construct_runtime`] macro that amalgamates
//! them all.
//!
//! In the case of our example:
@@ -49,9 +49,9 @@
//! their `Config` need to be implemented for `struct Runtime`:
#![doc = docify::embed!("./packages/guides/first-runtime/src/lib.rs", config_impls)]
//!
-//! Notice how we use [`frame::pezpallet_macros::derive_impl`] to provide "default" configuration
+//! Notice how we use [`pezframe::pezpallet_macros::derive_impl`] to provide "default" configuration
//! items for each pezpallet. Feel free to dive into the definition of each default prelude (eg.
-//! [`frame::prelude::pezframe_system::pezpallet::config_preludes`]) to learn more which types are
+//! [`pezframe::prelude::pezframe_system::pezpallet::config_preludes`]) to learn more which types are
//! exactly used.
//!
//! Recall that in test runtime in [`crate::guides::your_first_pallet`], we provided `type AccountId
@@ -66,12 +66,12 @@
//! steps of crafting a runtime are related to achieving exactly this.
//!
//! First, we define a number of types that eventually lead to the creation of an instance of
-//! [`frame::runtime::prelude::Executive`]. The executive is a handy FRAME utility that, through
+//! [`pezframe::runtime::prelude::Executive`]. The executive is a handy FRAME utility that, through
//! amalgamating all pallets and further types, implements some of the very very core pieces of the
//! runtime logic, such as how blocks are executed and other runtime-api implementations.
#![doc = docify::embed!("./packages/guides/first-runtime/src/lib.rs", runtime_types)]
//!
-//! Finally, we use [`frame::runtime::prelude::impl_runtime_apis`] to implement all of the runtime
+//! Finally, we use [`pezframe::runtime::prelude::impl_runtime_apis`] to implement all of the runtime
//! APIs that the runtime wishes to expose. As you will see in the code, most of these runtime API
//! implementations are merely forwarding calls to `RuntimeExecutive` which handles the actual
//! logic. Given that the implementation block is somewhat large, we won't repeat it here. You can
@@ -111,7 +111,7 @@
//! primary way to run a new chain.
//!
//! These APIs are defined in [`pezsp_genesis_builder`], and are re-exposed as a part of
-//! [`frame::runtime::apis`]. Therefore, the implementation blocks can be found inside of
+//! [`pezframe::runtime::apis`]. Therefore, the implementation blocks can be found inside of
//! `impl_runtime_apis!` similar to:
//!
//! ```ignore
@@ -143,7 +143,7 @@
//!
//! For `build_state` and `get_preset`, we use the helper functions provide by frame:
//!
-//! * [`frame::runtime::prelude::build_state`] and [`frame::runtime::prelude::get_preset`].
+//! * [`pezframe::runtime::prelude::build_state`] and [`pezframe::runtime::prelude::get_preset`].
//!
//! Indeed, our runtime needs to specify what its `DEV_RUNTIME_PRESET` genesis state should be like:
#![doc = docify::embed!("./packages/guides/first-runtime/src/lib.rs", development_config_genesis)]
diff --git a/docs/sdk/src/meta_contributing.rs b/docs/sdk/src/meta_contributing.rs
index 8fe7dded..203e224c 100644
--- a/docs/sdk/src/meta_contributing.rs
+++ b/docs/sdk/src/meta_contributing.rs
@@ -82,9 +82,9 @@
//!
//!
//! ```
-//! #[frame::pezpallet(dev_mode)]
+//! #[pezframe::pezpallet(dev_mode)]
//! pub mod pezpallet {
-//! # use frame::prelude::*;
+//! # use pezframe::prelude::*;
//! # #[pezpallet::config]
//! # pub trait Config: pezframe_system::Config {}
//! # #[pezpallet::pezpallet]
@@ -105,9 +105,9 @@
//! explained in [`crate::reference_docs::frame_runtime_types`]. Build on top of this!
//! * Then, what is `origin`? Just an account id? [`crate::reference_docs::frame_origin`].
//! * Then, what is `DispatchResult`? Why is this called *dispatch*? Probably something that can be
-//! explained in the documentation of [`frame::prelude::DispatchResult`].
+//! explained in the documentation of [`pezframe::prelude::DispatchResult`].
//! * Why is `"SomeStaticString"` a valid error? Because there is implementation for it that you can
-//! see [here](frame::prelude::DispatchError#impl-From<%26'static+str>-for-DispatchError).
+//! see [here](pezframe::prelude::DispatchError#impl-From<%26'static+str>-for-DispatchError).
//!
//!
//! All of these are examples of underlying information that a contributor should:
diff --git a/docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs b/docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs
index d18d0561..77eee9cf 100644
--- a/docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs
+++ b/docs/sdk/src/pezkuwi_sdk/bizinikiwi.rs
@@ -98,8 +98,8 @@
//! Bizinikiwi-based project typically contains the following:
//!
//! * Under `./runtime`, a `./runtime/src/lib.rs` which is the top level runtime amalgamator file.
-//! This file typically contains the [`frame::runtime::prelude::construct_runtime`] and
-//! [`frame::runtime::prelude::impl_runtime_apis`] macro calls, which is the final definition of a
+//! This file typically contains the [`pezframe::runtime::prelude::construct_runtime`] and
+//! [`pezframe::runtime::prelude::impl_runtime_apis`] macro calls, which is the final definition of a
//! runtime.
//!
//! * Under `./node`, a `main.rs`, which is the starting point, and a `./service.rs`, which contains
diff --git a/docs/sdk/src/pezkuwi_sdk/frame_runtime.rs b/docs/sdk/src/pezkuwi_sdk/frame_runtime.rs
index fb192116..a63b2a7e 100644
--- a/docs/sdk/src/pezkuwi_sdk/frame_runtime.rs
+++ b/docs/sdk/src/pezkuwi_sdk/frame_runtime.rs
@@ -34,23 +34,23 @@
//! about its own responsibilities and make as few assumptions about the general runtime as
//! possible. A pezpallet is analogous to a _module_ in the runtime.
//!
-//! A pezpallet is defined as a `mod pezpallet` wrapped by the [`frame::pezpallet`] macro. Within
+//! A pezpallet is defined as a `mod pezpallet` wrapped by the [`pezframe::pezpallet`] macro. Within
//! this macro, pezpallet components/parts can be defined. Most notable of these parts are:
//!
-//! - [Config](frame::pezpallet_macros::config), allowing a pezpallet to make itself configurable
+//! - [Config](pezframe::pezpallet_macros::config), allowing a pezpallet to make itself configurable
//! and generic over types, values and such.
-//! - [Storage](frame::pezpallet_macros::storage), allowing a pezpallet to define onchain storage.
-//! - [Dispatchable function](frame::pezpallet_macros::call), allowing a pezpallet to define
+//! - [Storage](pezframe::pezpallet_macros::storage), allowing a pezpallet to define onchain storage.
+//! - [Dispatchable function](pezframe::pezpallet_macros::call), allowing a pezpallet to define
//! extrinsics that are callable by end users, from the outer world.
-//! - [Events](frame::pezpallet_macros::event), allowing a pezpallet to emit events.
-//! - [Errors](frame::pezpallet_macros::error), allowing a pezpallet to emit well-formed errors.
+//! - [Events](pezframe::pezpallet_macros::event), allowing a pezpallet to emit events.
+//! - [Errors](pezframe::pezpallet_macros::error), allowing a pezpallet to emit well-formed errors.
//!
//! Some of these pezpallet components resemble the building blocks of a smart contract. While both
//! models are programming state transition functions of blockchains, there are crucial differences
//! between the two. See [`crate::reference_docs::runtime_vs_smart_contract`] for more.
//!
//! Most of these components are defined using macros, the full list of which can be found in
-//! [`frame::pezpallet_macros`].
+//! [`pezframe::pezpallet_macros`].
//!
//! ### Example
//!
@@ -61,16 +61,16 @@
//!
//! A runtime is a collection of pallets that are amalgamated together. Each pezpallet typically has
//! some configurations (exposed as a `trait Config`) that needs to be *specified* in the runtime.
-//! This is done with [`frame::runtime::prelude::construct_runtime`].
+//! This is done with [`pezframe::runtime::prelude::construct_runtime`].
//!
//! A (real) runtime that actually wishes to compile to WASM needs to also implement a set of
//! runtime-apis. These implementation can be specified using the
-//! [`frame::runtime::prelude::impl_runtime_apis`] macro.
+//! [`pezframe::runtime::prelude::impl_runtime_apis`] macro.
//!
//! ### Example
//!
//! The following example shows a (test) runtime that is composing the pezpallet demonstrated above,
-//! next to the [`frame::prelude::pezframe_system`] pezpallet, into a runtime.
+//! next to the [`pezframe::prelude::pezframe_system`] pezpallet, into a runtime.
#![doc = docify::embed!("src/pezkuwi_sdk/frame_runtime.rs", runtime)]
//!
//! ## More Examples
@@ -94,9 +94,9 @@
/// experimental feature to break these parts into different `mod`s. See [`pezpallet_examples`] for
/// more.
#[docify::export]
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet {
- use frame::prelude::*;
+ use pezframe::prelude::*;
/// The configuration trait of a pezpallet. Mandatory. Allows a pezpallet to receive types at a
/// later point from the runtime that wishes to contain it. It allows the pezpallet to be
@@ -118,7 +118,7 @@ pub mod pezpallet {
}
/// A mandatory struct in each pezpallet. All functions callable by external users (aka.
- /// transactions) must be attached to this type (see [`frame::pezpallet_macros::call`]). For
+ /// transactions) must be attached to this type (see [`pezframe::pezpallet_macros::call`]). For
/// convenience, internal (private) functions can also be attached to this type.
#[pezpallet::pezpallet]
pub struct Pezpallet(PhantomData);
@@ -153,7 +153,7 @@ pub mod pezpallet {
#[docify::export]
pub mod runtime {
use super::pezpallet as pezpallet_example;
- use frame::{prelude::*, testing_prelude::*};
+ use pezframe::{prelude::*, testing_prelude::*};
// The major macro that amalgamates pallets into `enum Runtime`
construct_runtime!(
diff --git a/docs/sdk/src/pezkuwi_sdk/pezcumulus.rs b/docs/sdk/src/pezkuwi_sdk/pezcumulus.rs
index ab993acf..87f290c9 100644
--- a/docs/sdk/src/pezkuwi_sdk/pezcumulus.rs
+++ b/docs/sdk/src/pezkuwi_sdk/pezcumulus.rs
@@ -17,7 +17,7 @@
//! A teyrchain runtime should use a number of pallets that are provided by Pezcumulus and
//! Bizinikiwi. Notably:
//!
-//! - [`pezframe-system`](frame::prelude::pezframe_system), like all FRAME-based runtimes.
+//! - [`pezframe-system`](pezframe::prelude::pezframe_system), like all FRAME-based runtimes.
//! - [`pezcumulus_pezpallet_teyrchain_system`]
//! - [`teyrchain_info`]
#![doc = docify::embed!("./src/pezkuwi_sdk/pezcumulus.rs", system_pallets)]
@@ -32,7 +32,7 @@
//!
//!
//! Finally, a separate macro, similar to
-//! [`impl_runtime_api`](frame::runtime::prelude::impl_runtime_apis), which creates the default set
+//! [`impl_runtime_api`](pezframe::runtime::prelude::impl_runtime_apis), which creates the default set
//! of runtime APIs, will generate the teyrchain runtime's validation runtime API, also known as
//! teyrchain validation function (PVF). Without this API, the relay chain is unable to validate
//! blocks produced by our teyrchain.
@@ -48,7 +48,7 @@
#[cfg(test)]
mod tests {
mod runtime {
- pub use frame::{
+ pub use pezframe::{
deps::pezsp_consensus_aura::sr25519::AuthorityId as AuraId, prelude::*,
runtime::prelude::*, testing_prelude::*,
};
@@ -95,7 +95,7 @@ mod tests {
1,
>;
type WeightInfo = ();
- type DmpQueue = frame::traits::EnqueueWithOrigin<(), pezsp_core::ConstU8<0>>;
+ type DmpQueue = pezframe::traits::EnqueueWithOrigin<(), pezsp_core::ConstU8<0>>;
type RelayParentOffset = ConstU32<0>;
}
diff --git a/docs/sdk/src/reference_docs/chain_spec_genesis.rs b/docs/sdk/src/reference_docs/chain_spec_genesis.rs
index 7099c817..eda84ad9 100644
--- a/docs/sdk/src/reference_docs/chain_spec_genesis.rs
+++ b/docs/sdk/src/reference_docs/chain_spec_genesis.rs
@@ -188,7 +188,7 @@
//! pez_chain_spec_guide_runtime::runtime::RuntimeGenesisConfig
//! [`FooStruct`]:
//! pez_chain_spec_guide_runtime::pallets::FooStruct
-//! [`impl_runtime_apis`]: frame::runtime::prelude::impl_runtime_apis
+//! [`impl_runtime_apis`]: pezframe::runtime::prelude::impl_runtime_apis
//! [`build_state`]: pezframe_support::genesis_builder_helper::build_state
//! [`get_preset`]: pezframe_support::genesis_builder_helper::get_preset
//! [`pezpallet::genesis_build`]: pezframe_support::pezpallet_macros::genesis_build
diff --git a/docs/sdk/src/reference_docs/chain_spec_runtime/Cargo.toml b/docs/sdk/src/reference_docs/chain_spec_runtime/Cargo.toml
index f933a695..012cf9ba 100644
--- a/docs/sdk/src/reference_docs/chain_spec_runtime/Cargo.toml
+++ b/docs/sdk/src/reference_docs/chain_spec_runtime/Cargo.toml
@@ -14,14 +14,16 @@ documentation.workspace = true
codec = { workspace = true }
docify = { workspace = true }
pezframe-support = { workspace = true }
+pezframe-system = { workspace = true }
scale-info = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
# this is a frame-based runtime, thus importing `frame` with runtime feature enabled.
-frame = { features = ["experimental", "runtime"], workspace = true }
+pezframe = { features = ["experimental", "runtime"], workspace = true }
# genesis builder that allows us to interact with runtime genesis config
+pezsp-api = { workspace = true }
pezsp-application-crypto = { features = ["serde"], workspace = true }
pezsp-core = { workspace = true }
pezsp-genesis-builder = { workspace = true }
@@ -41,9 +43,11 @@ std = [
"codec/std",
"scale-info/std",
- "frame/std",
+ "pezframe/std",
"pezframe-support/std",
+ "pezframe-system/std",
+ "pezsp-api/std",
"pezsp-application-crypto/std",
"pezsp-core/std",
"pezsp-genesis-builder/std",
@@ -56,7 +60,7 @@ std = [
]
runtime-benchmarks = [
"bizinikiwi-wasm-builder?/runtime-benchmarks",
- "frame/runtime-benchmarks",
+ "pezframe/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsc-chain-spec/runtime-benchmarks",
"pezsp-genesis-builder/runtime-benchmarks",
diff --git a/docs/sdk/src/reference_docs/chain_spec_runtime/src/pallets.rs b/docs/sdk/src/reference_docs/chain_spec_runtime/src/pallets.rs
index e79fcd9e..ce15d557 100644
--- a/docs/sdk/src/reference_docs/chain_spec_runtime/src/pallets.rs
+++ b/docs/sdk/src/reference_docs/chain_spec_runtime/src/pallets.rs
@@ -18,10 +18,10 @@
//! Pallets for the chain-spec demo runtime.
use alloc::vec::Vec;
-use frame::prelude::*;
+use pezframe::prelude::*;
#[docify::export]
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet_bar {
use super::*;
@@ -94,7 +94,7 @@ pub enum FooEnum {
}
#[docify::export]
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet_foo {
use super::*;
diff --git a/docs/sdk/src/reference_docs/chain_spec_runtime/src/runtime.rs b/docs/sdk/src/reference_docs/chain_spec_runtime/src/runtime.rs
index 3de1dc41..49bb1168 100644
--- a/docs/sdk/src/reference_docs/chain_spec_runtime/src/runtime.rs
+++ b/docs/sdk/src/reference_docs/chain_spec_runtime/src/runtime.rs
@@ -26,15 +26,14 @@ use crate::{
presets::*,
};
use alloc::{vec, vec::Vec};
-use frame::{
- deps::pezframe_support::{
- genesis_builder_helper::{build_state, get_preset},
- runtime,
- },
+use pezframe::{
+ deps::pezframe_support::genesis_builder_helper::{build_state, get_preset},
prelude::*,
- runtime::{apis, prelude::*},
+ runtime::prelude::*,
};
+use pezsp_api::impl_runtime_apis;
use pezsp_genesis_builder::PresetId;
+use pezsp_runtime::traits::Block as BlockT;
/// The runtime version.
#[runtime_version]
@@ -53,7 +52,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
type SignedExtra = ();
// Composes the runtime by adding all the used pallets and deriving necessary types.
-#[runtime]
+#[frame_construct_runtime]
mod runtime {
/// The main runtime type.
#[runtime::runtime]
@@ -69,15 +68,15 @@ mod runtime {
/// Mandatory system pezpallet that should always be included in a FRAME runtime.
#[runtime::pezpallet_index(0)]
- pub type System = pezframe_system;
+ pub type System = pezframe_system::Pezpallet;
/// Sample pezpallet 1
#[runtime::pezpallet_index(1)]
- pub type Bar = pezpallet_bar;
+ pub type Bar = pezpallet_bar::Pezpallet;
/// Sample pezpallet 2
#[runtime::pezpallet_index(2)]
- pub type Foo = pezpallet_foo;
+ pub type Foo = pezpallet_foo::Pezpallet;
}
parameter_types! {
@@ -94,8 +93,8 @@ impl pezframe_system::Config for Runtime {
impl pezpallet_bar::Config for Runtime {}
impl pezpallet_foo::Config for Runtime {}
-type Block = frame::runtime::types_common::BlockOf;
-type Header = HeaderFor;
+type Block = pezframe::runtime::types_common::BlockOf;
+type _Header = HeaderFor;
#[docify::export(runtime_impl)]
impl_runtime_apis! {
@@ -119,9 +118,9 @@ impl_runtime_apis! {
}
}
- impl apis::Core for Runtime {
+ impl pezsp_api::Core for Runtime {
fn version() -> RuntimeVersion { VERSION }
- fn execute_block(_: ::LazyBlock) { }
- fn initialize_block(_: &Header) -> ExtrinsicInclusionMode { ExtrinsicInclusionMode::default() }
+ fn execute_block(_: ::LazyBlock) { }
+ fn initialize_block(_: &::Header) -> ExtrinsicInclusionMode { ExtrinsicInclusionMode::default() }
}
}
diff --git a/docs/sdk/src/reference_docs/defensive_programming.rs b/docs/sdk/src/reference_docs/defensive_programming.rs
index 734611ab..ea9b05ec 100644
--- a/docs/sdk/src/reference_docs/defensive_programming.rs
+++ b/docs/sdk/src/reference_docs/defensive_programming.rs
@@ -70,18 +70,18 @@
//!
//! ### Defensive Traits
//!
-//! The [`Defensive`](frame::traits::Defensive) trait provides a number of functions, all of which
+//! The [`Defensive`](pezframe::traits::Defensive) trait provides a number of functions, all of which
//! provide an alternative to 'vanilla' Rust functions, e.g.:
//!
-//! - [`defensive_unwrap_or()`](frame::traits::Defensive::defensive_unwrap_or) instead of
+//! - [`defensive_unwrap_or()`](pezframe::traits::Defensive::defensive_unwrap_or) instead of
//! `unwrap_or()`
-//! - [`defensive_ok_or()`](frame::traits::DefensiveOption::defensive_ok_or) instead of `ok_or()`
+//! - [`defensive_ok_or()`](pezframe::traits::DefensiveOption::defensive_ok_or) instead of `ok_or()`
//!
//! Defensive methods use [`debug_assertions`](https://doc.rust-lang.org/reference/conditional-compilation.html#debug_assertions), which panic in development, but in
//! production/release, they will merely log an error (i.e., `log::error`).
//!
-//! The [`Defensive`](frame::traits::Defensive) trait and its various implementations can be found
-//! [here](frame::traits::Defensive).
+//! The [`Defensive`](pezframe::traits::Defensive) trait and its various implementations can be found
+//! [here](pezframe::traits::Defensive).
//!
//! ## Integer Overflow
//!
@@ -188,8 +188,8 @@
//! to avoid introducing the notion of any potential-panic or wrapping behavior.
//!
//! There is also a series of defensive alternatives via
-//! [`DefensiveSaturating`](frame::traits::DefensiveSaturating), which introduces the same behavior
-//! of the [`Defensive`](frame::traits::Defensive) trait, only with saturating, mathematical
+//! [`DefensiveSaturating`](pezframe::traits::DefensiveSaturating), which introduces the same behavior
+//! of the [`Defensive`](pezframe::traits::Defensive) trait, only with saturating, mathematical
//! operations:
#![doc = docify::embed!(
"./src/reference_docs/defensive_programming.rs",
@@ -278,7 +278,7 @@
//! actually cause harm to the network, and thus stalling would be the better option.
//!
//! Take the example of the BABE pezpallet ([`pezpallet_babe`]), which doesn't allow for a validator
-//! to participate if it is disabled (see: [`frame::traits::DisabledValidators`]):
+//! to participate if it is disabled (see: [`pezframe::traits::DisabledValidators`]):
//!
//! ```ignore
//! if T::DisabledValidators::is_disabled(authority_index) {
@@ -359,7 +359,7 @@ mod fake_runtime_types {
#[cfg(test)]
mod tests {
- use frame::traits::DefensiveSaturating;
+ use pezframe::traits::DefensiveSaturating;
#[docify::export]
#[test]
fn checked_add_example() {
diff --git a/docs/sdk/src/reference_docs/extrinsic_encoding.rs b/docs/sdk/src/reference_docs/extrinsic_encoding.rs
index 000ad4ea..b48fb3fd 100644
--- a/docs/sdk/src/reference_docs/extrinsic_encoding.rs
+++ b/docs/sdk/src/reference_docs/extrinsic_encoding.rs
@@ -37,7 +37,7 @@
//!
//! ## compact_encoded_length
//!
-//! This is a [SCALE compact encoded][frame::deps::codec::Compact] integer which is equal to the
+//! This is a [SCALE compact encoded][pezframe::deps::codec::Compact] integer which is equal to the
//! length, in bytes, of the rest of the extrinsic details.
//!
//! To obtain this value, we must encode and concatenate together the rest of the extrinsic details
@@ -90,7 +90,7 @@
//!
//! #### from_address
//!
-//! This is the [SCALE encoded][frame::deps::codec] address of the sender of the extrinsic. The
+//! This is the [SCALE encoded][pezframe::deps::codec] address of the sender of the extrinsic. The
//! address is the first generic parameter of [`pezsp_runtime::generic::UncheckedExtrinsic`], and so
//! can vary from chain to chain.
//!
@@ -102,7 +102,7 @@
//!
//! #### signature
//!
-//! This is the [SCALE encoded][frame::deps::codec] signature. The signature type is configured via
+//! This is the [SCALE encoded][pezframe::deps::codec] signature. The signature type is configured via
//! the third generic parameter of [`pezsp_runtime::generic::UncheckedExtrinsic`], which determines
//! the shape of the signature and signing algorithm that should be used.
//!
@@ -121,7 +121,7 @@
//!
//! ### transaction_extensions_extra
//!
-//! This is the concatenation of the [SCALE encoded][frame::deps::codec] bytes representing first a
+//! This is the concatenation of the [SCALE encoded][pezframe::deps::codec] bytes representing first a
//! single byte describing the extension version (this is bumped whenever a change occurs in the
//! transaction extension pipeline) followed by the bytes of each of the [_transaction
//! extensions_][pezsp_runtime::traits::TransactionExtension], and are configured by the fourth
@@ -142,11 +142,11 @@
//! configuration. At the time of writing, Pezkuwi configures them
//! [here](https://github.com/polkadot-fellows/runtimes/blob/1dc04eb954eadf8aadb5d83990b89662dbb5a074/relay/polkadot/src/lib.rs#L1432C25-L1432C25).
//! Some of the common transaction extensions are defined
-//! [here][frame::deps::pezframe_system#transaction-extensions].
+//! [here][pezframe::deps::pezframe_system#transaction-extensions].
//!
//! Information about exactly which transaction extensions are present on a chain and in what order
//! is also a part of the metadata for the chain. For V15 metadata, it can be [found
-//! here][frame::deps::pezframe_support::__private::metadata::v15::ExtrinsicMetadata].
+//! here][pezframe::deps::pezframe_support::__private::metadata::v15::ExtrinsicMetadata].
//!
//! ## call_data
//!
@@ -154,7 +154,7 @@
//! altered. This is defined by the second generic parameter of
//! [`pezsp_runtime::generic::UncheckedExtrinsic`].
//!
-//! A call can be anything that implements [`Encode`][frame::deps::codec::Encode]. In FRAME-based
+//! A call can be anything that implements [`Encode`][pezframe::deps::codec::Encode]. In FRAME-based
//! runtimes, a call is represented as an enum of enums, where the outer enum represents the FRAME
//! pezpallet being called, and the inner enum represents the call being made within that pezpallet,
//! and any arguments to it. Read more about the call enum
@@ -183,7 +183,7 @@
//! Information about the pallets that exist for a chain (including their indexes), the calls
//! available in each pezpallet (including their indexes), and the arguments required for each call
//! can be found in the metadata for the chain. For V15 metadata, this information [is
-//! here][frame::deps::pezframe_support::__private::metadata::v15::PalletMetadata].
+//! here][pezframe::deps::pezframe_support::__private::metadata::v15::PalletMetadata].
//!
//! # The Signed Payload Format
//!
diff --git a/docs/sdk/src/reference_docs/frame_logging.rs b/docs/sdk/src/reference_docs/frame_logging.rs
index c89dfaf3..482fc1dc 100644
--- a/docs/sdk/src/reference_docs/frame_logging.rs
+++ b/docs/sdk/src/reference_docs/frame_logging.rs
@@ -57,7 +57,7 @@
//! ]
//! ```
//!
-//! More conveniently, the `frame` umbrella crate re-exports the log crate as [`frame::log`].
+//! More conveniently, the `frame` umbrella crate re-exports the log crate as [`pezframe::log`].
//!
//! Then, the pezpallet can use this crate to emit log statements. In this statement, we use the
//! info level, and the target is `pezpallet-example`.
@@ -68,7 +68,7 @@
//!
//! impl Pezpallet {
//! fn logs() {
-//! frame::log::info!(target: "pezpallet-example", "Hello, world!");
+//! pezframe::log::info!(target: "pezpallet-example", "Hello, world!");
//! }
//! }
//! }
diff --git a/docs/sdk/src/reference_docs/frame_offchain_workers.rs b/docs/sdk/src/reference_docs/frame_offchain_workers.rs
index e4fe9f60..46a908a5 100644
--- a/docs/sdk/src/reference_docs/frame_offchain_workers.rs
+++ b/docs/sdk/src/reference_docs/frame_offchain_workers.rs
@@ -54,13 +54,13 @@
//! ## FRAME's API
//!
//! [`frame`] provides a simple API through which pallets can define offchain worker functions. This
-//! is part of [`frame::traits::Hooks`], which is implemented as a part of
-//! [`frame::pezpallet_macros::hooks`].
+//! is part of [`pezframe::traits::Hooks`], which is implemented as a part of
+//! [`pezframe::pezpallet_macros::hooks`].
//!
//! ```
-//! #[frame::pezpallet]
+//! #[pezframe::pezpallet]
//! pub mod pezpallet {
-//! use frame::prelude::*;
+//! use pezframe::prelude::*;
//!
//! #[pezpallet::config]
//! pub trait Config: pezframe_system::Config {}
@@ -95,7 +95,7 @@
//! API into the WASM blob are:
//!
//! * Accessing the state is easier within the `offchain_worker` function, as it is already a part
-//! of the runtime, and [`frame::pezpallet_macros::storage`] provides all the tools needed to read
+//! of the runtime, and [`pezframe::pezpallet_macros::storage`] provides all the tools needed to read
//! the state. Other client libraries might provide varying degrees of capability here.
//! * It will be updated in synchrony with the runtime. A Bizinikiwi's offchain application is part
//! of the same WASM blob, and is therefore guaranteed to be up to date.
diff --git a/docs/sdk/src/reference_docs/frame_origin.rs b/docs/sdk/src/reference_docs/frame_origin.rs
index 72f20684..7cb91189 100644
--- a/docs/sdk/src/reference_docs/frame_origin.rs
+++ b/docs/sdk/src/reference_docs/frame_origin.rs
@@ -93,13 +93,13 @@
//! Then, within the pezpallet, we can simply use this "unknown" origin check type:
#![doc = docify::embed!("./src/reference_docs/frame_origin.rs", external_origin_usage)]
//!
-//! Finally, at the runtime, any implementation of [`frame::traits::EnsureOrigin`] can be passed.
+//! Finally, at the runtime, any implementation of [`pezframe::traits::EnsureOrigin`] can be passed.
#![doc = docify::embed!("./src/reference_docs/frame_origin.rs", external_origin_provide)]
//!
-//! Indeed, some of these implementations of [`frame::traits::EnsureOrigin`] are similar to the ones
-//! that we know about: [`frame::runtime::prelude::EnsureSigned`],
-//! [`frame::runtime::prelude::EnsureSignedBy`], [`frame::runtime::prelude::EnsureRoot`],
-//! [`frame::runtime::prelude::EnsureNone`], etc. But, there are also many more that are not known
+//! Indeed, some of these implementations of [`pezframe::traits::EnsureOrigin`] are similar to the ones
+//! that we know about: [`pezframe::runtime::prelude::EnsureSigned`],
+//! [`pezframe::runtime::prelude::EnsureSignedBy`], [`pezframe::runtime::prelude::EnsureRoot`],
+//! [`pezframe::runtime::prelude::EnsureNone`], etc. But, there are also many more that are not known
//! to us, and are defined in other pallets.
//!
//! For example, [`pezpallet_collective`] defines [`pezpallet_collective::EnsureMember`] and
@@ -107,7 +107,7 @@
//! alluded to earlier in this document.
//!
//! Make sure to check the full list of [implementors of
-//! `EnsureOrigin`](frame::traits::EnsureOrigin#implementors) for more inspiration.
+//! `EnsureOrigin`](pezframe::traits::EnsureOrigin#implementors) for more inspiration.
//!
//! ## Obtaining Abstract Origins
//!
@@ -129,9 +129,9 @@
//! [^1]: Inherents are essentially unsigned extrinsics that need an [`pezframe_system::ensure_none`]
//! origin check, and through the virtue of being an inherent, are agreed upon by all validators.
-use frame::prelude::*;
+use pezframe::prelude::*;
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet_for_origin {
use super::*;
@@ -151,7 +151,7 @@ pub mod pezpallet_for_origin {
}
}
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet_with_custom_origin {
use super::*;
@@ -206,7 +206,7 @@ pub mod pezpallet_with_custom_origin {
pub mod runtime_for_origin {
use super::pezpallet_with_custom_origin;
- use frame::{runtime::prelude::*, testing_prelude::*};
+ use pezframe::{runtime::prelude::*, testing_prelude::*};
#[docify::export(runtime_exp)]
construct_runtime!(
@@ -226,7 +226,7 @@ pub mod runtime_for_origin {
}
}
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet_with_external_origin {
use super::*;
#[docify::export(external_origin_def)]
@@ -250,7 +250,7 @@ pub mod pezpallet_with_external_origin {
pub mod runtime_for_external_origin {
use super::*;
- use frame::{runtime::prelude::*, testing_prelude::*};
+ use pezframe::{runtime::prelude::*, testing_prelude::*};
construct_runtime!(
pub struct Runtime {
diff --git a/docs/sdk/src/reference_docs/frame_pallet_coupling.rs b/docs/sdk/src/reference_docs/frame_pallet_coupling.rs
index ea3d1eb9..87cc9974 100644
--- a/docs/sdk/src/reference_docs/frame_pallet_coupling.rs
+++ b/docs/sdk/src/reference_docs/frame_pallet_coupling.rs
@@ -3,7 +3,7 @@
//! This reference document explains how FRAME pallets can be combined to interact together.
//!
//! It is suggested to re-read [`crate::pezkuwi_sdk::frame_runtime`], notably the information
-//! around [`frame::pezpallet_macros::config`]. Recall that:
+//! around [`pezframe::pezpallet_macros::config`]. Recall that:
//!
//! > Configuration trait of a pezpallet: It allows a pezpallet to receive types at a later
//! > point from the runtime that wishes to contain it. It allows the pezpallet to be parameterized
@@ -124,8 +124,8 @@
//! With the above information in context, we can conclude that **`pezframe_system` is a special
//! pezpallet that is tightly coupled with every other pezpallet**. This is because it provides the
//! fundamental system functionality that every pezpallet needs, such as some types like
-//! [`frame::prelude::pezframe_system::Config::AccountId`],
-//! [`frame::prelude::pezframe_system::Config::Hash`], and some functionality such as block number,
+//! [`pezframe::prelude::pezframe_system::Config::AccountId`],
+//! [`pezframe::prelude::pezframe_system::Config::Hash`], and some functionality such as block number,
//! etc.
//!
//! ## Recap
@@ -157,10 +157,10 @@
#![allow(unused)]
-use frame::prelude::*;
+use pezframe::prelude::*;
#[docify::export]
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet_foo {
use super::*;
@@ -178,7 +178,7 @@ pub mod pezpallet_foo {
}
#[docify::export]
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet_author {
use super::*;
@@ -195,7 +195,7 @@ pub mod pezpallet_author {
}
}
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet_foo_tight {
use super::*;
@@ -224,7 +224,7 @@ pub trait AuthorProvider {
fn author() -> AccountId;
}
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet_foo_loose {
use super::*;
@@ -272,7 +272,7 @@ impl AuthorProvider for () {
pub mod runtime {
use super::*;
- use frame::{runtime::prelude::*, testing_prelude::*};
+ use pezframe::{runtime::prelude::*, testing_prelude::*};
use pezcumulus_pezpallet_aura_ext::pezpallet;
construct_runtime!(
diff --git a/docs/sdk/src/reference_docs/frame_pezpallet_coupling.rs b/docs/sdk/src/reference_docs/frame_pezpallet_coupling.rs
index 274eadf1..4276aa9a 100644
--- a/docs/sdk/src/reference_docs/frame_pezpallet_coupling.rs
+++ b/docs/sdk/src/reference_docs/frame_pezpallet_coupling.rs
@@ -3,7 +3,7 @@
//! This reference document explains how FRAME pezpallets can be combined to interact together.
//!
//! It is suggested to re-read [`crate::pezkuwi_sdk::frame_runtime`], notably the information
-//! around [`frame::pezpallet_macros::config`]. Recall that:
+//! around [`pezframe::pezpallet_macros::config`]. Recall that:
//!
//! > Configuration trait of a pezpallet: It allows a pezpallet to receive types at a later
//! > point from the runtime that wishes to contain it. It allows the pezpallet to be parameterized
@@ -123,8 +123,8 @@
//! With the above information in context, we can conclude that **`pezframe_system` is a special pezpallet
//! that is tightly coupled with every other pezpallet**. This is because it provides the fundamental
//! system functionality that every pezpallet needs, such as some types like
-//! [`frame::prelude::pezframe_system::Config::AccountId`],
-//! [`frame::prelude::pezframe_system::Config::Hash`], and some functionality such as block number,
+//! [`pezframe::prelude::pezframe_system::Config::AccountId`],
+//! [`pezframe::prelude::pezframe_system::Config::Hash`], and some functionality such as block number,
//! etc.
//!
//! ## Recap
@@ -155,10 +155,10 @@
#![allow(unused)]
-use frame::prelude::*;
+use pezframe::prelude::*;
#[docify::export]
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet_foo {
use super::*;
@@ -176,7 +176,7 @@ pub mod pezpallet_foo {
}
#[docify::export]
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet_author {
use super::*;
@@ -193,7 +193,7 @@ pub mod pezpallet_author {
}
}
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet_foo_tight {
use super::*;
@@ -221,7 +221,7 @@ pub trait AuthorProvider {
fn author() -> AccountId;
}
-#[frame::pezpallet]
+#[pezframe::pezpallet]
pub mod pezpallet_foo_loose {
use super::*;
@@ -270,7 +270,7 @@ impl AuthorProvider for () {
pub mod runtime {
use super::*;
use pezcumulus_pezpallet_aura_ext::pezpallet;
- use frame::{runtime::prelude::*, testing_prelude::*};
+ use pezframe::{runtime::prelude::*, testing_prelude::*};
construct_runtime!(
pub struct Runtime {
diff --git a/docs/sdk/src/reference_docs/frame_runtime_types.rs b/docs/sdk/src/reference_docs/frame_runtime_types.rs
index f9af37bc..aadd0c90 100644
--- a/docs/sdk/src/reference_docs/frame_runtime_types.rs
+++ b/docs/sdk/src/reference_docs/frame_runtime_types.rs
@@ -43,7 +43,7 @@
//! pointer to the `Call` type in each pezpallet, for example [`pezpallet_foo::Call`].
//!
//! [`RuntimeOrigin`]'s [`OriginCaller`] has two variants, one for system, and one for
-//! `pezpallet_foo` which utilized [`frame::pezpallet_macros::origin`].
+//! `pezpallet_foo` which utilized [`pezframe::pezpallet_macros::origin`].
//!
//! Finally, [`RuntimeGenesisConfig`] is composed of `pezframe_system` and a variant for
//! `pezpallet_bar`'s [`pezpallet_bar::GenesisConfig`].
@@ -80,7 +80,7 @@
//! The only way to express this using Rust's associated types is for the pezpallet to **define its
//! own associated type `RuntimeCall`, and further specify what it thinks `RuntimeCall` should be**.
//!
-//! In this case, we will want to assert the existence of [`frame::traits::IsSubType`], which is
+//! In this case, we will want to assert the existence of [`pezframe::traits::IsSubType`], which is
//! very similar to [`TryFrom`].
#![doc = docify::embed!("./src/reference_docs/frame_runtime_types.rs", custom_runtime_call)]
//!
@@ -100,7 +100,7 @@
//! type that is only known when the runtime is being constructed.
//!
//! Now, within this pezpallet, this new `RuntimeCall` can be used, and it can use its new trait
-//! bounds, such as being [`frame::traits::IsSubType`]:
+//! bounds, such as being [`pezframe::traits::IsSubType`]:
#![doc = docify::embed!("./src/reference_docs/frame_runtime_types.rs", custom_runtime_call_usages)]
//!
//! > Once Rust's "_Associated Type Bounds RFC_" is usable, this syntax can be used to
@@ -116,9 +116,9 @@
//! the runtime is constructed? The following snippet exactly does that:
#![doc = docify::embed!("./src/reference_docs/frame_runtime_types.rs", assert_equality)]
//!
-//! We leave it to the reader to further explore what [`frame::traits::Hooks::integrity_test`] is,
+//! We leave it to the reader to further explore what [`pezframe::traits::Hooks::integrity_test`] is,
//! and what [`core::any::TypeId`] is. Another way to assert this is using
-//! [`frame::traits::IsType`].
+//! [`pezframe::traits::IsType`].
//!
//! ## Type Aliases
//!
@@ -128,7 +128,7 @@
//! `System`
//! * [`runtime::AllPalletsWithSystem`] is an alias for a tuple of all of the above. This type is
//! important to FRAME internals such as `executive`, as it implements traits such as
-//! [`frame::traits::Hooks`].
+//! [`pezframe::traits::Hooks`].
//!
//! ## Further Details
//!
@@ -140,7 +140,7 @@
//! * See the corresponding lecture in the [PBA Lectures](https://www.youtube.com/watch?v=OCBC1pMYPoc&list=PL-w_i5kwVqbni1Ch2j_RwTIXiB-bwnYqq&index=11).
//!
//!
-//! [`construct_runtime`]: frame::runtime::prelude::construct_runtime
+//! [`construct_runtime`]: pezframe::runtime::prelude::construct_runtime
//! [`runtime::PalletFoo`]: crate::reference_docs::frame_runtime_types::runtime::PalletFoo
//! [`runtime::AllPalletsWithSystem`]: crate::reference_docs::frame_runtime_types::runtime::AllPalletsWithSystem
//! [`runtime`]: crate::reference_docs::frame_runtime_types::runtime
@@ -158,10 +158,10 @@
//! [`RuntimeCall`]: crate::reference_docs::frame_runtime_types::runtime::RuntimeCall
//! [`RuntimeHoldReason`]: crate::reference_docs::frame_runtime_types::runtime::RuntimeHoldReason
-use frame::prelude::*;
+use pezframe::prelude::*;
#[docify::export]
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet_foo {
use super::*;
@@ -201,7 +201,7 @@ pub mod pezpallet_foo {
}
#[docify::export]
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet_bar {
use super::*;
@@ -232,7 +232,7 @@ pub mod pezpallet_bar {
pub mod runtime {
use super::{pezpallet_bar, pezpallet_foo};
- use frame::{runtime::prelude::*, testing_prelude::*};
+ use pezframe::{runtime::prelude::*, testing_prelude::*};
#[docify::export(runtime_exp)]
construct_runtime!(
@@ -252,10 +252,10 @@ pub mod runtime {
impl pezpallet_bar::Config for Runtime {}
}
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
pub mod pezpallet_with_specific_runtime_call {
use super::*;
- use frame::traits::IsSubType;
+ use pezframe::traits::IsSubType;
#[docify::export(custom_runtime_call)]
/// A pezpallet that wants to further narrow down what `RuntimeCall` is.
@@ -299,7 +299,7 @@ pub mod pezpallet_with_specific_runtime_call {
pub mod runtime_with_specific_runtime_call {
use super::pezpallet_with_specific_runtime_call;
- use frame::{runtime::prelude::*, testing_prelude::*};
+ use pezframe::{runtime::prelude::*, testing_prelude::*};
construct_runtime!(
pub struct Runtime {
diff --git a/docs/sdk/src/reference_docs/frame_runtime_upgrades_and_migrations.rs b/docs/sdk/src/reference_docs/frame_runtime_upgrades_and_migrations.rs
index 8fef97dd..b8e98e49 100644
--- a/docs/sdk/src/reference_docs/frame_runtime_upgrades_and_migrations.rs
+++ b/docs/sdk/src/reference_docs/frame_runtime_upgrades_and_migrations.rs
@@ -35,7 +35,7 @@
//! # Migrations
//!
//! It is often desirable to define logic to execute immediately after runtime upgrades (see
-//! [this diagram](frame::traits::Hooks)).
+//! [this diagram](pezframe::traits::Hooks)).
//!
//! Self-contained pieces of logic that execute after a runtime upgrade are called "Migrations".
//!
diff --git a/docs/sdk/src/reference_docs/frame_storage_derives.rs b/docs/sdk/src/reference_docs/frame_storage_derives.rs
index f26cf20c..ecf5e0b4 100644
--- a/docs/sdk/src/reference_docs/frame_storage_derives.rs
+++ b/docs/sdk/src/reference_docs/frame_storage_derives.rs
@@ -8,9 +8,9 @@
//! Let's begin by starting to store a `NewType` in a storage item:
//!
//! ```compile_fail
-//! #[frame::pezpallet]
+//! #[pezframe::pezpallet]
//! pub mod pezpallet {
-//! # use frame::prelude::*;
+//! # use pezframe::prelude::*;
//! # #[pezpallet::config]
//! # pub trait Config: pezframe_system::Config {}
//! # #[pezpallet::pezpallet]
@@ -25,16 +25,16 @@
//! This raises a number of compiler errors, like:
//! ```text
//! the trait `MaxEncodedLen` is not implemented for `NewType`, which is required by
-//! `frame::prelude::StorageValue<_GeneratedPrefixForStorageSomething, NewType>:
+//! `pezframe::prelude::StorageValue<_GeneratedPrefixForStorageSomething, NewType>:
//! StorageInfoTrait`
//! ```
//!
//! This implies the following set of traits that need to be derived for a type to be stored in
//! `frame` storage:
//! ```rust
-//! #[frame::pezpallet]
+//! #[pezframe::pezpallet]
//! pub mod pezpallet {
-//! # use frame::prelude::*;
+//! # use pezframe::prelude::*;
//! # #[pezpallet::config]
//! # pub trait Config: pezframe_system::Config {}
//! # #[pezpallet::pezpallet]
@@ -48,11 +48,11 @@
//! ```
//!
//! Next, let's look at how this will differ if we are to store a type that is derived from `T` in
-//! storage, such as [`frame::prelude::BlockNumberFor`]:
+//! storage, such as [`pezframe::prelude::BlockNumberFor`]:
//! ```compile_fail
-//! #[frame::pezpallet]
+//! #[pezframe::pezpallet]
//! pub mod pezpallet {
-//! # use frame::prelude::*;
+//! # use pezframe::prelude::*;
//! # #[pezpallet::config]
//! # pub trait Config: pezframe_system::Config {}
//! # #[pezpallet::pezpallet]
@@ -84,9 +84,9 @@
//! attribute to `NewType`. This additional macro will instruct the `derive` to skip the bound on
//! `T`.
//! ```rust
-//! #[frame::pezpallet]
+//! #[pezframe::pezpallet]
//! pub mod pezpallet {
-//! # use frame::prelude::*;
+//! # use pezframe::prelude::*;
//! # #[pezpallet::config]
//! # pub trait Config: pezframe_system::Config {}
//! # #[pezpallet::pezpallet]
@@ -100,13 +100,13 @@
//! }
//! ```
//!
-//! Next, let's say we wish to store `NewType` as [`frame::prelude::ValueQuery`], which means it
+//! Next, let's say we wish to store `NewType` as [`pezframe::prelude::ValueQuery`], which means it
//! must also implement `Default`. This should be as simple as adding `derive(Default)` to it,
//! right?
//! ```compile_fail
-//! #[frame::pezpallet]
+//! #[pezframe::pezpallet]
//! pub mod pezpallet {
-//! # use frame::prelude::*;
+//! # use pezframe::prelude::*;
//! # #[pezpallet::config]
//! # pub trait Config: pezframe_system::Config {}
//! # #[pezpallet::pezpallet]
@@ -129,22 +129,22 @@
//! To fix this, frame provides a set of macros that are analogous to normal rust derive macros, but
//! work nicely on top of structs that are generic over `T: Config`. These macros are:
//!
-//! - [`frame::prelude::DefaultNoBound`]
-//! - [`frame::prelude::DebugNoBound`]
-//! - [`frame::prelude::PartialEqNoBound`]
-//! - [`frame::prelude::EqNoBound`]
-//! - [`frame::prelude::CloneNoBound`]
-//! - [`frame::prelude::PartialOrdNoBound`]
-//! - [`frame::prelude::OrdNoBound`]
+//! - [`pezframe::prelude::DefaultNoBound`]
+//! - [`pezframe::prelude::DebugNoBound`]
+//! - [`pezframe::prelude::PartialEqNoBound`]
+//! - [`pezframe::prelude::EqNoBound`]
+//! - [`pezframe::prelude::CloneNoBound`]
+//! - [`pezframe::prelude::PartialOrdNoBound`]
+//! - [`pezframe::prelude::OrdNoBound`]
//!
//! The above traits are almost certainly needed for your tests - to print your type, assert equality
//! or clone it.
//!
-//! We can fix the following example by using [`frame::prelude::DefaultNoBound`].
+//! We can fix the following example by using [`pezframe::prelude::DefaultNoBound`].
//! ```rust
-//! #[frame::pezpallet]
+//! #[pezframe::pezpallet]
//! pub mod pezpallet {
-//! # use frame::prelude::*;
+//! # use pezframe::prelude::*;
//! # #[pezpallet::config]
//! # pub trait Config: pezframe_system::Config {}
//! # #[pezpallet::pezpallet]
@@ -167,9 +167,9 @@
//! Finally, if a custom type that is provided through `Config` is to be stored in the storage, it
//! is subject to the same trait requirements. The following does not work:
//! ```compile_fail
-//! #[frame::pezpallet]
+//! #[pezframe::pezpallet]
//! pub mod pezpallet {
-//! use frame::prelude::*;
+//! use pezframe::prelude::*;
//! #[pezpallet::config]
//! pub trait Config: pezframe_system::Config {
//! type CustomType;
@@ -183,9 +183,9 @@
//!
//! But adding the right trait bounds will fix it.
//! ```rust
-//! #[frame::pezpallet]
+//! #[pezframe::pezpallet]
//! pub mod pezpallet {
-//! use frame::prelude::*;
+//! use pezframe::prelude::*;
//! #[pezpallet::config]
//! pub trait Config: pezframe_system::Config {
//! type CustomType: codec::FullCodec
diff --git a/docs/sdk/src/reference_docs/pezframe_benchmarking_weight.rs b/docs/sdk/src/reference_docs/pezframe_benchmarking_weight.rs
index 8a71aeed..22a0fbc4 100644
--- a/docs/sdk/src/reference_docs/pezframe_benchmarking_weight.rs
+++ b/docs/sdk/src/reference_docs/pezframe_benchmarking_weight.rs
@@ -81,7 +81,7 @@
#![doc = docify::embed!("src/reference_docs/pezframe_benchmarking_weight.rs", WeightInfo)]
//!
//! Then, individual functions of this trait are the final values that we assigned to the
-//! [`frame::pezpallet_macros::weight`] attribute:
+//! [`pezframe::pezpallet_macros::weight`] attribute:
#![doc = docify::embed!("./src/reference_docs/pezframe_benchmarking_weight.rs", simple_transfer_2)]
//!
//! ## Manual Refund
@@ -130,10 +130,10 @@
//! [PolkaVM]: https://github.com/koute/polkavm
//! [JAM]: https://graypaper.com
-#[frame::pezpallet(dev_mode)]
+#[pezframe::pezpallet(dev_mode)]
#[allow(unused_variables, unreachable_code, unused, clippy::diverging_sub_expression)]
pub mod pezpallet {
- use frame::prelude::*;
+ use pezframe::prelude::*;
#[docify::export]
pub trait WeightInfo {
@@ -202,7 +202,7 @@ pub mod pezpallet {
let actual_weight =
todo!("this can likely come from another benchmark that is NOT the worst case");
let pays_fee = todo!("You can set this to `Pays::Yes` or `Pays::No` to change if this transaction should pay fees");
- Ok(frame::deps::pezframe_support::dispatch::PostDispatchInfo {
+ Ok(pezframe::deps::pezframe_support::dispatch::PostDispatchInfo {
actual_weight: Some(actual_weight),
pays_fee,
})
diff --git a/docs/sdk/src/reference_docs/trait_based_programming.rs b/docs/sdk/src/reference_docs/trait_based_programming.rs
index 25231583..66f38199 100644
--- a/docs/sdk/src/reference_docs/trait_based_programming.rs
+++ b/docs/sdk/src/reference_docs/trait_based_programming.rs
@@ -7,12 +7,12 @@
//! The rest of this document assumes familiarity with the
//! [Rust book's Advanced Traits](https://doc.rust-lang.org/book/ch19-03-advanced-traits.html)
//! section.
-//! Moreover, we use the [`frame::traits::Get`].
+//! Moreover, we use the [`pezframe::traits::Get`].
//!
//! First, imagine we are writing a FRAME pezpallet. We represent this pezpallet with a `struct
//! Pezpallet`, and this pezpallet wants to implement the functionalities of that pezpallet, for
//! example a simple `transfer` function. For the sake of education, we are interested in having a
-//! `MinTransfer` amount, expressed as a [`frame::traits::Get`], which will dictate what is the
+//! `MinTransfer` amount, expressed as a [`pezframe::traits::Get`], which will dictate what is the
//! minimum amount that can be transferred.
//!
//! We can foremost write this as simple as the following snippet:
@@ -84,7 +84,7 @@
//! having individual `trait Configs` declare a shared `trait SystemConfig` as their
//! [supertrait](https://doc.rust-lang.org/rust-by-example/trait/supertraits.html).
#![doc = docify::embed!("./src/reference_docs/trait_based_programming.rs", with_system)]
-//! In FRAME, this shared supertrait is [`frame::prelude::pezframe_system`].
+//! In FRAME, this shared supertrait is [`pezframe::prelude::pezframe_system`].
//!
//! Notice how this made no difference in the syntax of the rest of the code. `T::AccountId` is
//! still a valid type, since `T` implements `Config` and `Config` implies `SystemConfig`, which
@@ -103,7 +103,7 @@
//! length of fully qualified syntax is a common pattern in FRAME.
//!
//! The above example is almost identical to the well-known (and somewhat notorious) `type
-//! BalanceOf` that is often used in the context of [`frame::traits::fungible`].
+//! BalanceOf` that is often used in the context of [`pezframe::traits::fungible`].
#![doc = docify::embed!("../../bizinikiwi/pezframe/fast-unstake/src/types.rs", BalanceOf)]
//!
//! ## Additional Resources
@@ -113,15 +113,15 @@
//! -
#![allow(unused)]
-use frame::traits::Get;
+use pezframe::traits::Get;
#[docify::export]
mod basic {
struct Pezpallet;
- type AccountId = frame::deps::pezsp_runtime::AccountId32;
+ type AccountId = pezframe::deps::pezsp_runtime::AccountId32;
type Balance = u128;
- type MinTransfer = frame::traits::ConstU128<10>;
+ type MinTransfer = pezframe::traits::ConstU128<10>;
impl Pezpallet {
fn transfer(_from: AccountId, _to: AccountId, _amount: Balance) {
@@ -140,8 +140,8 @@ mod generic {
impl Pezpallet
where
- Balance: frame::traits::AtLeast32BitUnsigned,
- MinTransfer: frame::traits::Get,
+ Balance: pezframe::traits::AtLeast32BitUnsigned,
+ MinTransfer: pezframe::traits::Get,
AccountId: From<[u8; 32]>,
{
fn transfer(_from: AccountId, _to: AccountId, amount: Balance) {
@@ -157,8 +157,8 @@ mod trait_based {
trait Config {
type AccountId: From<[u8; 32]>;
- type Balance: frame::traits::AtLeast32BitUnsigned;
- type MinTransfer: frame::traits::Get;
+ type Balance: pezframe::traits::AtLeast32BitUnsigned;
+ type MinTransfer: pezframe::traits::Get;
}
struct Pezpallet(std::marker::PhantomData);
@@ -179,8 +179,8 @@ mod with_system {
}
pub trait Config: SystemConfig {
- type Balance: frame::traits::AtLeast32BitUnsigned;
- type MinTransfer: frame::traits::Get;
+ type Balance: pezframe::traits::AtLeast32BitUnsigned;
+ type MinTransfer: pezframe::traits::Get;
}
pub struct Pezpallet(std::marker::PhantomData);
@@ -205,7 +205,7 @@ mod fully_qualified_complicated {
use super::with_system::*;
trait CurrencyTrait {
- type Balance: frame::traits::AtLeast32BitUnsigned;
+ type Balance: pezframe::traits::AtLeast32BitUnsigned;
fn more_stuff() {}
}
diff --git a/pezbridges/bin/runtime-common/Cargo.toml b/pezbridges/bin/runtime-common/Cargo.toml
index c6425b38..97c1dbee 100644
--- a/pezbridges/bin/runtime-common/Cargo.toml
+++ b/pezbridges/bin/runtime-common/Cargo.toml
@@ -20,11 +20,11 @@ tracing = { workspace = true }
tuplex = { workspace = true }
# Bridge dependencies
-bp-header-pez-chain = { workspace = true }
-bp-messages = { workspace = true }
-bp-pezkuwi-core = { workspace = true }
-bp-relayers = { workspace = true }
-bp-teyrchains = { workspace = true }
+pezbp-header-pez-chain = { workspace = true }
+pezbp-messages = { workspace = true }
+pezbp-pezkuwi-core = { workspace = true }
+pezbp-relayers = { workspace = true }
+pezbp-teyrchains = { workspace = true }
pezbp-runtime = { workspace = true }
pezpallet-bridge-grandpa = { workspace = true }
pezpallet-bridge-messages = { workspace = true }
@@ -46,7 +46,7 @@ pezsp-weights = { workspace = true }
xcm = { workspace = true }
[dev-dependencies]
-bp-test-utils = { workspace = true }
+pezbp-test-utils = { workspace = true }
pezpallet-balances = { workspace = true, default-features = true }
pezpallet-bridge-messages = { features = [
"std",
@@ -57,12 +57,12 @@ pezsp-core = { workspace = true, default-features = true }
[features]
default = ["std"]
std = [
- "bp-header-pez-chain/std",
- "bp-messages/std",
- "bp-pezkuwi-core/std",
- "bp-relayers/std",
- "bp-test-utils/std",
- "bp-teyrchains/std",
+ "pezbp-header-pez-chain/std",
+ "pezbp-messages/std",
+ "pezbp-pezkuwi-core/std",
+ "pezbp-relayers/std",
+ "pezbp-test-utils/std",
+ "pezbp-teyrchains/std",
"codec/std",
"pezbp-runtime/std",
"pezframe-support/std",
@@ -84,12 +84,12 @@ std = [
"xcm/std",
]
runtime-benchmarks = [
- "bp-header-pez-chain/runtime-benchmarks",
- "bp-messages/runtime-benchmarks",
- "bp-pezkuwi-core/runtime-benchmarks",
- "bp-relayers/runtime-benchmarks",
- "bp-test-utils/runtime-benchmarks",
- "bp-teyrchains/runtime-benchmarks",
+ "pezbp-header-pez-chain/runtime-benchmarks",
+ "pezbp-messages/runtime-benchmarks",
+ "pezbp-pezkuwi-core/runtime-benchmarks",
+ "pezbp-relayers/runtime-benchmarks",
+ "pezbp-test-utils/runtime-benchmarks",
+ "pezbp-teyrchains/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezbp-runtime/test-helpers",
"pezframe-support/runtime-benchmarks",
diff --git a/pezbridges/bin/runtime-common/src/extensions.rs b/pezbridges/bin/runtime-common/src/extensions.rs
index 4cb67884..0706aa7c 100644
--- a/pezbridges/bin/runtime-common/src/extensions.rs
+++ b/pezbridges/bin/runtime-common/src/extensions.rs
@@ -18,8 +18,8 @@
//! obsolete (duplicated) data or do not pass some additional pezpallet-specific
//! checks.
-use bp_relayers::ExplicitOrAccountParams;
-use bp_teyrchains::SubmitTeyrchainHeadsInfo;
+use pezbp_relayers::ExplicitOrAccountParams;
+use pezbp_teyrchains::SubmitTeyrchainHeadsInfo;
use pezbp_runtime::Teyrchain;
use pezpallet_bridge_grandpa::{
BridgedBlockNumber, CallSubType as GrandpaCallSubType, SubmitFinalityProofHelper,
@@ -377,12 +377,12 @@ macro_rules! generate_bridge_reject_obsolete_headers_and_messages {
mod tests {
use super::*;
use crate::mock::*;
- use bp_header_pez_chain::StoredHeaderDataBuilder;
- use bp_messages::{InboundLaneData, MessageNonce, OutboundLaneData};
- use bp_pezkuwi_core::teyrchains::{ParaHeadsProof, ParaId};
- use bp_relayers::{RewardsAccountOwner, RewardsAccountParams};
- use bp_test_utils::{make_default_justification, test_keyring, TEST_GRANDPA_SET_ID};
- use bp_teyrchains::{BestParaHeadHash, ParaInfo};
+ use pezbp_header_pez_chain::StoredHeaderDataBuilder;
+ use pezbp_messages::{InboundLaneData, MessageNonce, OutboundLaneData};
+ use pezbp_pezkuwi_core::teyrchains::{ParaHeadsProof, ParaId};
+ use pezbp_relayers::{RewardsAccountOwner, RewardsAccountParams};
+ use pezbp_test_utils::{make_default_justification, test_keyring, TEST_GRANDPA_SET_ID};
+ use pezbp_teyrchains::{BestParaHeadHash, ParaInfo};
use codec::{Decode, Encode, MaxEncodedLen};
use pezbp_runtime::HeaderId;
use pezframe_support::{assert_err, assert_ok, traits::fungible::Mutate};
@@ -541,7 +541,7 @@ mod tests {
pezpallet_bridge_grandpa::BestFinalized::::put(best_relay_header);
pezpallet_bridge_grandpa::ImportedHeaders::::insert(
best_relay_header.hash(),
- bp_test_utils::test_header::(0).build(),
+ pezbp_test_utils::test_header::(0).build(),
);
let para_id = ParaId(BridgedUnderlyingTeyrchain::TEYRCHAIN_ID);
diff --git a/pezbridges/bin/runtime-common/src/integrity.rs b/pezbridges/bin/runtime-common/src/integrity.rs
index a5ac872d..bf8634d7 100644
--- a/pezbridges/bin/runtime-common/src/integrity.rs
+++ b/pezbridges/bin/runtime-common/src/integrity.rs
@@ -19,8 +19,8 @@
//! Most of the tests in this module assume that the bridge is using standard (see `crate::messages`
//! module for details) configuration.
-use bp_header_pez_chain::ChainWithGrandpa;
-use bp_messages::{ChainWithMessages, InboundLaneData, MessageNonce};
+use pezbp_header_pez_chain::ChainWithGrandpa;
+use pezbp_messages::{ChainWithMessages, InboundLaneData, MessageNonce};
use codec::Encode;
use pezbp_runtime::{AccountIdOf, Chain};
use pezframe_support::{storage::generator::StorageValue, traits::Get, weights::Weight};
@@ -69,7 +69,7 @@ macro_rules! assert_bridge_messages_pallet_types(
) => {
{
use $crate::integrity::__private::static_assertions::assert_type_eq_all;
- use bp_messages::ChainWithMessages;
+ use pezbp_messages::ChainWithMessages;
use pezbp_runtime::Chain;
use pezpallet_bridge_messages::Config as BridgeMessagesConfig;
diff --git a/pezbridges/bin/runtime-common/src/messages_api.rs b/pezbridges/bin/runtime-common/src/messages_api.rs
index 17930805..5d8d2bea 100644
--- a/pezbridges/bin/runtime-common/src/messages_api.rs
+++ b/pezbridges/bin/runtime-common/src/messages_api.rs
@@ -16,7 +16,7 @@
//! Helpers for implementing various message-related runtime API methods.
-use bp_messages::{InboundMessageDetails, MessageNonce, MessagePayload, OutboundMessageDetails};
+use pezbp_messages::{InboundMessageDetails, MessageNonce, MessagePayload, OutboundMessageDetails};
use pezsp_std::vec::Vec;
/// Implementation of the `To*OutboundLaneApi::message_details`.
diff --git a/pezbridges/bin/runtime-common/src/messages_benchmarking.rs b/pezbridges/bin/runtime-common/src/messages_benchmarking.rs
index eb6fe4fc..d894fe65 100644
--- a/pezbridges/bin/runtime-common/src/messages_benchmarking.rs
+++ b/pezbridges/bin/runtime-common/src/messages_benchmarking.rs
@@ -19,11 +19,11 @@
#![cfg(feature = "runtime-benchmarks")]
-use bp_messages::{
+use pezbp_messages::{
source_chain::FromBridgedChainMessagesDeliveryProof,
target_chain::FromBridgedChainMessagesProof, MessagePayload,
};
-use bp_pezkuwi_core::teyrchains::ParaHash;
+use pezbp_pezkuwi_core::teyrchains::ParaHash;
use codec::Encode;
use pezbp_runtime::{AccountIdOf, Chain, HashOf, Teyrchain};
use pezframe_support::weights::Weight;
diff --git a/pezbridges/bin/runtime-common/src/mock.rs b/pezbridges/bin/runtime-common/src/mock.rs
index 39a82385..4519abf8 100644
--- a/pezbridges/bin/runtime-common/src/mock.rs
+++ b/pezbridges/bin/runtime-common/src/mock.rs
@@ -20,13 +20,13 @@
#![cfg(test)]
#![allow(dead_code)]
-use bp_header_pez_chain::ChainWithGrandpa;
-use bp_messages::{
+use pezbp_header_pez_chain::ChainWithGrandpa;
+use pezbp_messages::{
target_chain::{DispatchMessage, MessageDispatch},
ChainWithMessages, HashedLaneId, LaneIdType, MessageNonce,
};
-use bp_relayers::{PayRewardFromAccount, RewardsAccountParams};
-use bp_teyrchains::SingleParaStoredHeaderDataBuilder;
+use pezbp_relayers::{PayRewardFromAccount, RewardsAccountParams};
+use pezbp_teyrchains::SingleParaStoredHeaderDataBuilder;
use codec::Encode;
use pezbp_runtime::{messages::MessageDispatchResult, Chain, ChainId, Teyrchain};
use pezframe_support::{
diff --git a/pezbridges/bin/runtime-common/src/teyrchains_benchmarking.rs b/pezbridges/bin/runtime-common/src/teyrchains_benchmarking.rs
index 1ca6c9df..056820b6 100644
--- a/pezbridges/bin/runtime-common/src/teyrchains_benchmarking.rs
+++ b/pezbridges/bin/runtime-common/src/teyrchains_benchmarking.rs
@@ -20,8 +20,8 @@
use crate::messages_benchmarking::insert_header_to_grandpa_pallet;
-use bp_pezkuwi_core::teyrchains::{ParaHash, ParaHead, ParaHeadsProof, ParaId};
-use bp_teyrchains::{
+use pezbp_pezkuwi_core::teyrchains::{ParaHash, ParaHead, ParaHeadsProof, ParaId};
+use pezbp_teyrchains::{
teyrchain_head_storage_key_at_source, RelayBlockHash, RelayBlockHasher, RelayBlockNumber,
};
use codec::Encode;
diff --git a/pezbridges/chains/chain-pezcumulus/Cargo.toml b/pezbridges/chains/chain-pezcumulus/Cargo.toml
index 5ed7ec1d..c72e89ac 100644
--- a/pezbridges/chains/chain-pezcumulus/Cargo.toml
+++ b/pezbridges/chains/chain-pezcumulus/Cargo.toml
@@ -1,5 +1,5 @@
[package]
-name = "bp-bridge-hub-pezcumulus"
+name = "pezbp-bridge-hub-pezcumulus"
description = "Primitives for BridgeHub teyrchain runtimes."
version = "0.7.0"
authors.workspace = true
@@ -17,8 +17,8 @@ workspace = true
[dependencies]
# Bridge Dependencies
-bp-messages = { workspace = true }
-bp-pezkuwi-core = { workspace = true }
+pezbp-messages = { workspace = true }
+pezbp-pezkuwi-core = { workspace = true }
pezbp-runtime = { workspace = true }
# Bizinikiwi Based Dependencies
@@ -34,8 +34,8 @@ pezkuwi-primitives = { workspace = true }
[features]
default = ["std"]
std = [
- "bp-messages/std",
- "bp-pezkuwi-core/std",
+ "pezbp-messages/std",
+ "pezbp-pezkuwi-core/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezframe-system/std",
@@ -45,8 +45,8 @@ std = [
"teyrchains-common/std",
]
runtime-benchmarks = [
- "bp-messages/runtime-benchmarks",
- "bp-pezkuwi-core/runtime-benchmarks",
+ "pezbp-messages/runtime-benchmarks",
+ "pezbp-pezkuwi-core/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
diff --git a/pezbridges/chains/chain-pezcumulus/src/lib.rs b/pezbridges/chains/chain-pezcumulus/src/lib.rs
index 6e6d2218..98f6f580 100644
--- a/pezbridges/chains/chain-pezcumulus/src/lib.rs
+++ b/pezbridges/chains/chain-pezcumulus/src/lib.rs
@@ -19,7 +19,7 @@
#![warn(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]
-pub use bp_pezkuwi_core::{
+pub use pezbp_pezkuwi_core::{
AccountId, AccountInfoStorageMapKeyProvider, AccountPublic, Balance, BlockNumber, Hash, Hasher,
Hashing, Header, Nonce, Perbill, Signature, SignedBlock, UncheckedExtrinsic,
EXTRA_STORAGE_PROOF_SIZE, TX_EXTRA_BYTES,
@@ -30,8 +30,8 @@ pub use teyrchains_common::{
NORMAL_DISPATCH_RATIO, SLOT_DURATION,
};
-use bp_messages::*;
-use bp_pezkuwi_core::SuffixedCommonTransactionExtension;
+use pezbp_messages::*;
+use pezbp_pezkuwi_core::SuffixedCommonTransactionExtension;
use pezbp_runtime::extensions::{
BridgeRejectObsoleteHeadersAndMessages, RefundBridgedTeyrchainMessagesSchema,
};
diff --git a/pezbridges/chains/chain-pezkuwi-bulletin/Cargo.toml b/pezbridges/chains/chain-pezkuwi-bulletin/Cargo.toml
index 5709de9d..e29ee37d 100644
--- a/pezbridges/chains/chain-pezkuwi-bulletin/Cargo.toml
+++ b/pezbridges/chains/chain-pezkuwi-bulletin/Cargo.toml
@@ -1,5 +1,5 @@
[package]
-name = "bp-pezkuwi-bulletin"
+name = "pezbp-pezkuwi-bulletin"
description = "Primitives of Pezkuwi Bulletin chain runtime."
version = "0.4.0"
authors.workspace = true
@@ -20,9 +20,9 @@ codec = { features = ["derive"], workspace = true }
scale-info = { features = ["derive"], workspace = true }
# Bridge Dependencies
-bp-header-pez-chain = { workspace = true }
-bp-messages = { workspace = true }
-bp-pezkuwi-core = { workspace = true }
+pezbp-header-pez-chain = { workspace = true }
+pezbp-messages = { workspace = true }
+pezbp-pezkuwi-core = { workspace = true }
pezbp-runtime = { workspace = true }
# Bizinikiwi Based Dependencies
@@ -35,9 +35,9 @@ pezsp-std = { workspace = true }
[features]
default = ["std"]
std = [
- "bp-header-pez-chain/std",
- "bp-messages/std",
- "bp-pezkuwi-core/std",
+ "pezbp-header-pez-chain/std",
+ "pezbp-messages/std",
+ "pezbp-pezkuwi-core/std",
"codec/std",
"pezbp-runtime/std",
"pezframe-support/std",
@@ -48,9 +48,9 @@ std = [
"scale-info/std",
]
runtime-benchmarks = [
- "bp-header-pez-chain/runtime-benchmarks",
- "bp-messages/runtime-benchmarks",
- "bp-pezkuwi-core/runtime-benchmarks",
+ "pezbp-header-pez-chain/runtime-benchmarks",
+ "pezbp-messages/runtime-benchmarks",
+ "pezbp-pezkuwi-core/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
diff --git a/pezbridges/chains/chain-pezkuwi-bulletin/src/lib.rs b/pezbridges/chains/chain-pezkuwi-bulletin/src/lib.rs
index 2f544059..b0bd2f6b 100644
--- a/pezbridges/chains/chain-pezkuwi-bulletin/src/lib.rs
+++ b/pezbridges/chains/chain-pezkuwi-bulletin/src/lib.rs
@@ -19,8 +19,8 @@
#![warn(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]
-use bp_header_pez_chain::ChainWithGrandpa;
-use bp_messages::{ChainWithMessages, MessageNonce};
+use pezbp_header_pez_chain::ChainWithGrandpa;
+use pezbp_messages::{ChainWithMessages, MessageNonce};
use codec::{Decode, DecodeWithMemTracking, Encode};
use pezbp_runtime::{
decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis,
@@ -43,7 +43,7 @@ use pezsp_runtime::{
use scale_info::TypeInfo;
// This chain reuses most of Pezkuwi primitives.
-pub use bp_pezkuwi_core::{
+pub use pezbp_pezkuwi_core::{
AccountAddress, AccountId, Balance, Block, BlockNumber, Hash, Hasher, Header, Nonce, Signature,
SignedBlock, UncheckedExtrinsic, AVERAGE_HEADER_SIZE, EXTRA_STORAGE_PROOF_SIZE,
MAX_MANDATORY_HEADER_SIZE, REASONABLE_HEADERS_IN_JUSTIFICATION_ANCESTRY,
@@ -225,4 +225,4 @@ impl ChainWithMessages for PezkuwiBulletin {
}
decl_bridge_finality_runtime_apis!(pezkuwi_bulletin, grandpa);
-decl_bridge_messages_runtime_apis!(pezkuwi_bulletin, bp_messages::LegacyLaneId);
+decl_bridge_messages_runtime_apis!(pezkuwi_bulletin, pezbp_messages::LegacyLaneId);
diff --git a/pezbridges/modules/beefy/Cargo.toml b/pezbridges/modules/beefy/Cargo.toml
index 33a45ecc..a5c3b177 100644
--- a/pezbridges/modules/beefy/Cargo.toml
+++ b/pezbridges/modules/beefy/Cargo.toml
@@ -20,7 +20,7 @@ serde = { optional = true, workspace = true }
tracing = { workspace = true }
# Bridge Dependencies
-bp-beefy = { workspace = true }
+pezbp-beefy = { workspace = true }
pezbp-runtime = { workspace = true }
# Bizinikiwi Dependencies
@@ -31,7 +31,7 @@ pezsp-runtime = { workspace = true }
pezsp-std = { workspace = true }
[dev-dependencies]
-bp-test-utils = { workspace = true, default-features = true }
+pezbp-test-utils = { workspace = true, default-features = true }
mmr-lib = { workspace = true, default-features = true }
pezpallet-beefy-mmr = { workspace = true, default-features = true }
pezpallet-mmr = { workspace = true, default-features = true }
@@ -42,7 +42,7 @@ rand = { workspace = true, default-features = true }
[features]
default = ["std"]
std = [
- "bp-beefy/std",
+ "pezbp-beefy/std",
"codec/std",
"pezbp-runtime/std",
"pezframe-support/std",
@@ -62,8 +62,8 @@ try-runtime = [
"pezsp-runtime/try-runtime",
]
runtime-benchmarks = [
- "bp-beefy/runtime-benchmarks",
- "bp-test-utils/runtime-benchmarks",
+ "pezbp-beefy/runtime-benchmarks",
+ "pezbp-test-utils/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
diff --git a/pezbridges/modules/beefy/src/lib.rs b/pezbridges/modules/beefy/src/lib.rs
index 37d980d4..d6d65f92 100644
--- a/pezbridges/modules/beefy/src/lib.rs
+++ b/pezbridges/modules/beefy/src/lib.rs
@@ -32,7 +32,7 @@
#![warn(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]
-use bp_beefy::{ChainWithBeefy, InitializationData};
+use pezbp_beefy::{ChainWithBeefy, InitializationData};
use pezsp_std::{boxed::Box, prelude::*};
// Re-export in crate namespace for `construct_runtime!`
@@ -57,29 +57,29 @@ pub type BridgedBlockHash = pezbp_runtime::HashOf>;
/// Pezpallet initialization data.
pub type InitializationDataOf |