chore: format TOML files with taplo

This commit is contained in:
2025-12-23 02:10:16 +03:00
parent 0ac1a3da30
commit 436143ce3a
31 changed files with 132 additions and 214 deletions
-82
View File
@@ -1,82 +0,0 @@
rules:
- name: CI files
countAuthor: true
condition:
include:
- ^\.gitlab-ci\.yml
- ^docker/.*
- ^\.github/.*
- ^\.gitlab/.*
- ^\.config/nextest.toml
- ^\.cargo/.*
- ^\.forklift/.*
exclude:
- ^\.gitlab/pipeline/zombienet.*
type: "or"
reviewers:
- minApprovals: 2
teams:
- ci
- minApprovals: 2
teams:
- core-devs
- name: Core developers
countAuthor: true
condition:
include:
- .*
# excluding files from 'Runtime files' and 'CI files' rules
exclude:
- ^pezcumulus/teyrchains/common/src/[^/]+\.rs$
- ^\.gitlab-ci\.yml
- ^docker/.*
- ^\.github/.*
- ^\.gitlab/.*
- ^\.forklift/.*
- ^\.config/nextest.toml
- ^\.cargo/.*
minApprovals: 2
type: basic
teams:
- core-devs
# if there are any changes in the pezbridges subtree
- name: Pezbridges subtree files
type: basic
condition:
include:
- ^pezbridges/.*
minApprovals: 1
teams:
- bridges-core
# Smart Contracts
- name: Smart Contracts
type: basic
condition:
include:
- ^bizinikiwi/pezframe/contracts/.*
- ^bizinikiwi/pezframe/revive/.*
minApprovals: 1
teams:
- smart-contracts
# Protection of THIS file
- name: Review Bot
countAuthor: true
condition:
include:
- review-bot\.yml
type: "and"
reviewers:
- minApprovals: 1
teams:
- opstooling
- minApprovals: 1
teams:
- locks-review
preventReviewRequests:
teams:
- core-devs
+1 -1
View File
@@ -225,5 +225,5 @@ try-runtime = [
"bizinikiwi-cli-test-utils/try-runtime",
"pez-kitchensink-runtime/try-runtime",
"pezkuwi-sdk/try-runtime",
"pezsp-runtime/try-runtime"
"pezsp-runtime/try-runtime",
]
+3 -3
View File
@@ -72,13 +72,13 @@ std = [
runtime-benchmarks = [
"bizinikiwi-wasm-builder?/runtime-benchmarks",
"pez-node-primitives/runtime-benchmarks",
"pezframe-try-runtime?/runtime-benchmarks",
"pezkuwi-sdk/runtime-benchmarks",
"pezpallet-example-mbm/runtime-benchmarks",
"pezpallet-example-tasks/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"rand",
"rand_pcg",
"pezframe-try-runtime?/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks"
]
try-runtime = [
"pezframe-try-runtime",
@@ -86,7 +86,7 @@ try-runtime = [
"pezkuwi-sdk/try-runtime",
"pezpallet-example-mbm/try-runtime",
"pezpallet-example-tasks/try-runtime",
"pezsp-runtime/try-runtime"
"pezsp-runtime/try-runtime",
]
experimental = ["pezpallet-example-tasks/experimental"]
metadata-hash = ["bizinikiwi-wasm-builder/metadata-hash"]
@@ -14,9 +14,15 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
cfg-if = "1.0.0"
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.0.0", default-features = false, optional = true, features = ["derive"] }
serde = { version = "1.0.101", default-features = false, optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.0.0", default-features = false, optional = true, features = [
"derive",
] }
serde = { version = "1.0.101", default-features = false, optional = true, features = [
"derive",
] }
[features]
default = ["current", "std"]
@@ -31,20 +37,9 @@ current = ["scale-info"]
unstable = ["current"]
# Serde support without relying on std features
serde_full = [
"codec/serde",
"scale-info/serde",
"serde",
"serde/alloc",
]
serde_full = ["codec/serde", "scale-info/serde", "serde", "serde/alloc"]
# Scale decode support without relying on std features
decode = ["scale-info/decode"]
std = [
"codec/std",
"decode",
"scale-info/std",
"serde/std",
"serde_full",
]
std = ["codec/std", "decode", "scale-info/std", "serde/std", "serde_full"]
+1 -1
View File
@@ -114,6 +114,7 @@ std = [
"pezframe-support/std",
"pezframe-system/std",
"pezkuwi-subxt-signer",
"pezkuwi-subxt-signer?/std",
"pezpallet-proxy/std",
"pezpallet-revive-fixtures?/std",
"pezpallet-timestamp/std",
@@ -140,7 +141,6 @@ std = [
"secp256k1/std",
"serde/std",
"serde_json/std",
"pezkuwi-subxt-signer?/std"
]
runtime-benchmarks = [
"k256",
@@ -43,13 +43,9 @@ pezkuwi-sdk = { workspace = true, features = ["bizinikiwi-build-script-utils"] }
[features]
default = ["std"]
std = [
"pez-revive-dev-runtime/std",
"pezkuwi-sdk/std",
"pezsp-runtime/std"
]
std = ["pez-revive-dev-runtime/std", "pezkuwi-sdk/std", "pezsp-runtime/std"]
runtime-benchmarks = [
"pez-revive-dev-runtime/runtime-benchmarks",
"pezkuwi-sdk/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks"
"pezsp-runtime/runtime-benchmarks",
]
@@ -51,5 +51,5 @@ std = [
]
runtime-benchmarks = [
"pezkuwi-sdk/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks"
"pezsp-runtime/runtime-benchmarks",
]
@@ -25,10 +25,5 @@ wasmtime = { optional = true, workspace = true }
[features]
default = ["std"]
std = [
"anyhow?/std",
"codec/std",
"log/std",
"wasmtime?/std",
]
std = ["anyhow?/std", "codec/std", "log/std", "wasmtime?/std"]
wasmtime = ["anyhow", "dep:wasmtime"]
+1 -1
View File
@@ -33,8 +33,8 @@ std = [
"pezsp-arithmetic/std",
"pezsp-debug-derive/std",
"scale-info/std",
"schemars?/std",
"serde/std",
"schemars?/std"
]
# By default some types have documentation, `full-metadata-docs` allows to add documentation to
# more types in the metadata.
@@ -37,7 +37,11 @@ pezframe-support = { workspace = true, default-features = true }
pezframe-system = { workspace = true, default-features = true }
pezkuwi-primitives = { workspace = true, default-features = true }
pezkuwi-subxt = { workspace = true, features = ["native"] }
pezkuwi-subxt-signer = { workspace = true, features = ["sr25519", "subxt", "unstable-eth"] }
pezkuwi-subxt-signer = { workspace = true, features = [
"sr25519",
"subxt",
"unstable-eth",
] }
pezkuwi-teyrchain-primitives = { workspace = true, default-features = true }
pezsc-block-builder = { workspace = true, default-features = true }
pezsc-chain-spec = { workspace = true }
+5 -1
View File
@@ -33,7 +33,11 @@ parking_lot = { workspace = true, default-features = true }
pezkuwi-subxt = { workspace = true, default-features = true }
pezkuwi-subxt-core = { workspace = true, default-features = true }
pezkuwi-subxt-rpcs = { workspace = true, default-features = true }
pezkuwi-subxt-signer = { workspace = true, features = ["sr25519", "subxt", "unstable-eth"] }
pezkuwi-subxt-signer = { workspace = true, features = [
"sr25519",
"subxt",
"unstable-eth",
] }
rand = { workspace = true, default-features = true }
serde = { workspace = true, default-features = true }
serde_json = { workspace = true, features = ["arbitrary_precision"] }
+4 -2
View File
@@ -20,7 +20,9 @@ futures = { workspace = true }
log = { workspace = true }
pezcumulus-zombienet-sdk-helpers = { workspace = true }
pezkuwi-primitives = { workspace = true, default-features = true }
pezkuwi-subxt = { workspace = true, default-features = false, features = ["native"] }
pezkuwi-subxt = { workspace = true, default-features = false, features = [
"native",
] }
pezpallet-revive = { workspace = true, features = ["std"] }
pezsp-core = { workspace = true }
pezsp-runtime = { workspace = true }
@@ -43,7 +45,7 @@ runtime-benchmarks = [
"pezsc-executor/runtime-benchmarks",
"pezsc-runtime-utilities/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks"
"pezsp-runtime/runtime-benchmarks",
]
[build-dependencies]
+2 -2
View File
@@ -46,10 +46,10 @@ default = ["std"]
std = [
"pez-minimal-template-runtime/std",
"pezkuwi-sdk/std",
"pezsp-runtime/std"
"pezsp-runtime/std",
]
runtime-benchmarks = [
"pez-minimal-template-runtime/runtime-benchmarks",
"pezkuwi-sdk/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks"
"pezsp-runtime/runtime-benchmarks",
]
+2 -2
View File
@@ -47,11 +47,11 @@ std = [
]
runtime-benchmarks = [
"pezkuwi-sdk/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"teyrchain-template-runtime/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks"
]
try-runtime = [
"pezkuwi-sdk/try-runtime",
"pezsp-runtime/try-runtime",
"teyrchain-template-runtime/try-runtime",
"pezsp-runtime/try-runtime"
]
+2 -2
View File
@@ -110,10 +110,10 @@ runtime-benchmarks = [
"bizinikiwi-wasm-builder?/runtime-benchmarks",
"hex-literal",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
"pezframe-try-runtime?/runtime-benchmarks",
"pezkuwi-sdk/runtime-benchmarks",
"pezpallet-teyrchain-template/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezframe-try-runtime?/runtime-benchmarks"
]
try-runtime = [
"pezcumulus-pezpallet-teyrchain-system/try-runtime",
@@ -121,7 +121,7 @@ try-runtime = [
"pezframe-try-runtime/try-runtime",
"pezkuwi-sdk/try-runtime",
"pezpallet-teyrchain-template/try-runtime",
"pezsp-runtime/try-runtime"
"pezsp-runtime/try-runtime",
]
# Enable the metadata hash generation.
+5 -5
View File
@@ -17,11 +17,16 @@ keywords = ["extrinsic", "no-std", "parity", "subxt"]
[features]
default = ["std"]
std = [
"bitvec/std",
"blake2/std",
"codec/std",
"frame-decode/std",
"frame-metadata/std",
"hex/std",
"impl-serde/std",
"keccak-hash/std",
"pezkuwi-subxt-metadata/std",
"pezkuwi-subxt-signer/std",
"pezsp-core/std",
"pezsp-crypto-hashing/std",
"pezsp-keyring/std",
@@ -30,11 +35,6 @@ std = [
"serde/std",
"serde_json/std",
"tracing/std",
"bitvec/std",
"blake2/std",
"frame-decode/std",
"keccak-hash/std",
"pezkuwi-subxt-signer/std"
]
[dependencies]
+1 -1
View File
@@ -12,7 +12,7 @@ repository.workspace = true
documentation.workspace = true
homepage.workspace = true
description = "Light Client for chain interaction"
keywords = ["blockchain", "parity", "bizinikiwi"]
keywords = ["bizinikiwi", "blockchain", "parity"]
[lints]
workspace = true
+4 -4
View File
@@ -16,12 +16,12 @@ description = "Command line utilities for checking metadata compatibility betwee
[features]
default = ["legacy", "std"]
std = [
"frame-metadata/std",
"scale-info/std",
"bitvec/std",
"frame-decode/std",
"codec/std",
"pezsp-crypto-hashing/std"
"frame-decode/std",
"frame-metadata/std",
"pezsp-crypto-hashing/std",
"scale-info/std",
]
# Enable decoding of legacy metadata, too.
+10 -10
View File
@@ -18,10 +18,19 @@ keywords = ["extrinsic", "parity", "signer", "subxt"]
default = ["ecdsa", "sr25519", "std", "subxt"]
std = [
"base64?/std",
"bip32?/std",
"bip39/std",
"codec/std",
"crypto_secretbox?/std",
"getrandom?/std",
"hex/std",
"hmac/std",
"keccak-hash?/std",
"pbkdf2/std",
"pezkuwi-subxt-core?/std",
"pezsp-core/std",
"pezsp-crypto-hashing/std",
"pezsp-keyring/std",
"regex/std",
"schnorrkel?/std",
"scrypt?/std",
@@ -29,16 +38,7 @@ std = [
"serde?/std",
"serde_json?/std",
"sha2/std",
"bip32?/std",
"getrandom?/std",
"hex/std",
"keccak-hash?/std",
"codec/std",
"pezkuwi-subxt-core?/std",
"pezsp-core/std",
"pezsp-crypto-hashing/std",
"pezsp-keyring/std",
"zeroize/std"
"zeroize/std",
]
# Pick the signer implementation(s) you need by enabling the
+7 -1
View File
@@ -8,6 +8,12 @@ use_builtin = true
[hunspell.quirks]
# `Type`'s
# 5x
transform_regex = ["^'([^\\s])'$", "^[0-9]+(?:\\.[0-9]*)?x$", "^'s$", "^\\+$", "[><+-]"]
transform_regex = [
"[><+-]",
"^'([^\\s])'$",
"^'s$",
"^[0-9]+(?:\\.[0-9]*)?x$",
"^\\+$",
]
allow_concatenation = true
allow_dashes = true
@@ -8,22 +8,21 @@ publish = true
license.workspace = true
repository.workspace = true
description = "Zombienet sdk config builder, allow to build a network configuration"
keywords = ["zombienet", "configuration", "sdk"]
keywords = ["configuration", "sdk", "zombienet"]
[dependencies]
regex = { workspace = true }
anyhow = { workspace = true }
lazy_static = { workspace = true }
multiaddr = { workspace = true }
url = { workspace = true, features = ["serde"] }
thiserror = { workspace = true }
anyhow = { workspace = true }
serde = { workspace = true, features = ["derive"] }
toml = { workspace = true }
serde_json = { workspace = true }
regex = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["fs"] }
toml = { workspace = true }
tracing = { workspace = true }
url = { workspace = true, features = ["serde"] }
# zombienet deps
support = { workspace = true }
@@ -9,8 +9,8 @@ default_command = "polkadot"
default_image = "docker.io/parity/polkadot:latest"
default_db_snapshot = "https://storage.com/path/to/db_snapshot.tgz"
default_args = [
"-name=value",
"--flag",
"--flag",
"-name=value",
]
[relaychain.default_resources.requests]
@@ -6,4 +6,4 @@ default_command = "polkadot"
name = "alice"
[[relaychain.nodes]]
name = "bob"
name = "bob"
@@ -24,4 +24,4 @@ name = "charlie"
rpc_port = 9946
args = [
"-lruntime::system=debug,runtime::multiblock-election=trace,runtime::staking=debug,runtime::staking::rc-client=trace,runtime::rc-client=debug",
]
]
+19 -20
View File
@@ -8,47 +8,46 @@ publish = true
license.workspace = true
repository.workspace = true
description = "Zombienet Orchestrator, drive network spwan through providers"
keywords = ["zombienet", "orchestrator", "sdk"]
keywords = ["orchestrator", "sdk", "zombienet"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { workspace = true, features = ["time"] }
thiserror = { workspace = true }
multiaddr = { workspace = true }
serde_json = { workspace = true, features = ["arbitrary_precision"] }
futures = { workspace = true }
anyhow = { workspace = true }
rand = { workspace = true }
sha2 = { workspace = true, default-features = false }
async-trait = { workspace = true }
fancy-regex = { workspace = true }
futures = { workspace = true }
glob-match = { workspace = true }
hex = { workspace = true }
sp-core = { workspace = true }
libp2p = { workspace = true }
libsecp256k1 = { workspace = true }
multiaddr = { workspace = true }
pezkuwi-subxt = { workspace = true }
pezkuwi-subxt-signer = { workspace = true }
rand = { workspace = true }
regex = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = ["arbitrary_precision"] }
sha2 = { workspace = true, default-features = false }
sp-core = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["time"] }
tracing = { workspace = true }
uuid = { workspace = true }
regex = { workspace = true }
glob-match = { workspace = true }
async-trait = { workspace = true }
serde = { workspace = true, features = ["derive"] }
libsecp256k1 = { workspace = true }
fancy-regex = { workspace = true }
# staging-chain-spec-builder = { workspace = true }
# parity-scale-codec = { version = "3.7.5", features = ["derive"] }
# sc-chain-spec = {workspace = true, default-features = false}
sc-chain-spec = { workspace = true }
erased-serde = { workspace = true }
sc-chain-spec = { workspace = true }
# Zombienet deps
configuration = { workspace = true }
support = { workspace = true }
provider = { workspace = true }
prom-metrics-parser = { workspace = true }
provider = { workspace = true }
support = { workspace = true }
[dev-dependencies]
toml = { workspace = true }
async-trait = { workspace = true }
lazy_static = { workspace = true }
toml = { workspace = true }
@@ -8,7 +8,7 @@ publish = true
license.workspace = true
repository.workspace = true
description = "Prometheus metric parser, parse metrics provided by internal prometheus server"
keywords = ["zombienet", "prometheus"]
keywords = ["prometheus", "zombienet"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+20 -20
View File
@@ -8,40 +8,40 @@ publish = true
license.workspace = true
repository.workspace = true
description = "Zombienet provider, implement the logic to run the nodes in the native provider"
keywords = ["zombienet", "provider", "native"]
keywords = ["native", "provider", "zombienet"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
erased-serde = { workspace = true }
flate2 = { workspace = true }
futures = { workspace = true }
hex = { workspace = true }
k8s-openapi = { workspace = true, features = ["v1_27"] }
kube = { workspace = true, features = ["runtime", "ws"] }
nix = { workspace = true, features = ["signal"] }
regex = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true, features = ["derive", "rc"] }
serde_json = { workspace = true }
serde_yaml = { workspace = true }
sha2 = { workspace = true }
tar = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = [
"process",
"macros",
"fs",
"time",
"rt",
"fs",
"macros",
"process",
"rt",
"time",
] }
tokio-util = { workspace = true, features = ["compat"] }
thiserror = { workspace = true }
anyhow = { workspace = true }
uuid = { workspace = true, features = ["v4"] }
nix = { workspace = true, features = ["signal"] }
kube = { workspace = true, features = ["ws", "runtime"] }
k8s-openapi = { workspace = true, features = ["v1_27"] }
tar = { workspace = true }
sha2 = { workspace = true }
hex = { workspace = true }
tracing = { workspace = true }
reqwest = { workspace = true }
regex = { workspace = true }
url = { workspace = true }
flate2 = { workspace = true }
erased-serde = { workspace = true }
uuid = { workspace = true, features = ["v4"] }
# Zomebienet deps
support = { workspace = true }
configuration = { workspace = true }
support = { workspace = true }
+5 -5
View File
@@ -8,17 +8,17 @@ publish = true
license.workspace = true
repository.workspace = true
description = "Zombienet SDK, entrypoint for using zombienet"
keywords = ["zombienet", "sdk"]
keywords = ["sdk", "zombienet"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-trait = { workspace = true }
tokio = { workspace = true }
futures = { workspace = true }
lazy_static = { workspace = true }
pezkuwi-subxt = { workspace = true }
pezkuwi-subxt-signer = { workspace = true, features = ["subxt"] }
tokio = { workspace = true }
# Zombienet deps
configuration = { workspace = true }
@@ -27,7 +27,7 @@ provider = { workspace = true }
support = { workspace = true }
[dev-dependencies]
tracing-subscriber = { workspace = true }
kube = { workspace = true, features = ["ws", "runtime"] }
k8s-openapi = { workspace = true, features = ["v1_27"] }
serde_json = {workspace = true }
kube = { workspace = true, features = ["runtime", "ws"] }
serde_json = { workspace = true }
tracing-subscriber = { workspace = true }
+6 -6
View File
@@ -13,16 +13,16 @@ keywords = ["zombienet"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
thiserror = { workspace = true }
anyhow = { workspace = true }
async-trait = { workspace = true }
futures = { workspace = true }
reqwest = { workspace = true }
tokio = { workspace = true, features = ["full"] }
uuid = { workspace = true, features = ["v4"] }
lazy_static = { workspace = true }
nix = { workspace = true, features = ["signal"] }
rand = { workspace = true }
regex = { workspace = true }
tracing = { workspace = true }
lazy_static = { workspace = true }
reqwest = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["full"] }
tracing = { workspace = true }
uuid = { workspace = true, features = ["v4"] }
+1 -1
View File
@@ -23,4 +23,4 @@ group_imports = "StdExternalCrate"
# additional formating
format_code_in_doc_comments = true
format_macro_matchers = true
format_macro_bodies = true
format_macro_bodies = true