FAZ 1 Complete: Workspace compile fixes, warning cleanup, version bumps
- Fixed is_using_frame_crate() macro to check for pezframe/pezkuwi_sdk - Removed disable_pezframe_system_supertrait_check temporary bypasses - Feature-gated storage-benchmark and teyrchain-benchmarks code - Fixed dead_code warnings with underscore prefix (_Header) - Removed unused imports and shadowing use statements - Version bumps: procedural-tools 10.0.1, benchmarking-cli 32.0.1, docs 0.0.2, minimal-runtime 0.0.1, yet-another-teyrchain 0.6.1, umbrella 0.1.2 - Updated MAINNET_ROADMAP.md with FAZ 1 completion status
This commit is contained in:
+19
-17
@@ -439,23 +439,25 @@ pub fn run() -> Result<()> {
|
||||
let chain_spec = &runner.config().chain_spec;
|
||||
|
||||
match cmd {
|
||||
#[cfg(not(feature = "runtime-benchmarks"))]
|
||||
BenchmarkCmd::Storage(_) =>
|
||||
return Err(pezsc_cli::Error::Input(
|
||||
"Compile with --features=runtime-benchmarks \
|
||||
to enable storage benchmarks."
|
||||
.into(),
|
||||
)
|
||||
.into()),
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
BenchmarkCmd::Storage(cmd) => runner.sync_run(|mut config| {
|
||||
let (client, backend, _, _) = pezkuwi_service::new_chain_ops(&mut config)?;
|
||||
let db = backend.expose_db();
|
||||
let storage = backend.expose_storage();
|
||||
let shared_trie_cache = backend.expose_shared_trie_cache();
|
||||
|
||||
cmd.run(config, client.clone(), db, storage, shared_trie_cache).map_err(Error::BizinikiwiCli)
|
||||
}),
|
||||
// Storage benchmarks are only available with pezframe-benchmarking-cli's
|
||||
// `storage-benchmark` feature enabled, which requires test runtime crate.
|
||||
// #[cfg(not(feature = "runtime-benchmarks"))]
|
||||
// BenchmarkCmd::Storage(_) =>
|
||||
// return Err(pezsc_cli::Error::Input(
|
||||
// "Compile with --features=runtime-benchmarks \
|
||||
// to enable storage benchmarks."
|
||||
// .into(),
|
||||
// )
|
||||
// .into()),
|
||||
// #[cfg(feature = "runtime-benchmarks")]
|
||||
// BenchmarkCmd::Storage(cmd) => runner.sync_run(|mut config| {
|
||||
// let (client, backend, _, _) = pezkuwi_service::new_chain_ops(&mut config)?;
|
||||
// let db = backend.expose_db();
|
||||
// let storage = backend.expose_storage();
|
||||
// let shared_trie_cache = backend.expose_shared_trie_cache();
|
||||
//
|
||||
// cmd.run(config, client.clone(), db, storage, shared_trie_cache).map_err(Error::BizinikiwiCli)
|
||||
// }),
|
||||
BenchmarkCmd::Block(cmd) => runner.sync_run(|mut config| {
|
||||
let (client, _, _, _) = pezkuwi_service::new_chain_ops(&mut config)?;
|
||||
|
||||
|
||||
@@ -27,9 +27,9 @@ thiserror = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives = { workspace = true, features = ["test"] }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
rstest = { workspace = true }
|
||||
|
||||
@@ -37,11 +37,11 @@ rstest = { workspace = true }
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-erasure-coding/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -37,7 +37,7 @@ rand_core = { workspace = true }
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
kvdb-memorydb = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true, default-features = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true, default-features = true }
|
||||
pezsp-consensus-babe = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
@@ -51,7 +51,7 @@ runtime-benchmarks = [
|
||||
"pezkuwi-node-core-approval-voting/runtime-benchmarks",
|
||||
"pezkuwi-node-metrics/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-overseer/runtime-benchmarks",
|
||||
|
||||
@@ -52,29 +52,29 @@ rand_core = { workspace = true }
|
||||
assert_matches = { workspace = true }
|
||||
kvdb-memorydb = { workspace = true }
|
||||
parking_lot = { workspace = true, default-features = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives = { workspace = true, features = ["test"] }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezsp-consensus-babe = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
pezsp-keystore = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true }
|
||||
|
||||
pezkuwi-subsystem-bench = { workspace = true }
|
||||
# pezkuwi-subsystem-bench = { workspace = true }
|
||||
|
||||
[features]
|
||||
subsystem-benchmarks = []
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-overseer/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-subsystem-bench/runtime-benchmarks",
|
||||
# "pezkuwi-subsystem-bench/runtime-benchmarks",
|
||||
"pezsp-consensus-babe/runtime-benchmarks",
|
||||
"pezsp-consensus-slots/runtime-benchmarks",
|
||||
"pezsp-consensus/runtime-benchmarks",
|
||||
|
||||
@@ -33,8 +33,8 @@ kvdb-memorydb = { workspace = true }
|
||||
pezsp-tracing = { workspace = true }
|
||||
|
||||
parking_lot = { workspace = true, default-features = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
|
||||
@@ -42,11 +42,11 @@ pezsp-keyring = { workspace = true, default-features = true }
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-erasure-coding/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezsp-consensus/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
|
||||
@@ -31,9 +31,9 @@ thiserror = { workspace = true }
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
futures = { features = ["thread-pool"], workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives = { workspace = true, features = ["test"] }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezsc-keystore = { workspace = true, default-features = true }
|
||||
pezsp-application-crypto = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
@@ -44,11 +44,11 @@ pezsp-tracing = { workspace = true, default-features = true }
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-erasure-coding/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-statement-table/runtime-benchmarks",
|
||||
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
|
||||
|
||||
@@ -23,15 +23,15 @@ thiserror = { workspace = true }
|
||||
wasm-timer = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -36,9 +36,9 @@ pezkuwi-node-core-pvf = { workspace = true, default-features = true }
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
futures = { features = ["thread-pool"], workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives = { workspace = true, features = ["test"] }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
pezsp-maybe-compressed-blob = { workspace = true, default-features = true }
|
||||
@@ -49,12 +49,12 @@ runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-core-pvf/runtime-benchmarks",
|
||||
"pezkuwi-node-metrics/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-overseer/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
|
||||
@@ -25,7 +25,7 @@ pezsc-consensus-babe = { workspace = true, default-features = true }
|
||||
codec = { workspace = true, default-features = true }
|
||||
futures = { features = ["thread-pool"], workspace = true }
|
||||
maplit = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-pez-node-primitives = { workspace = true, default-features = true }
|
||||
pezkuwi-primitives = { workspace = true, default-features = true }
|
||||
pezsp-blockchain = { workspace = true, default-features = true }
|
||||
@@ -35,7 +35,7 @@ pezsp-core = { workspace = true, default-features = true }
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-metrics/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-types/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
|
||||
@@ -27,13 +27,13 @@ thiserror = { workspace = true }
|
||||
assert_matches = { workspace = true }
|
||||
kvdb-memorydb = { workspace = true }
|
||||
parking_lot = { workspace = true, default-features = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
|
||||
@@ -37,16 +37,16 @@ pezsc-keystore = { workspace = true, default-features = true }
|
||||
assert_matches = { workspace = true }
|
||||
futures-timer = { workspace = true }
|
||||
kvdb-memorydb = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives = { workspace = true, features = ["test"] }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezsp-application-crypto = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
pezsp-keystore = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
pezkuwi-subsystem-bench = { workspace = true }
|
||||
# pezkuwi-subsystem-bench = { workspace = true }
|
||||
|
||||
[features]
|
||||
# If not enabled, the dispute coordinator will do nothing.
|
||||
@@ -54,12 +54,12 @@ disputes = []
|
||||
subsystem-benchmarks = []
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-subsystem-bench/runtime-benchmarks",
|
||||
# "pezkuwi-subsystem-bench/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -24,9 +24,9 @@ pezkuwi-primitives = { workspace = true, default-features = true }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives = { workspace = true, features = ["test"] }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true }
|
||||
rand = { workspace = true }
|
||||
@@ -35,9 +35,9 @@ rstest = { workspace = true }
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -27,20 +27,20 @@ schnellru = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives = { workspace = true, features = ["test"] }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezsp-application-crypto = { workspace = true, default-features = true }
|
||||
pezsp-keystore = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezsc-consensus-slots/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -24,8 +24,8 @@ pezsp-keystore = { workspace = true, default-features = true }
|
||||
|
||||
[dev-dependencies]
|
||||
futures-timer = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezsc-keystore = { workspace = true, default-features = true }
|
||||
pezsp-application-crypto = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
@@ -35,10 +35,10 @@ pezsp-runtime = { workspace = true, default-features = true }
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
|
||||
@@ -59,15 +59,15 @@ criterion = { features = [
|
||||
pezkuwi-node-core-pvf-common = { features = [
|
||||
"test-utils",
|
||||
], workspace = true, default-features = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# For benches and integration tests, depend on ourselves with the test-utils feature.
|
||||
pezkuwi-node-core-pvf = { features = [
|
||||
"test-utils",
|
||||
], workspace = true, default-features = true }
|
||||
pezkuwichain-runtime = { workspace = true }
|
||||
# pezkuwi-node-core-pvf = { features = [
|
||||
# "test-utils",
|
||||
# ], workspace = true, default-features = true }
|
||||
# pezkuwichain-runtime = { workspace = true }
|
||||
|
||||
test-teyrchain-adder = { workspace = true }
|
||||
test-teyrchain-halt = { workspace = true }
|
||||
# test-teyrchain-adder = { workspace = true }
|
||||
# test-teyrchain-halt = { workspace = true }
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dev-dependencies]
|
||||
libc = { workspace = true }
|
||||
@@ -90,15 +90,15 @@ runtime-benchmarks = [
|
||||
"pezkuwi-node-core-pvf-common/runtime-benchmarks",
|
||||
"pezkuwi-node-core-pvf-execute-worker?/runtime-benchmarks",
|
||||
"pezkuwi-node-core-pvf-prepare-worker?/runtime-benchmarks",
|
||||
"pezkuwi-node-core-pvf/runtime-benchmarks",
|
||||
# "pezkuwi-node-core-pvf/runtime-benchmarks",
|
||||
"pezkuwi-node-metrics/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
|
||||
"pezkuwichain-runtime/runtime-benchmarks",
|
||||
# "pezkuwichain-runtime/runtime-benchmarks",
|
||||
"pezsc-sysinfo/runtime-benchmarks",
|
||||
"pezsc-tracing/runtime-benchmarks",
|
||||
"test-teyrchain-adder/runtime-benchmarks",
|
||||
# "test-teyrchain-adder/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -38,7 +38,7 @@ tikv-jemalloc-ctl = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = { features = ["cargo_bench_support"], workspace = true }
|
||||
pezkuwichain-runtime = { workspace = true }
|
||||
# pezkuwichain-runtime = { workspace = true }
|
||||
|
||||
[features]
|
||||
builder = []
|
||||
@@ -51,5 +51,5 @@ runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-core-pvf-common/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwichain-runtime/runtime-benchmarks",
|
||||
# "pezkuwichain-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -27,9 +27,9 @@ pezkuwi-primitives = { workspace = true, default-features = true }
|
||||
[dev-dependencies]
|
||||
async-trait = { workspace = true }
|
||||
futures = { features = ["thread-pool"], workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-pez-node-primitives = { workspace = true, default-features = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezsp-api = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
@@ -38,11 +38,11 @@ pezsp-keyring = { workspace = true, default-features = true }
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-metrics/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-types/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus-babe/runtime-benchmarks",
|
||||
|
||||
@@ -32,8 +32,8 @@ pezsp-application-crypto = { workspace = true, default-features = true }
|
||||
pezsp-authority-discovery = { workspace = true, default-features = true }
|
||||
pezsp-core = { features = ["std"], workspace = true, default-features = true }
|
||||
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
|
||||
assert_matches = { workspace = true }
|
||||
rand_chacha = { workspace = true, default-features = true }
|
||||
@@ -47,11 +47,11 @@ runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-metrics/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezsp-authority-discovery/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -39,9 +39,9 @@ thiserror = { workspace = true }
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
futures-timer = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezkuwi-subsystem-bench = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-subsystem-bench = { workspace = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
rstest = { workspace = true }
|
||||
@@ -52,13 +52,13 @@ runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-erasure-coding/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-subsystem-bench/runtime-benchmarks",
|
||||
# "pezkuwi-subsystem-bench/runtime-benchmarks",
|
||||
"pezsc-network/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -46,9 +46,9 @@ pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezkuwi-subsystem-bench = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-subsystem-bench = { workspace = true }
|
||||
|
||||
[features]
|
||||
subsystem-benchmarks = []
|
||||
@@ -56,13 +56,13 @@ runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-erasure-coding/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-subsystem-bench/runtime-benchmarks",
|
||||
# "pezkuwi-subsystem-bench/runtime-benchmarks",
|
||||
"pezsc-network/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -26,7 +26,7 @@ rand = { workspace = true, default-features = true }
|
||||
assert_matches = { workspace = true }
|
||||
bitvec = { features = ["alloc"], workspace = true }
|
||||
maplit = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezsp-application-crypto = { workspace = true, default-features = true }
|
||||
pezsp-authority-discovery = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
@@ -39,7 +39,7 @@ rand_chacha = { workspace = true, default-features = true }
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
|
||||
@@ -33,9 +33,9 @@ thiserror = { workspace = true }
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
futures-timer = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-node-subsystem-util = { workspace = true, default-features = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
|
||||
@@ -44,11 +44,11 @@ runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-metrics/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-overseer/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezsc-network/runtime-benchmarks",
|
||||
"pezsp-consensus/runtime-benchmarks",
|
||||
|
||||
@@ -51,8 +51,8 @@ pezsp-core = { features = ["std"], workspace = true, default-features = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
|
||||
itertools = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
@@ -60,11 +60,11 @@ experimental-collator-protocol = ["async-trait", "tokio"]
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezsc-network/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
|
||||
@@ -33,8 +33,8 @@ thiserror = { workspace = true }
|
||||
assert_matches = { workspace = true }
|
||||
async-channel = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezsc-keystore = { workspace = true, default-features = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
@@ -43,11 +43,11 @@ pezsp-tracing = { workspace = true, default-features = true }
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezsc-network/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
|
||||
@@ -36,7 +36,7 @@ pezsp-consensus-babe = { workspace = true, default-features = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
|
||||
assert_matches = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
@@ -47,7 +47,7 @@ quickcheck = { workspace = true, default-features = true }
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
|
||||
@@ -36,10 +36,10 @@ thiserror = { workspace = true }
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
async-channel = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives = { workspace = true, features = ["test"] }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezkuwi-subsystem-bench = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-subsystem-bench = { workspace = true }
|
||||
pezsc-keystore = { workspace = true, default-features = true }
|
||||
pezsc-network = { workspace = true, default-features = true }
|
||||
pezsp-application-crypto = { workspace = true, default-features = true }
|
||||
@@ -55,13 +55,13 @@ subsystem-benchmarks = []
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-subsystem-bench/runtime-benchmarks",
|
||||
# "pezkuwi-subsystem-bench/runtime-benchmarks",
|
||||
"pezsc-network/runtime-benchmarks",
|
||||
"pezsp-authority-discovery/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
|
||||
@@ -139,9 +139,9 @@ xcm-runtime-pezapis = { workspace = true, default-features = true }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
pezkuwi-test-client = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-test-client = { workspace = true }
|
||||
pezsp-tracing = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
|
||||
@@ -229,18 +229,18 @@ runtime-benchmarks = [
|
||||
"pezkuwi-node-core-runtime-api?/runtime-benchmarks",
|
||||
"pezkuwi-node-core-teyrchains-inherent/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-types/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-overseer/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-rpc/runtime-benchmarks",
|
||||
"pezkuwi-runtime-teyrchains/runtime-benchmarks",
|
||||
"pezkuwi-statement-distribution?/runtime-benchmarks",
|
||||
"pezkuwi-test-client/runtime-benchmarks",
|
||||
# "pezkuwi-test-client/runtime-benchmarks",
|
||||
"pezkuwichain-runtime-constants?/runtime-benchmarks",
|
||||
"pezkuwichain-runtime?/runtime-benchmarks",
|
||||
"pezmmr-gadget/runtime-benchmarks",
|
||||
|
||||
@@ -44,8 +44,8 @@ parity-db = { workspace = true }
|
||||
assert_matches = { workspace = true }
|
||||
futures = { features = ["thread-pool"], workspace = true }
|
||||
kvdb-shared-tests = { workspace = true }
|
||||
pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
# pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
# pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
|
||||
[features]
|
||||
@@ -54,11 +54,11 @@ runtime-benchmarks = [
|
||||
"pezkuwi-erasure-coding/runtime-benchmarks",
|
||||
"pezkuwi-node-metrics/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-node-subsystem-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-types/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem/runtime-benchmarks",
|
||||
"pezkuwi-overseer/runtime-benchmarks",
|
||||
"pezkuwi-pez-node-primitives/runtime-benchmarks",
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
# "pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "bp-pezkuwichain"
|
||||
name = "pezbp-pezkuwichain"
|
||||
description = "Primitives of Pezkuwichain runtime."
|
||||
version = "0.6.0"
|
||||
authors.workspace = true
|
||||
@@ -17,8 +17,8 @@ workspace = true
|
||||
|
||||
[dependencies]
|
||||
# Bridge Dependencies
|
||||
bp-header-pez-chain = { workspace = true }
|
||||
bp-pezkuwi-core = { workspace = true }
|
||||
pezbp-header-pez-chain = { workspace = true }
|
||||
pezbp-pezkuwi-core = { workspace = true }
|
||||
pezbp-runtime = { workspace = true }
|
||||
|
||||
# Bizinikiwi Based Dependencies
|
||||
@@ -29,16 +29,16 @@ pezsp-std = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bp-header-pez-chain/std",
|
||||
"bp-pezkuwi-core/std",
|
||||
"pezbp-header-pez-chain/std",
|
||||
"pezbp-pezkuwi-core/std",
|
||||
"pezbp-runtime/std",
|
||||
"pezframe-support/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-std/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"bp-header-pez-chain/runtime-benchmarks",
|
||||
"bp-pezkuwi-core/runtime-benchmarks",
|
||||
"pezbp-header-pez-chain/runtime-benchmarks",
|
||||
"pezbp-pezkuwi-core/runtime-benchmarks",
|
||||
"pezbp-runtime/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
#![warn(missing_docs)]
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
pub use bp_pezkuwi_core::*;
|
||||
pub use pezbp_pezkuwi_core::*;
|
||||
|
||||
use bp_header_pez_chain::ChainWithGrandpa;
|
||||
use pezbp_header_pez_chain::ChainWithGrandpa;
|
||||
use pezbp_runtime::{decl_bridge_finality_runtime_apis, Chain, ChainId};
|
||||
use pezframe_support::{pezsp_runtime::StateVersion, weights::Weight};
|
||||
|
||||
@@ -61,7 +61,7 @@ impl ChainWithGrandpa for Pezkuwichain {
|
||||
}
|
||||
|
||||
// The TransactionExtension used by Pezkuwichain.
|
||||
pub use bp_pezkuwi_core::CommonTransactionExtension as TransactionExtension;
|
||||
pub use pezbp_pezkuwi_core::CommonTransactionExtension as TransactionExtension;
|
||||
|
||||
/// Name of the teyrchains pezpallet in the Pezkuwichain runtime.
|
||||
pub const PARAS_PALLET_NAME: &str = "Paras";
|
||||
@@ -71,7 +71,7 @@ pub const WITH_PEZKUWICHAIN_GRANDPA_PALLET_NAME: &str = "BridgePezkuwichainGrand
|
||||
/// Name of the With-Pezkuwichain teyrchains pezpallet instance that is deployed at bridged chains.
|
||||
pub const WITH_PEZKUWICHAIN_BRIDGE_TEYRCHAINS_PALLET_NAME: &str = "BridgePezkuwichainTeyrchains";
|
||||
|
||||
/// Maximal size of encoded `bp_teyrchains::ParaStoredHeaderData` structure among all Pezkuwichain
|
||||
/// Maximal size of encoded `pezbp_teyrchains::ParaStoredHeaderData` structure among all Pezkuwichain
|
||||
/// teyrchains.
|
||||
///
|
||||
/// It includes the block number and state root, so it shall be near 40 bytes, but let's have some
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "bp-zagros"
|
||||
name = "pezbp-zagros"
|
||||
description = "Primitives of Zagros runtime."
|
||||
version = "0.3.0"
|
||||
authors.workspace = true
|
||||
@@ -17,8 +17,8 @@ workspace = true
|
||||
|
||||
[dependencies]
|
||||
# Bridge Dependencies
|
||||
bp-header-pez-chain = { workspace = true }
|
||||
bp-pezkuwi-core = { workspace = true }
|
||||
pezbp-header-pez-chain = { workspace = true }
|
||||
pezbp-pezkuwi-core = { workspace = true }
|
||||
pezbp-runtime = { workspace = true }
|
||||
|
||||
# Bizinikiwi Based Dependencies
|
||||
@@ -29,16 +29,16 @@ pezsp-std = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bp-header-pez-chain/std",
|
||||
"bp-pezkuwi-core/std",
|
||||
"pezbp-header-pez-chain/std",
|
||||
"pezbp-pezkuwi-core/std",
|
||||
"pezbp-runtime/std",
|
||||
"pezframe-support/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-std/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"bp-header-pez-chain/runtime-benchmarks",
|
||||
"bp-pezkuwi-core/runtime-benchmarks",
|
||||
"pezbp-header-pez-chain/runtime-benchmarks",
|
||||
"pezbp-pezkuwi-core/runtime-benchmarks",
|
||||
"pezbp-runtime/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
#![warn(missing_docs)]
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
pub use bp_pezkuwi_core::*;
|
||||
pub use pezbp_pezkuwi_core::*;
|
||||
|
||||
use bp_header_pez_chain::ChainWithGrandpa;
|
||||
use pezbp_header_pez_chain::ChainWithGrandpa;
|
||||
use pezbp_runtime::{decl_bridge_finality_runtime_apis, Chain, ChainId};
|
||||
use pezframe_support::{pezsp_runtime::StateVersion, weights::Weight};
|
||||
|
||||
@@ -61,7 +61,7 @@ impl ChainWithGrandpa for Zagros {
|
||||
}
|
||||
|
||||
// The TransactionExtension used by Zagros.
|
||||
pub use bp_pezkuwi_core::CommonTransactionExtension as TransactionExtension;
|
||||
pub use pezbp_pezkuwi_core::CommonTransactionExtension as TransactionExtension;
|
||||
|
||||
/// Name of the teyrchains pezpallet in the Pezkuwichain runtime.
|
||||
pub const PARAS_PALLET_NAME: &str = "Paras";
|
||||
@@ -71,7 +71,7 @@ pub const WITH_ZAGROS_GRANDPA_PALLET_NAME: &str = "BridgeZagrosGrandpa";
|
||||
/// Name of the With-Zagros teyrchains pezpallet instance that is deployed at bridged chains.
|
||||
pub const WITH_ZAGROS_BRIDGE_TEYRCHAINS_PALLET_NAME: &str = "BridgeZagrosTeyrchains";
|
||||
|
||||
/// Maximal size of encoded `bp_teyrchains::ParaStoredHeaderData` structure among all Zagros
|
||||
/// Maximal size of encoded `pezbp_teyrchains::ParaStoredHeaderData` structure among all Zagros
|
||||
/// teyrchains.
|
||||
///
|
||||
/// It includes the block number and state root, so it shall be near 40 bytes, but let's have some
|
||||
|
||||
@@ -20,7 +20,9 @@ xcm-pez-simulator = { workspace = true, default-features = true }
|
||||
|
||||
# For building FRAME runtimes
|
||||
codec = { workspace = true, default-features = true }
|
||||
frame = { features = ["runtime"], workspace = true, default-features = true }
|
||||
pezframe = { features = ["runtime"], workspace = true, default-features = true }
|
||||
pezframe-support = { workspace = true, default-features = true }
|
||||
pezframe-system = { workspace = true, default-features = true }
|
||||
pezkuwi-runtime-teyrchains = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
pezsp-runtime = { workspace = true, default-features = true }
|
||||
@@ -39,7 +41,9 @@ test-log = { workspace = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"frame/runtime-benchmarks",
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezkuwi-runtime-teyrchains/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-message-queue/runtime-benchmarks",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
//! Mock network
|
||||
|
||||
use frame::deps::{
|
||||
use pezframe::deps::{
|
||||
pezframe_system,
|
||||
pezsp_io::TestExternalities,
|
||||
pezsp_runtime::{AccountId32, BuildStorage},
|
||||
@@ -66,7 +66,7 @@ pub fn para_ext() -> TestExternalities {
|
||||
use teyrchain::{MessageQueue, Runtime, System};
|
||||
|
||||
let t = pezframe_system::GenesisConfig::<Runtime>::default().build_storage().unwrap();
|
||||
let mut ext = frame::deps::pezsp_io::TestExternalities::new(t);
|
||||
let mut ext = pezframe::deps::pezsp_io::TestExternalities::new(t);
|
||||
ext.execute_with(|| {
|
||||
System::set_block_number(1);
|
||||
MessageQueue::set_para_id(2222.into());
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
//! Relay chain runtime mock.
|
||||
|
||||
use frame::{
|
||||
use pezframe::{
|
||||
deps::{pezframe_support::weights::WeightMeter, pezsp_runtime::AccountId32},
|
||||
prelude::*,
|
||||
runtime::prelude::*,
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
//! Relay chain XCM configuration
|
||||
|
||||
use frame::{
|
||||
use pezframe::{
|
||||
deps::pezframe_system,
|
||||
runtime::prelude::*,
|
||||
traits::{Disabled, Everything, Nothing},
|
||||
@@ -108,7 +108,7 @@ impl xcm_executor::Config for XcmConfig {
|
||||
type SubscriptionService = ();
|
||||
type PalletInstancesInfo = ();
|
||||
type FeeManager = ();
|
||||
type MaxAssetsIntoHolding = frame::traits::ConstU32<1>;
|
||||
type MaxAssetsIntoHolding = pezframe::traits::ConstU32<1>;
|
||||
type MessageExporter = ();
|
||||
type UniversalAliases = Nothing;
|
||||
type CallDispatcher = RuntimeCall;
|
||||
@@ -150,8 +150,8 @@ impl pezpallet_xcm::Config for Runtime {
|
||||
type AdminOrigin = pezframe_system::EnsureRoot<AccountId>;
|
||||
// No locking
|
||||
type TrustedLockers = ();
|
||||
type MaxLockers = frame::traits::ConstU32<0>;
|
||||
type MaxRemoteLockConsumers = frame::traits::ConstU32<0>;
|
||||
type MaxLockers = pezframe::traits::ConstU32<0>;
|
||||
type MaxRemoteLockConsumers = pezframe::traits::ConstU32<0>;
|
||||
type RemoteLockConsumerIdentifier = ();
|
||||
// How to turn locations into accounts
|
||||
type SovereignAccountOf = LocationToAccountId;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Pezkuwi. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
use frame::testing_prelude::*;
|
||||
use pezframe::testing_prelude::*;
|
||||
use test_log::test;
|
||||
use xcm::prelude::*;
|
||||
use xcm_executor::traits::{ConvertLocation, TransferType};
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
//! # Runtime
|
||||
|
||||
use frame::{deps::pezframe_system, runtime::prelude::*, traits::IdentityLookup};
|
||||
use pezframe::{deps::pezframe_system, runtime::prelude::*, traits::IdentityLookup};
|
||||
use xcm_executor::XcmExecutor;
|
||||
use xcm_pez_simulator::mock_message_queue;
|
||||
|
||||
@@ -25,7 +25,7 @@ mod xcm_config;
|
||||
use xcm_config::XcmConfig;
|
||||
|
||||
pub type Block = pezframe_system::mocking::MockBlock<Runtime>;
|
||||
pub type AccountId = frame::deps::pezsp_runtime::AccountId32;
|
||||
pub type AccountId = pezframe::deps::pezsp_runtime::AccountId32;
|
||||
pub type Balance = u64;
|
||||
|
||||
construct_runtime! {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
//! # XCM Configuration
|
||||
|
||||
use frame::{
|
||||
use pezframe::{
|
||||
deps::pezframe_system,
|
||||
runtime::prelude::*,
|
||||
traits::{Disabled, Everything, Nothing},
|
||||
@@ -135,7 +135,7 @@ impl xcm_executor::Config for XcmConfig {
|
||||
type SubscriptionService = ();
|
||||
type PalletInstancesInfo = ();
|
||||
type FeeManager = ();
|
||||
type MaxAssetsIntoHolding = frame::traits::ConstU32<1>;
|
||||
type MaxAssetsIntoHolding = pezframe::traits::ConstU32<1>;
|
||||
type MessageExporter = ();
|
||||
type UniversalAliases = Nothing;
|
||||
type CallDispatcher = RuntimeCall;
|
||||
@@ -176,8 +176,8 @@ impl pezpallet_xcm::Config for Runtime {
|
||||
type AdminOrigin = pezframe_system::EnsureRoot<AccountId>;
|
||||
// No locking
|
||||
type TrustedLockers = ();
|
||||
type MaxLockers = frame::traits::ConstU32<0>;
|
||||
type MaxRemoteLockConsumers = frame::traits::ConstU32<0>;
|
||||
type MaxLockers = pezframe::traits::ConstU32<0>;
|
||||
type MaxRemoteLockConsumers = pezframe::traits::ConstU32<0>;
|
||||
type RemoteLockConsumerIdentifier = ();
|
||||
// How to turn locations into accounts
|
||||
type SovereignAccountOf = LocationToAccountId;
|
||||
|
||||
@@ -42,7 +42,7 @@ pezkuwi-runtime-teyrchains = { workspace = true, default-features = true }
|
||||
pezkuwi-teyrchain-primitives = { workspace = true, default-features = true }
|
||||
pezpallet-assets = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
xcm-pez-simulator = { workspace = true, default-features = true }
|
||||
# xcm-pez-simulator = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -76,7 +76,7 @@ runtime-benchmarks = [
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"xcm-builder/runtime-benchmarks",
|
||||
"xcm-executor/runtime-benchmarks",
|
||||
"xcm-pez-simulator/runtime-benchmarks",
|
||||
# "xcm-pez-simulator/runtime-benchmarks",
|
||||
"xcm-runtime-pezapis/runtime-benchmarks",
|
||||
"xcm/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -27,12 +27,12 @@ hex-literal = { workspace = true }
|
||||
pezframe-system = { workspace = true }
|
||||
pezpallet-assets = { workspace = true }
|
||||
pezpallet-balances = { workspace = true }
|
||||
pezpallet-xcm = { workspace = true }
|
||||
# pezpallet-xcm = { workspace = true }
|
||||
pezsp-io = { workspace = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
tracing = { workspace = true }
|
||||
xcm-builder = { workspace = true }
|
||||
xcm-pez-simulator = { workspace = true, default-features = true }
|
||||
# xcm-pez-simulator = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -42,7 +42,7 @@ std = [
|
||||
"pezframe-system/std",
|
||||
"pezpallet-assets/std",
|
||||
"pezpallet-balances/std",
|
||||
"pezpallet-xcm/std",
|
||||
# "pezpallet-xcm/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-weights/std",
|
||||
@@ -57,11 +57,11 @@ runtime-benchmarks = [
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezpallet-assets/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-xcm/runtime-benchmarks",
|
||||
# "pezpallet-xcm/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"xcm-builder/runtime-benchmarks",
|
||||
"xcm-executor/runtime-benchmarks",
|
||||
"xcm-pez-simulator/runtime-benchmarks",
|
||||
# "xcm-pez-simulator/runtime-benchmarks",
|
||||
"xcm/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -31,8 +31,8 @@ serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
tokio = { workspace = true, features = ["rt-multi-thread"] }
|
||||
tokio-util = { workspace = true, features = ["time"] }
|
||||
zombienet-orchestrator = { workspace = true }
|
||||
zombienet-sdk = { workspace = true }
|
||||
pezkuwi-zombienet-orchestrator = { workspace = true }
|
||||
pezkuwi-zombienet-sdk = { workspace = true }
|
||||
|
||||
[features]
|
||||
zombie-metadata = []
|
||||
|
||||
@@ -14,8 +14,8 @@ use pezkuwi_primitives::{BlockNumber, CandidateHash, DisputeState, Id as ParaId,
|
||||
use serde_json::json;
|
||||
use tokio::time::Duration;
|
||||
use tokio_util::time::FutureExt;
|
||||
use zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
@@ -26,7 +26,7 @@ async fn dispute_past_session_slashing() -> Result<(), anyhow::Error> {
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
@@ -82,7 +82,7 @@ async fn dispute_past_session_slashing() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let malus = network.get_node("malicious-backer")?;
|
||||
|
||||
@@ -8,7 +8,7 @@ use anyhow::anyhow;
|
||||
use pezcumulus_zombienet_sdk_helpers::{assert_para_throughput, create_assign_core_call};
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
@@ -20,7 +20,7 @@ async fn basic_3cores_test() -> Result<(), anyhow::Error> {
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
@@ -69,7 +69,7 @@ async fn basic_3cores_test() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let relay_node = network.get_node("validator-0")?;
|
||||
|
||||
@@ -12,7 +12,7 @@ use pezcumulus_zombienet_sdk_helpers::{
|
||||
use pezkuwi_primitives::{CoreIndex, Id as ParaId};
|
||||
use serde_json::json;
|
||||
use std::collections::{BTreeMap, VecDeque};
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
@@ -24,7 +24,7 @@ async fn doesnt_break_teyrchains_test() -> Result<(), anyhow::Error> {
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
@@ -66,7 +66,7 @@ async fn doesnt_break_teyrchains_test() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let relay_node = network.get_node("validator-0")?;
|
||||
|
||||
@@ -13,8 +13,8 @@ use pezcumulus_zombienet_sdk_helpers::{
|
||||
};
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
@@ -26,7 +26,7 @@ async fn slot_based_12cores_test() -> Result<(), anyhow::Error> {
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
@@ -79,7 +79,7 @@ async fn slot_based_12cores_test() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let relay_node = network.get_node("validator-0")?;
|
||||
|
||||
@@ -11,7 +11,7 @@ use pezcumulus_zombienet_sdk_helpers::{
|
||||
};
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
@@ -23,7 +23,7 @@ async fn slot_based_3cores_test() -> Result<(), anyhow::Error> {
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
@@ -86,7 +86,7 @@ async fn slot_based_3cores_test() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let relay_node = network.get_node("validator-0")?;
|
||||
|
||||
@@ -8,7 +8,7 @@ use anyhow::anyhow;
|
||||
use pezcumulus_zombienet_sdk_helpers::{assert_finality_lag, assert_para_throughput};
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
@@ -19,7 +19,7 @@ async fn approval_voting_coalescing_test() -> Result<(), anyhow::Error> {
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
let no_show_slots = 4;
|
||||
let mut config_builder = NetworkConfigBuilder::new().with_relaychain(|r| {
|
||||
let r = r
|
||||
@@ -66,7 +66,7 @@ async fn approval_voting_coalescing_test() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
|
||||
log::info!("Spawning network");
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
@@ -12,8 +12,8 @@ use tokio::time::Duration;
|
||||
use pezcumulus_zombienet_sdk_helpers::{assert_finality_lag, assert_para_throughput};
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
@@ -24,7 +24,7 @@ async fn approved_peer_mixed_validators_test() -> Result<(), anyhow::Error> {
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
@@ -101,7 +101,7 @@ async fn approved_peer_mixed_validators_test() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let relay_node = network.get_node("validator-0")?;
|
||||
|
||||
@@ -8,7 +8,7 @@ use anyhow::anyhow;
|
||||
use pezcumulus_zombienet_sdk_helpers::{assert_finality_lag, assert_para_throughput};
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
@@ -19,7 +19,7 @@ async fn async_backing_6_seconds_rate_test() -> Result<(), anyhow::Error> {
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
@@ -68,7 +68,7 @@ async fn async_backing_6_seconds_rate_test() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let relay_node = network.get_node("validator-0")?;
|
||||
|
||||
@@ -22,15 +22,15 @@ use anyhow::anyhow;
|
||||
use pezcumulus_zombienet_sdk_helpers::assert_para_throughput;
|
||||
use serde_json::json;
|
||||
use tokio::time::Duration;
|
||||
use zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn dispute_old_finalized() -> Result<(), anyhow::Error> {
|
||||
let _ = env_logger::try_init_from_env(
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let config = zombienet_sdk::NetworkConfigBuilder::new()
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
let config = pezkuwi_zombienet_sdk::NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
let r = r
|
||||
.with_chain("pezkuwichain-local")
|
||||
@@ -100,7 +100,7 @@ async fn dispute_old_finalized() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errors: {errors}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let honest = network.get_node("honest-0")?;
|
||||
|
||||
@@ -10,8 +10,8 @@ use tokio::time::Duration;
|
||||
use pezcumulus_zombienet_sdk_helpers::{assert_para_throughput, create_assign_core_call};
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
@@ -25,7 +25,7 @@ async fn duplicate_collations_test() -> Result<(), anyhow::Error> {
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
@@ -79,7 +79,7 @@ async fn duplicate_collations_test() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let relay_node = network.get_node("validator-0")?;
|
||||
|
||||
@@ -9,7 +9,7 @@ use anyhow::anyhow;
|
||||
use pezcumulus_zombienet_sdk_helpers::{assert_finality_lag, assert_para_throughput};
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{self, ext::scale_value::value, OnlineClient, PezkuwiConfig},
|
||||
subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
@@ -21,7 +21,7 @@ async fn shared_core_idle_teyrchain_test() -> Result<(), anyhow::Error> {
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
@@ -65,7 +65,7 @@ async fn shared_core_idle_teyrchain_test() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let relay_node = network.get_node("validator-0")?;
|
||||
|
||||
+4
-4
@@ -9,8 +9,8 @@ use tokio::time::Duration;
|
||||
use pezcumulus_zombienet_sdk_helpers::assert_para_throughput;
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
@@ -21,7 +21,7 @@ async fn spam_statement_distribution_requests_test() -> Result<(), anyhow::Error
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
@@ -100,7 +100,7 @@ async fn spam_statement_distribution_requests_test() -> Result<(), anyhow::Error
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let malus = network.get_node("malus")?;
|
||||
|
||||
@@ -8,7 +8,7 @@ use anyhow::anyhow;
|
||||
use pezcumulus_zombienet_sdk_helpers::{assert_finality_lag, assert_para_throughput};
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
@@ -19,7 +19,7 @@ async fn sync_backing_test() -> Result<(), anyhow::Error> {
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
@@ -57,7 +57,7 @@ async fn sync_backing_test() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let relay_node = network.get_node("validator-0")?;
|
||||
|
||||
@@ -9,7 +9,7 @@ use pezkuwi_primitives::{
|
||||
BlockNumber, CandidateHash, DisputeState, SessionIndex, ValidatorId, ValidatorIndex,
|
||||
};
|
||||
use serde_json::json;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
@@ -19,7 +19,7 @@ async fn validator_disabling_test() -> Result<(), anyhow::Error> {
|
||||
let _ = env_logger::try_init_from_env(
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
let config_builder = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
let r = r
|
||||
@@ -80,7 +80,7 @@ async fn validator_disabling_test() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errors: {errors}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
log::info!("Spawning network");
|
||||
let network = spawn_fn(config_builder).await?;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ use pezkuwi_subxt::{events::StaticEvent, utils::AccountId32, OnlineClient, Pezku
|
||||
use serde_json::json;
|
||||
use std::{fmt::Display, sync::Arc};
|
||||
use tokio::sync::RwLock;
|
||||
use zombienet_sdk::{subxt_signer::sr25519::dev, NetworkConfigBuilder};
|
||||
use pezkuwi_zombienet_sdk::{subxt_signer::sr25519::dev, NetworkConfigBuilder};
|
||||
|
||||
use coretime_pezkuwichain::{
|
||||
self as coretime_api,
|
||||
@@ -220,7 +220,7 @@ async fn coretime_revenue_test() -> Result<(), anyhow::Error> {
|
||||
env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "info"),
|
||||
);
|
||||
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
r.with_chain("pezkuwichain-local")
|
||||
@@ -246,7 +246,7 @@ async fn coretime_revenue_test() -> Result<(), anyhow::Error> {
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
let relay_node = network.get_node("alice")?;
|
||||
|
||||
@@ -20,7 +20,7 @@ use pezpallet_revive::AddressMapper;
|
||||
use pezsp_core::{H160, H256};
|
||||
use rand::Rng;
|
||||
use std::str::FromStr;
|
||||
use zombienet_sdk::{
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt_signer::{
|
||||
sr25519::{dev, Keypair},
|
||||
SecretUri,
|
||||
@@ -152,7 +152,7 @@ async fn wait_warmup_finish(collator: &NetworkNode) -> Result<(), anyhow::Error>
|
||||
}
|
||||
|
||||
async fn setup_network() -> Result<Network<LocalFileSystem>, anyhow::Error> {
|
||||
let images = zombienet_sdk::environment::get_images_from_env();
|
||||
let images = pezkuwi_zombienet_sdk::environment::get_images_from_env();
|
||||
let config = NetworkConfigBuilder::new()
|
||||
.with_relaychain(|r| {
|
||||
r.with_chain("zagros-local")
|
||||
@@ -192,7 +192,7 @@ async fn setup_network() -> Result<Network<LocalFileSystem>, anyhow::Error> {
|
||||
let errs = e.into_iter().map(|e| e.to_string()).collect::<Vec<_>>().join(" ");
|
||||
anyhow!("config errs: {errs}")
|
||||
})?;
|
||||
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
|
||||
let spawn_fn = pezkuwi_zombienet_sdk::environment::get_spawn_fn();
|
||||
let network = spawn_fn(config).await?;
|
||||
|
||||
Ok(network)
|
||||
|
||||
Reference in New Issue
Block a user