fix: CI quick-checks - fmt, taplo, umbrella version
This commit is contained in:
@@ -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",
|
||||
"pezsc-keystore/runtime-benchmarks",
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
"pezsp-consensus-babe/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,13 +54,13 @@ 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",
|
||||
"pezsc-keystore/runtime-benchmarks",
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
"pezsp-keyring/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,17 +90,17 @@ 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",
|
||||
]
|
||||
std = [
|
||||
"codec/std",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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-keystore/runtime-benchmarks",
|
||||
"pezsc-network/runtime-benchmarks",
|
||||
"pezsp-application-crypto/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",
|
||||
|
||||
@@ -163,11 +163,8 @@ where
|
||||
.build(),
|
||||
);
|
||||
|
||||
let grandpa_hard_forks = if config.chain_spec.is_dicle() {
|
||||
grandpa_support::dicle_hard_forks()
|
||||
} else {
|
||||
Vec::new()
|
||||
};
|
||||
let grandpa_hard_forks =
|
||||
if config.chain_spec.is_dicle() { grandpa_support::dicle_hard_forks() } else { Vec::new() };
|
||||
|
||||
let (grandpa_block_import, grandpa_link) =
|
||||
pezsc_consensus_grandpa::block_import_with_authority_set_hard_forks(
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
mod mock;
|
||||
|
||||
use mock::{
|
||||
dicle_like_with_balances, AccountId, Balance, Balances, BaseXcmWeight, System, XcmConfig,
|
||||
CENTS,
|
||||
dicle_like_with_balances, AccountId, Balance, Balances, BaseXcmWeight, System, XcmConfig, CENTS,
|
||||
};
|
||||
use pezkuwi_teyrchain_primitives::primitives::Id as ParaId;
|
||||
use pezsp_runtime::traits::AccountIdConversion;
|
||||
|
||||
Reference in New Issue
Block a user