diff --git a/.github/workflows/parachain.yml b/.github/workflows/parachain.yml index f9218febe1a5..cc1228b39c4c 100644 --- a/.github/workflows/parachain.yml +++ b/.github/workflows/parachain.yml @@ -24,7 +24,7 @@ jobs: RUST_BACKTRACE: 1 RUSTFLAGS: -C debuginfo=1 SKIP_WASM_BUILD: 1 - RUST_NIGHTLY_VERSION: nightly-2023-12-28 + RUST_NIGHTLY_VERSION: nightly-2024-02-08 steps: - uses: actions/checkout@v2 with: diff --git a/Cargo.lock b/Cargo.lock index c17b59c6af28..9d99306d2a08 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2036,6 +2036,7 @@ dependencies = [ "rococo-westend-system-emulated-network", "scale-info", "snowbridge-core", + "snowbridge-pallet-inbound-queue", "snowbridge-pallet-inbound-queue-fixtures", "snowbridge-pallet-outbound-queue", "snowbridge-pallet-system", diff --git a/bridges/snowbridge/pallets/inbound-queue/src/lib.rs b/bridges/snowbridge/pallets/inbound-queue/src/lib.rs index 3b2485f3d967..35a628b020ad 100644 --- a/bridges/snowbridge/pallets/inbound-queue/src/lib.rs +++ b/bridges/snowbridge/pallets/inbound-queue/src/lib.rs @@ -48,7 +48,7 @@ use frame_support::{ }; use frame_system::ensure_signed; use scale_info::TypeInfo; -use sp_core::{H160, H256}; +use sp_core::H160; use sp_runtime::traits::Zero; use sp_std::{convert::TryFrom, vec}; use xcm::prelude::{ @@ -71,6 +71,8 @@ pub use weights::WeightInfo; #[cfg(feature = "runtime-benchmarks")] use snowbridge_beacon_primitives::BeaconHeader; +#[cfg(feature = "runtime-benchmarks")] +use sp_core::H256; type BalanceOf = <::Token as Inspect<::AccountId>>::Balance; diff --git a/cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo/Cargo.toml b/cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo/Cargo.toml index bbe54c367baf..b21b8880161e 100644 --- a/cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo/Cargo.toml +++ b/cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo/Cargo.toml @@ -47,4 +47,5 @@ snowbridge-core = { path = "../../../../../../../bridges/snowbridge/primitives/c snowbridge-router-primitives = { path = "../../../../../../../bridges/snowbridge/primitives/router", default-features = false } snowbridge-pallet-system = { path = "../../../../../../../bridges/snowbridge/pallets/system", default-features = false } snowbridge-pallet-outbound-queue = { path = "../../../../../../../bridges/snowbridge/pallets/outbound-queue", default-features = false } +snowbridge-pallet-inbound-queue = { path = "../../../../../../../bridges/snowbridge/pallets/inbound-queue", default-features = false } snowbridge-pallet-inbound-queue-fixtures = { path = "../../../../../../../bridges/snowbridge/pallets/inbound-queue/fixtures" } diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 5320fa808b20..08772cd883c5 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -3,7 +3,7 @@ # https://github.com/rust-lang/rustup/issues/2686 # The auto-installation behaviour in rustup will likely be removed: # https://github.com/rust-lang/rustup/issues/1397 -channel = "1.75.0" +channel = "1.76.0" components = [ "clippy", "rust-analyzer",