Skip to content

Commit

Permalink
revert formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Mar 6, 2024
1 parent ac53a97 commit 6e24fed
Show file tree
Hide file tree
Showing 8 changed files with 395 additions and 407 deletions.
16 changes: 8 additions & 8 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[alias]
build-bajun = "build --release --no-default-features --bin bajun-node"
build-bajun-benchmarks = ["build-bajun", "--features", "runtime-benchmarks"]
build-bajun = "build --release --no-default-features --bin bajun-node"
build-bajun-benchmarks = [ "build-bajun", "--features", "runtime-benchmarks" ]

[target.'cfg(feature = "cargo-clippy")']
rustflags = [
"-Aclippy::derive_partial_eq_without_eq",
"-Aclippy::too_many_arguments",
"-Aclippy::type_complexity",
"-Aclippy::uninlined-format-args",
"-Aclippy::unnecessary_cast",
"-Aclippy::large_enum_variant",
"-Aclippy::derive_partial_eq_without_eq",
"-Aclippy::too_many_arguments",
"-Aclippy::type_complexity",
"-Aclippy::uninlined-format-args",
"-Aclippy::unnecessary_cast",
"-Aclippy::large_enum_variant",
]
13 changes: 0 additions & 13 deletions .github/workflows/check-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,6 @@ jobs:
restore-keys: ${{ runner.os }}-cargo-lint-
- run: cargo clippy --workspace --all-features --all-targets ${{ env.CARGO_ARGS }} -- -D warnings

cargo-toml-fmt:
runs-on: ubuntu-latest
container: "tamasfe/taplo:0.7.0-alpine"
steps:
- uses: actions/checkout@v3

- name: Run Taplo fmt
run: taplo fmt --check

- name: Fail-fast; cancel other jobs
if: failure()
uses: andymckay/cancel-action@0.2

test:
if: ${{ !startsWith(github.head_ref, 'release/') }}
name: Test
Expand Down
2 changes: 1 addition & 1 deletion .maintain/zombienet-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ timeout = 120

[relaychain]
default_command = "./zombienet-tests/bin/polkadot"
default_args = ["-lparachain=debug"]
default_args = [ "-lparachain=debug" ]
chain = "rococo-local"

[[relaychain.nodes]]
Expand Down
249 changes: 126 additions & 123 deletions Cargo.toml

Large diffs are not rendered by default.

118 changes: 59 additions & 59 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,71 +1,71 @@
[package]
name = "bajun-node"

authors.workspace = true
edition.workspace = true
homepage.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
version.workspace = true
version.workspace = true

[dependencies]
# General
clap = { workspace = true, features = ["std"] }
log = { workspace = true, features = ["std"] }
serde = { workspace = true, features = ["derive"] }
jsonrpsee = { workspace = true, features = ["server"] }
futures = { workspace = true, features = ["std"] }
clap = { workspace = true, features = ["std"] }
log = { workspace = true, features = ["std"] }
serde = { workspace = true, features = ["derive"] }
jsonrpsee = { workspace = true, features = ["server"] }
futures = { workspace = true, features = ["std"] }
serde_json = { workspace = true, features = ["std"] }

# Parity codec
parity-scale-codec = { workspace = true, features = ["std"] }

