Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 3f495e5

Browse files
Update Rust version (#138)
* update rust version to stable * pin to rust 1.76 * fix tests and warning * fix import * update nightly version --------- Co-authored-by: claravanstaden <Cats 4 life!>
1 parent 68ab248 commit 3f495e5

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

.github/workflows/parachain.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
RUST_BACKTRACE: 1
2525
RUSTFLAGS: -C debuginfo=1
2626
SKIP_WASM_BUILD: 1
27-
RUST_NIGHTLY_VERSION: nightly-2023-12-28
27+
RUST_NIGHTLY_VERSION: nightly-2024-02-08
2828
steps:
2929
- uses: actions/checkout@v2
3030
with:

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bridges/snowbridge/pallets/inbound-queue/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ use frame_support::{
4848
};
4949
use frame_system::ensure_signed;
5050
use scale_info::TypeInfo;
51-
use sp_core::{H160, H256};
51+
use sp_core::H160;
5252
use sp_runtime::traits::Zero;
5353
use sp_std::{convert::TryFrom, vec};
5454
use xcm::prelude::{
@@ -71,6 +71,8 @@ pub use weights::WeightInfo;
7171

7272
#[cfg(feature = "runtime-benchmarks")]
7373
use snowbridge_beacon_primitives::BeaconHeader;
74+
#[cfg(feature = "runtime-benchmarks")]
75+
use sp_core::H256;
7476

7577
type BalanceOf<T> =
7678
<<T as pallet::Config>::Token as Inspect<<T as frame_system::Config>::AccountId>>::Balance;

cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,5 @@ snowbridge-core = { path = "../../../../../../../bridges/snowbridge/primitives/c
4747
snowbridge-router-primitives = { path = "../../../../../../../bridges/snowbridge/primitives/router", default-features = false }
4848
snowbridge-pallet-system = { path = "../../../../../../../bridges/snowbridge/pallets/system", default-features = false }
4949
snowbridge-pallet-outbound-queue = { path = "../../../../../../../bridges/snowbridge/pallets/outbound-queue", default-features = false }
50+
snowbridge-pallet-inbound-queue = { path = "../../../../../../../bridges/snowbridge/pallets/inbound-queue", default-features = false }
5051
snowbridge-pallet-inbound-queue-fixtures = { path = "../../../../../../../bridges/snowbridge/pallets/inbound-queue/fixtures" }

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# https://github.com/rust-lang/rustup/issues/2686
44
# The auto-installation behaviour in rustup will likely be removed:
55
# https://github.com/rust-lang/rustup/issues/1397
6-
channel = "1.75.0"
6+
channel = "1.76.0"
77
components = [
88
"clippy",
99
"rust-analyzer",

0 commit comments

Comments
 (0)