fix(ci): resolve all quick-checks failures
- Remove missing cli crate from workspace members - Fix TOML array syntax errors in pvf and benchmarking-cli Cargo.toml - Fix Rust import ordering with cargo fmt - Fix feature propagation with zepter (try-runtime, runtime-benchmarks, std)
This commit is contained in:
+6
-6
@@ -112,10 +112,10 @@ runtime-benchmarks = [
|
||||
"pezkuwi-node-core-pvf/runtime-benchmarks",
|
||||
"pezkuwi-overseer/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = ["pezkuwi-cli/try-runtime"]
|
||||
fast-runtime = ["pezkuwi-cli/fast-runtime"]
|
||||
runtime-metrics = ["pezkuwi-cli/runtime-metrics"]
|
||||
pyroscope = ["pezkuwi-cli/pyroscope"]
|
||||
try-runtime = [ "pezkuwi-cli/try-runtime" ]
|
||||
fast-runtime = [ "pezkuwi-cli/fast-runtime" ]
|
||||
runtime-metrics = [ "pezkuwi-cli/runtime-metrics" ]
|
||||
pyroscope = [ "pezkuwi-cli/pyroscope" ]
|
||||
jemalloc-allocator = [
|
||||
"dep:tikv-jemallocator",
|
||||
"pezkuwi-node-core-pvf-prepare-worker/jemalloc-allocator",
|
||||
@@ -125,8 +125,8 @@ jemalloc-allocator = [
|
||||
|
||||
# Generate the metadata hash needed for CheckMetadataHash
|
||||
# in the builtin test runtimes (zagros and pezkuwichain).
|
||||
metadata-hash = ["pezkuwi-cli/metadata-hash"]
|
||||
metadata-hash = [ "pezkuwi-cli/metadata-hash" ]
|
||||
|
||||
# Enables timeout-based tests supposed to be run only in CI environment as they may be flaky
|
||||
# when run locally depending on system load
|
||||
ci-only-tests = ["pezkuwi-node-core-pvf/ci-only-tests"]
|
||||
ci-only-tests = [ "pezkuwi-node-core-pvf/ci-only-tests" ]
|
||||
|
||||
+11
-11
@@ -47,10 +47,10 @@ pezsp-runtime = { workspace = true, default-features = true }
|
||||
bizinikiwi-build-script-utils = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["cli", "db", "full-node"]
|
||||
db = ["pezkuwi-service/db"]
|
||||
metadata-hash = ["pezkuwi-service/metadata-hash"]
|
||||
service = ["dep:pezkuwi-service"]
|
||||
default = [ "cli", "db", "full-node" ]
|
||||
db = [ "pezkuwi-service/db" ]
|
||||
metadata-hash = [ "pezkuwi-service/metadata-hash" ]
|
||||
service = [ "dep:pezkuwi-service" ]
|
||||
cli = [
|
||||
"clap",
|
||||
"pezframe-benchmarking-cli",
|
||||
@@ -71,16 +71,16 @@ runtime-benchmarks = [
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
full-node = ["pezkuwi-service/full-node"]
|
||||
try-runtime = ["pezkuwi-service?/try-runtime", "pezsp-runtime/try-runtime"]
|
||||
fast-runtime = ["pezkuwi-service/fast-runtime"]
|
||||
pyroscope = ["dep:pyroscope", "pyroscope_pprofrs"]
|
||||
full-node = [ "pezkuwi-service/full-node" ]
|
||||
try-runtime = [ "pezkuwi-service?/try-runtime", "pezsp-runtime/try-runtime" ]
|
||||
fast-runtime = [ "pezkuwi-service/fast-runtime" ]
|
||||
pyroscope = [ "dep:pyroscope", "pyroscope_pprofrs" ]
|
||||
|
||||
# Configure the native runtimes to use.
|
||||
zagros-native = ["pezkuwi-service/zagros-native"]
|
||||
pezkuwichain-native = ["pezkuwi-service/pezkuwichain-native"]
|
||||
zagros-native = [ "pezkuwi-service/zagros-native" ]
|
||||
pezkuwichain-native = [ "pezkuwi-service/pezkuwichain-native" ]
|
||||
|
||||
malus = ["full-node", "pezkuwi-service/malus"]
|
||||
malus = [ "full-node", "pezkuwi-service/malus" ]
|
||||
runtime-metrics = [
|
||||
"pezkuwi-node-metrics/runtime-metrics",
|
||||
"pezkuwi-service/runtime-metrics",
|
||||
|
||||
@@ -19,6 +19,6 @@ pezsp-runtime = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezsp-core/std", "pezsp-runtime/std", "scale-info/std"]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
default = [ "std" ]
|
||||
std = [ "codec/std", "pezsp-core/std", "pezsp-runtime/std", "scale-info/std" ]
|
||||
runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks" ]
|
||||
|
||||
@@ -77,7 +77,7 @@ pezsc-sysinfo = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
ci-only-tests = []
|
||||
jemalloc-allocator = ["pezkuwi-node-core-pvf-common/jemalloc-allocator"]
|
||||
jemalloc-allocator = [ "pezkuwi-node-core-pvf-common/jemalloc-allocator" ]
|
||||
# This feature is used to export test code to other crates without putting it in the production build.
|
||||
test-utils = [
|
||||
"dep:is_executable",
|
||||
|
||||
@@ -21,4 +21,4 @@ pezkuwi-primitives = { features = [
|
||||
tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = ["pezkuwi-primitives/runtime-benchmarks"]
|
||||
runtime-benchmarks = [ "pezkuwi-primitives/runtime-benchmarks" ]
|
||||
|
||||
@@ -67,7 +67,7 @@ bizinikiwi-build-script-utils = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
fast-runtime = ["pezkuwi-cli/fast-runtime"]
|
||||
fast-runtime = [ "pezkuwi-cli/fast-runtime" ]
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-cli/runtime-benchmarks",
|
||||
|
||||
@@ -56,7 +56,7 @@ itertools = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
experimental-collator-protocol = ["async-trait", "tokio"]
|
||||
experimental-collator-protocol = [ "async-trait", "tokio" ]
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
|
||||
@@ -39,10 +39,10 @@ pezkuwi-node-subsystem-test-helpers = { workspace = true }
|
||||
pezkuwi-primitives-test-helpers = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["futures_channel"]
|
||||
expand = ["orchestra/expand"]
|
||||
futures_channel = ["metered/futures_channel", "orchestra/futures_channel"]
|
||||
jemalloc-allocator = ["dep:tikv-jemalloc-ctl"]
|
||||
default = [ "futures_channel" ]
|
||||
expand = [ "orchestra/expand" ]
|
||||
futures_channel = [ "metered/futures_channel", "orchestra/futures_channel" ]
|
||||
jemalloc-allocator = [ "dep:tikv-jemalloc-ctl" ]
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-node-metrics/runtime-benchmarks",
|
||||
|
||||
@@ -146,8 +146,8 @@ pezsp-tracing = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["db", "full-node"]
|
||||
db = ["pezsc-service/rocksdb"]
|
||||
default = [ "db", "full-node" ]
|
||||
db = [ "pezsc-service/rocksdb" ]
|
||||
full-node = [
|
||||
"kvdb-rocksdb",
|
||||
"parity-db",
|
||||
@@ -301,7 +301,7 @@ fast-runtime = [
|
||||
"zagros-runtime?/fast-runtime",
|
||||
]
|
||||
|
||||
malus = ["full-node"]
|
||||
malus = [ "full-node" ]
|
||||
runtime-metrics = [
|
||||
"pezkuwi-runtime-teyrchains/runtime-metrics",
|
||||
"pezkuwichain-runtime?/runtime-metrics",
|
||||
|
||||
@@ -102,7 +102,7 @@ strum = { features = ["derive"], workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
memprofile = ["dep:tikv-jemallocator"]
|
||||
memprofile = [ "dep:tikv-jemallocator" ]
|
||||
runtime-benchmarks = [
|
||||
"gum/runtime-benchmarks",
|
||||
"pezkuwi-approval-distribution/runtime-benchmarks",
|
||||
|
||||
@@ -60,7 +60,7 @@ pezpallet-balances = { workspace = true }
|
||||
tokio = { features = ["macros"], workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-metrics = ["pezkuwi-test-runtime/runtime-metrics"]
|
||||
runtime-metrics = [ "pezkuwi-test-runtime/runtime-metrics" ]
|
||||
runtime-benchmarks = [
|
||||
"bizinikiwi-test-client/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
|
||||
@@ -30,4 +30,4 @@ tokio = { features = [
|
||||
tokio-tungstenite = { workspace = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = ["gum/runtime-benchmarks"]
|
||||
runtime-benchmarks = [ "gum/runtime-benchmarks" ]
|
||||
|
||||
@@ -43,7 +43,7 @@ pezsp-staking = { workspace = true, default-features = false }
|
||||
serde = { version = "1.0" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -39,7 +39,7 @@ pezkuwi-core-primitives = { workspace = true }
|
||||
pezkuwi-teyrchain-primitives = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"bitvec/std",
|
||||
"bounded-collections/std",
|
||||
|
||||
@@ -74,7 +74,7 @@ pezsp-keystore = { workspace = true, default-features = true }
|
||||
serde_json = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
no_std = []
|
||||
std = [
|
||||
"bitvec/std",
|
||||
|
||||
@@ -19,6 +19,6 @@ paste = { workspace = true, default-features = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezsp-runtime/std"]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
default = [ "std" ]
|
||||
std = [ "codec/std", "pezsp-runtime/std" ]
|
||||
runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks" ]
|
||||
|
||||
@@ -21,7 +21,7 @@ pezsp-tracing = { workspace = true }
|
||||
bs58 = { features = ["alloc"], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"bs58/std",
|
||||
"codec/std",
|
||||
@@ -29,7 +29,7 @@ std = [
|
||||
"pezkuwi-primitives/std",
|
||||
"pezsp-tracing/std",
|
||||
]
|
||||
runtime-metrics = ["pezframe-benchmarking", "pezsp-tracing/with-tracing"]
|
||||
runtime-metrics = [ "pezframe-benchmarking", "pezsp-tracing/with-tracing" ]
|
||||
runtime-benchmarks = [
|
||||
"pezframe-benchmarking?/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
|
||||
@@ -129,14 +129,14 @@ tokio = { features = ["macros"], workspace = true, default-features = true }
|
||||
bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
no_std = []
|
||||
std = [
|
||||
"pez-binary-merkle-tree/std",
|
||||
"bitvec/std",
|
||||
"bizinikiwi-wasm-builder",
|
||||
"codec/std",
|
||||
"log/std",
|
||||
"pez-binary-merkle-tree/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
"pezframe-election-provider-support/std",
|
||||
"pezframe-executive/std",
|
||||
@@ -226,8 +226,8 @@ std = [
|
||||
"xcm/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pez-binary-merkle-tree/runtime-benchmarks",
|
||||
"bizinikiwi-wasm-builder?/runtime-benchmarks",
|
||||
"pez-binary-merkle-tree/runtime-benchmarks",
|
||||
"pezframe-benchmarking/runtime-benchmarks",
|
||||
"pezframe-election-provider-support/runtime-benchmarks",
|
||||
"pezframe-executive/runtime-benchmarks",
|
||||
@@ -359,10 +359,10 @@ try-runtime = [
|
||||
]
|
||||
|
||||
# Enable the metadata hash generation in the wasm builder.
|
||||
metadata-hash = ["bizinikiwi-wasm-builder/metadata-hash"]
|
||||
metadata-hash = [ "bizinikiwi-wasm-builder/metadata-hash" ]
|
||||
|
||||
# Set timing constants (e.g. session period) to faster versions to speed up testing.
|
||||
fast-runtime = ["pezkuwichain-runtime-constants/fast-runtime"]
|
||||
fast-runtime = [ "pezkuwichain-runtime-constants/fast-runtime" ]
|
||||
|
||||
runtime-metrics = [
|
||||
"pezkuwi-runtime-teyrchains/runtime-metrics",
|
||||
@@ -372,4 +372,4 @@ runtime-metrics = [
|
||||
# A feature that should be enabled when the runtime should be built for on-chain
|
||||
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
|
||||
# to make it smaller, like logging for example.
|
||||
on-chain-release-build = ["metadata-hash"]
|
||||
on-chain-release-build = [ "metadata-hash" ]
|
||||
|
||||
@@ -27,7 +27,7 @@ pezsp-api = { workspace = true }
|
||||
pezsp-std = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"pezbp-header-pez-chain/std",
|
||||
"pezbp-pezkuwi-core/std",
|
||||
|
||||
@@ -29,7 +29,7 @@ xcm = { workspace = true }
|
||||
xcm-builder = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"pezframe-support/std",
|
||||
"pezkuwi-primitives/std",
|
||||
|
||||
@@ -71,7 +71,7 @@ xcm-executor = { workspace = true }
|
||||
bizinikiwi-wasm-builder = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
no_std = []
|
||||
|
||||
runtime-metrics = [
|
||||
|
||||
@@ -21,8 +21,8 @@ pezkuwi-primitives = { workspace = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["pezframe-support/std", "pezkuwi-primitives/std", "pezsp-runtime/std"]
|
||||
default = [ "std" ]
|
||||
std = [ "pezframe-support/std", "pezkuwi-primitives/std", "pezsp-runtime/std" ]
|
||||
runtime-benchmarks = [
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
|
||||
@@ -78,7 +78,7 @@ serde_json = { workspace = true, default-features = true }
|
||||
thousands = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
no_std = []
|
||||
std = [
|
||||
"bitvec/std",
|
||||
|
||||
@@ -135,13 +135,13 @@ tokio = { features = ["macros"], workspace = true, default-features = true }
|
||||
bizinikiwi-wasm-builder = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
no_std = []
|
||||
std = [
|
||||
"pez-binary-merkle-tree/std",
|
||||
"bitvec/std",
|
||||
"codec/std",
|
||||
"log/std",
|
||||
"pez-binary-merkle-tree/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
"pezframe-election-provider-support/std",
|
||||
"pezframe-executive/std",
|
||||
@@ -239,8 +239,8 @@ std = [
|
||||
"zagros-runtime-constants/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pez-binary-merkle-tree/runtime-benchmarks",
|
||||
"bizinikiwi-wasm-builder/runtime-benchmarks",
|
||||
"pez-binary-merkle-tree/runtime-benchmarks",
|
||||
"pezframe-benchmarking/runtime-benchmarks",
|
||||
"pezframe-election-provider-support/runtime-benchmarks",
|
||||
"pezframe-executive/runtime-benchmarks",
|
||||
@@ -386,7 +386,7 @@ try-runtime = [
|
||||
]
|
||||
|
||||
# Enable the metadata hash generation in the wasm builder.
|
||||
metadata-hash = ["bizinikiwi-wasm-builder/metadata-hash"]
|
||||
metadata-hash = [ "bizinikiwi-wasm-builder/metadata-hash" ]
|
||||
|
||||
# Set timing constants (e.g. session period) to faster versions to speed up testing.
|
||||
fast-runtime = []
|
||||
@@ -399,4 +399,4 @@ runtime-metrics = [
|
||||
# A feature that should be enabled when the runtime should be built for on-chain
|
||||
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
|
||||
# to make it smaller, like logging for example.
|
||||
on-chain-release-build = ["metadata-hash"]
|
||||
on-chain-release-build = [ "metadata-hash" ]
|
||||
|
||||
@@ -27,7 +27,7 @@ pezsp-api = { workspace = true }
|
||||
pezsp-std = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"pezbp-header-pez-chain/std",
|
||||
"pezbp-pezkuwi-core/std",
|
||||
|
||||
@@ -29,7 +29,7 @@ xcm = { workspace = true }
|
||||
xcm-builder = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"pezframe-support/std",
|
||||
"pezkuwi-primitives/std",
|
||||
|
||||
@@ -30,7 +30,7 @@ scale-info = { features = ["derive", "serde"], workspace = true }
|
||||
serde = { features = ["alloc", "derive"], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
wasm-api = []
|
||||
std = [
|
||||
"bounded-collections/std",
|
||||
|
||||
@@ -27,8 +27,8 @@ pezsp-io = { features = ["disable_allocator"], workspace = true }
|
||||
bizinikiwi-wasm-builder = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezkuwi-teyrchain-primitives/std", "pezsp-io/std"]
|
||||
default = [ "std" ]
|
||||
std = [ "codec/std", "pezkuwi-teyrchain-primitives/std", "pezsp-io/std" ]
|
||||
runtime-benchmarks = [
|
||||
"bizinikiwi-wasm-builder/runtime-benchmarks",
|
||||
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
|
||||
|
||||
@@ -19,5 +19,5 @@ bizinikiwi-wasm-builder = { workspace = true, default-features = true }
|
||||
rustversion = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = []
|
||||
|
||||
@@ -29,7 +29,7 @@ pezsp-io = { features = ["disable_allocator"], workspace = true }
|
||||
bizinikiwi-wasm-builder = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -33,7 +33,7 @@ xcm-pez-procedural = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
wasm-api = []
|
||||
std = [
|
||||
"bounded-collections/std",
|
||||
|
||||
@@ -41,9 +41,9 @@ test-log = { workspace = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezkuwi-runtime-teyrchains/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-message-queue/runtime-benchmarks",
|
||||
|
||||
@@ -33,7 +33,7 @@ pezsp-tracing = { workspace = true, default-features = true }
|
||||
xcm = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-benchmarking/std",
|
||||
|
||||
@@ -45,7 +45,7 @@ pezsp-tracing = { workspace = true, default-features = true }
|
||||
# xcm-pez-simulator = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"bounded-collections/std",
|
||||
"codec/std",
|
||||
@@ -80,7 +80,7 @@ runtime-benchmarks = [
|
||||
"xcm-runtime-pezapis/runtime-benchmarks",
|
||||
"xcm/runtime-benchmarks",
|
||||
]
|
||||
test-utils = ["std"]
|
||||
test-utils = [ "std" ]
|
||||
try-runtime = [
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime",
|
||||
|
||||
@@ -39,7 +39,7 @@ xcm-builder = { workspace = true, default-features = true }
|
||||
xcm-pez-simulator = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-support/std",
|
||||
|
||||
@@ -50,7 +50,7 @@ primitive-types = { features = [
|
||||
xcm-pez-simulator = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
runtime-benchmarks = [
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
|
||||
@@ -28,7 +28,7 @@ tracing = { workspace = true }
|
||||
xcm = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
runtime-benchmarks = [
|
||||
"pezframe-benchmarking/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
|
||||
@@ -34,7 +34,7 @@ xcm = { workspace = true }
|
||||
xcm-executor = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std",
|
||||
|
||||
@@ -35,7 +35,7 @@ xcm-builder = { workspace = true }
|
||||
# xcm-pez-simulator = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-support/std",
|
||||
|
||||
@@ -11,14 +11,14 @@ use pezcumulus_zombienet_sdk_helpers::{
|
||||
assert_blocks_are_being_finalized, assert_para_throughput, wait_for_first_session_change,
|
||||
};
|
||||
use pezkuwi_primitives::{BlockNumber, CandidateHash, DisputeState, Id as ParaId, SessionIndex};
|
||||
use serde_json::json;
|
||||
use tokio::time::Duration;
|
||||
use tokio_util::time::FutureExt;
|
||||
use pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
use tokio::time::Duration;
|
||||
use tokio_util::time::FutureExt;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn dispute_past_session_slashing() -> Result<(), anyhow::Error> {
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
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 pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn basic_3cores_test() -> Result<(), anyhow::Error> {
|
||||
|
||||
@@ -10,13 +10,13 @@ use pezcumulus_zombienet_sdk_helpers::{
|
||||
assert_finality_lag, assert_para_throughput, create_assign_core_call,
|
||||
};
|
||||
use pezkuwi_primitives::{CoreIndex, Id as ParaId};
|
||||
use serde_json::json;
|
||||
use std::collections::{BTreeMap, VecDeque};
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
use std::collections::{BTreeMap, VecDeque};
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn doesnt_break_teyrchains_test() -> Result<(), anyhow::Error> {
|
||||
|
||||
@@ -12,13 +12,13 @@ use pezcumulus_zombienet_sdk_helpers::{
|
||||
assert_finality_lag, assert_para_throughput, create_assign_core_call,
|
||||
};
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn slot_based_12cores_test() -> Result<(), anyhow::Error> {
|
||||
|
||||
@@ -10,12 +10,12 @@ use pezcumulus_zombienet_sdk_helpers::{
|
||||
assert_finality_lag, assert_para_throughput, create_assign_core_call,
|
||||
};
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn slot_based_3cores_test() -> Result<(), anyhow::Error> {
|
||||
|
||||
@@ -7,11 +7,11 @@ 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 pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn approval_voting_coalescing_test() -> Result<(), anyhow::Error> {
|
||||
|
||||
@@ -11,12 +11,12 @@ 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 pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn approved_peer_mixed_validators_test() -> Result<(), anyhow::Error> {
|
||||
|
||||
@@ -7,11 +7,11 @@ 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 pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn async_backing_6_seconds_rate_test() -> Result<(), anyhow::Error> {
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
use anyhow::anyhow;
|
||||
|
||||
use pezcumulus_zombienet_sdk_helpers::assert_para_throughput;
|
||||
use pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use serde_json::json;
|
||||
use tokio::time::Duration;
|
||||
use pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn dispute_old_finalized() -> Result<(), anyhow::Error> {
|
||||
|
||||
@@ -9,13 +9,13 @@ 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 pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
const VALIDATOR_COUNT: u8 = 3;
|
||||
|
||||
|
||||
@@ -8,12 +8,12 @@ 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 pezkuwi_zombienet_sdk::{
|
||||
subxt::{self, ext::scale_value::value, OnlineClient, PezkuwiConfig},
|
||||
subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn shared_core_idle_teyrchain_test() -> Result<(), anyhow::Error> {
|
||||
|
||||
+1
-1
@@ -8,12 +8,12 @@ use tokio::time::Duration;
|
||||
|
||||
use pezcumulus_zombienet_sdk_helpers::assert_para_throughput;
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use serde_json::json;
|
||||
use pezkuwi_zombienet_orchestrator::network::node::LogLineCountOptions;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn spam_statement_distribution_requests_test() -> Result<(), anyhow::Error> {
|
||||
|
||||
@@ -7,11 +7,11 @@ 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 pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn sync_backing_test() -> Result<(), anyhow::Error> {
|
||||
|
||||
@@ -8,11 +8,11 @@ use pezcumulus_zombienet_sdk_helpers::assert_para_throughput;
|
||||
use pezkuwi_primitives::{
|
||||
BlockNumber, CandidateHash, DisputeState, SessionIndex, ValidatorId, ValidatorIndex,
|
||||
};
|
||||
use serde_json::json;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt::{OnlineClient, PezkuwiConfig},
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn validator_disabling_test() -> Result<(), anyhow::Error> {
|
||||
|
||||
@@ -29,10 +29,10 @@ use pezkuwichain::runtime_types::{
|
||||
};
|
||||
|
||||
use pezkuwi_subxt::{events::StaticEvent, utils::AccountId32, OnlineClient, PezkuwiConfig};
|
||||
use pezkuwi_zombienet_sdk::{subxt_signer::sr25519::dev, NetworkConfigBuilder};
|
||||
use serde_json::json;
|
||||
use std::{fmt::Display, sync::Arc};
|
||||
use tokio::sync::RwLock;
|
||||
use pezkuwi_zombienet_sdk::{subxt_signer::sr25519::dev, NetworkConfigBuilder};
|
||||
|
||||
use coretime_pezkuwichain::{
|
||||
self as coretime_api,
|
||||
|
||||
@@ -16,10 +16,6 @@ use pezkuwi_subxt::{
|
||||
config::pezkuwi::PezkuwiExtrinsicParamsBuilder, tx::SubmittableTransaction, OnlineClient,
|
||||
PezkuwiConfig,
|
||||
};
|
||||
use pezpallet_revive::AddressMapper;
|
||||
use pezsp_core::{H160, H256};
|
||||
use rand::Rng;
|
||||
use std::str::FromStr;
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
subxt_signer::{
|
||||
sr25519::{dev, Keypair},
|
||||
@@ -27,6 +23,10 @@ use pezkuwi_zombienet_sdk::{
|
||||
},
|
||||
LocalFileSystem, Network, NetworkConfigBuilder, NetworkNode,
|
||||
};
|
||||
use pezpallet_revive::AddressMapper;
|
||||
use pezsp_core::{H160, H256};
|
||||
use rand::Rng;
|
||||
use std::str::FromStr;
|
||||
|
||||
const KEYS_COUNT: usize = 6000;
|
||||
const CHUNK_SIZE: usize = 3000;
|
||||
|
||||
Reference in New Issue
Block a user