# Substrate
frame-benchmarking = { workspace = true, features = ["std"] }
frame-benchmarking-cli = { workspace = true }
frame-benchmarking = { workspace = true, features = ["std"] }
frame-benchmarking-cli = { workspace = true }
pallet-transaction-payment-rpc = { workspace = true }
sc-basic-authorship = { workspace = true }
sc-chain-spec = { workspace = true }
sc-cli = { workspace = true }
sc-client-api = { workspace = true }
sc-offchain = { workspace = true }
sc-consensus = { workspace = true }
sc-executor = { workspace = true, features = ["std"] }
sc-network = { workspace = true }
sc-network-sync = { workspace = true }
sc-rpc = { workspace = true }
sc-service = { workspace = true }
sc-sysinfo = { workspace = true }
sc-telemetry = { workspace = true }
sc-tracing = { workspace = true }
sc-transaction-pool = { workspace = true }
sc-transaction-pool-api = { workspace = true }
sp-api = { workspace = true, features = ["std"] }
sp-block-builder = { workspace = true, features = ["std"] }
sp-blockchain = { workspace = true }
sp-consensus-aura = { workspace = true, features = ["std"] }
sp-core = { workspace = true, features = ["std"] }
sp-keystore = { workspace = true, features = ["std"] }
sp-runtime = { workspace = true, features = ["std"] }
sp-timestamp = { workspace = true, features = ["std"] }
substrate-frame-rpc-system = { workspace = true }
substrate-prometheus-endpoint = { workspace = true }
sc-basic-authorship = { workspace = true }
sc-chain-spec = { workspace = true }
sc-cli = { workspace = true }
sc-client-api = { workspace = true }
sc-offchain = { workspace = true }
sc-consensus = { workspace = true }
sc-executor = { workspace = true, features = ["std"] }
sc-network = { workspace = true }
sc-network-sync = { workspace = true }
sc-rpc = { workspace = true }
sc-service = { workspace = true }
sc-sysinfo = { workspace = true }
sc-telemetry = { workspace = true }
sc-tracing = { workspace = true }
sc-transaction-pool = { workspace = true }
sc-transaction-pool-api = { workspace = true }
sp-api = { workspace = true, features = ["std"] }
sp-block-builder = { workspace = true, features = ["std"] }
sp-blockchain = { workspace = true }
sp-consensus-aura = { workspace = true, features = ["std"] }
sp-core = { workspace = true, features = ["std"] }
sp-keystore = { workspace = true, features = ["std"] }
sp-runtime = { workspace = true, features = ["std"] }
sp-timestamp = { workspace = true, features = ["std"] }
substrate-frame-rpc-system = { workspace = true }
substrate-prometheus-endpoint = { workspace = true }

# Polkadot
polkadot-cli = { workspace = true }
polkadot-cli = { workspace = true }
polkadot-primitives = { workspace = true, features = ["std"] }
staging-xcm = { workspace = true, features = ["std"] }
staging-xcm = { workspace = true, features = ["std"] }

# Cumulus
cumulus-client-cli = { workspace = true }
cumulus-client-collator = { workspace = true }
cumulus-client-consensus-aura = { workspace = true }
cumulus-client-consensus-common = { workspace = true }
cumulus-client-consensus-proposer = { workspace = true }
cumulus-client-service = { workspace = true }
cumulus-primitives-core = { workspace = true, features = ["std"] }
cumulus-client-cli = { workspace = true }
cumulus-client-collator = { workspace = true }
cumulus-client-consensus-aura = { workspace = true }
cumulus-client-consensus-common = { workspace = true }
cumulus-client-consensus-proposer = { workspace = true }
cumulus-client-service = { workspace = true }
cumulus-primitives-core = { workspace = true, features = ["std"] }
cumulus-primitives-parachain-inherent = { workspace = true, features = ["std"] }
cumulus-relay-chain-interface = { workspace = true }
color-print = { workspace = true }
cumulus-relay-chain-interface = { workspace = true }
color-print = { workspace = true }

# Runtime
bajun-runtime = { workspace = true, features = ["std"] }
Expand All @@ -76,17 +76,17 @@ substrate-build-script-utils = { workspace = true }
[features]
default = []
runtime-benchmarks = [
"cumulus-primitives-core/runtime-benchmarks",
"frame-benchmarking-cli/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"bajun-runtime/runtime-benchmarks",
"polkadot-cli/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"sc-service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"cumulus-primitives-core/runtime-benchmarks",
"frame-benchmarking-cli/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"bajun-runtime/runtime-benchmarks",
"polkadot-cli/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"sc-service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"bajun-runtime/try-runtime",
"polkadot-cli/try-runtime",
"sp-runtime/try-runtime",
"bajun-runtime/try-runtime",
"polkadot-cli/try-runtime",
"sp-runtime/try-runtime",
]
Loading

0 comments on commit 6e24fed

Please sign in to comment.