Skip to content

Commit

Permalink
check fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden committed Jul 24, 2024
1 parent af475f1 commit 4240a0e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/parachain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
env:
FUZZ_MAX_LEN: 10000000000
FUZZ_MAX_RUNS: 30000
RUST_NIGHTLY: "2023-05-23"
RUST_NIGHTLY: "2024-02-08"

jobs:
format:
Expand All @@ -24,7 +24,6 @@ jobs:
RUST_BACKTRACE: 1
RUSTFLAGS: -C debuginfo=1
SKIP_WASM_BUILD: 1
RUST_NIGHTLY_VERSION: nightly-2024-02-08
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -55,7 +54,23 @@ jobs:
rustup component add rustfmt --toolchain nightly
rustup show
- name: format
run: cargo +nightly fmt -- --check
run: |
cargo +nightly fmt
-p snowbridge-pallet-ethereum-client
-p snowbridge-pallet-inbound-queue
-p snowbridge-pallet-outbound-queue
-p snowbridge-outbound-queue-merkle-tree
-p snowbridge-pallet-system
-p snowbridge-beacon-primitives
-p snowbridge-core
-p snowbridge-ethereum
-p snowbridge-router-primitives
-p snowbridge-runtime-common
-p bridge-hub-rococo-runtime
-p bridge-hub-rococo-integration-tests
-p asset-hub-rococo-integration-tests
--
--check
- name: install taplo
run: |
cargo install taplo-cli --locked
Expand All @@ -79,7 +94,6 @@ jobs:
RUST_BACKTRACE: 1
RUSTFLAGS: -C debuginfo=1
SKIP_WASM_BUILD: 1
RUST_NIGHTLY_VERSION: nightly-2024-02-08
steps:
- uses: actions/checkout@v2
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,15 @@ pub use sp_runtime::BuildStorage;

use polkadot_runtime_common::{BlockHashCount, SlowAdjustingFeeUpdate};
use rococo_runtime_constants::system_parachain::{ASSET_HUB_ID, BRIDGE_HUB_ID};
use xcm::prelude::*;
use xcm_runtime_apis::{
dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects},
fees::Error as XcmPaymentApiError,
};
use snowbridge_core::{
outbound::{Command, Fee},
AgentId, PricingParameters,
};
use xcm::latest::prelude::*;
use xcm::{latest::prelude::*, prelude::*};
use xcm_runtime_apis::{
dry_run::{CallDryRunEffects, Error as XcmDryRunApiError, XcmDryRunEffects},
fees::Error as XcmPaymentApiError,
};

use weights::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight};

Expand All @@ -109,8 +108,6 @@ use parachains_common::{

#[cfg(feature = "runtime-benchmarks")]
use alloc::boxed::Box;
#[cfg(feature = "runtime-benchmarks")]
use benchmark_helpers::DoNothingRouter;

/// The address format for describing accounts.
pub type Address = MultiAddress<AccountId, ()>;
Expand Down

0 comments on commit 4240a0e

Please sign in to comment.