From a7e26c28644ef81c4b9eaacd22c14f793d86c625 Mon Sep 17 00:00:00 2001 From: Renan Santos Date: Mon, 24 Jun 2024 16:09:32 -0300 Subject: [PATCH] chore: fix Rust version to 1.78.0 --- CHANGELOG.md | 4 ++++ build/docker-bake.hcl | 2 +- offchain/host-runner/src/config.rs | 1 + offchain/rust-toolchain.toml | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 offchain/rust-toolchain.toml diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c619d8ec..529a2e427 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added Rollups end-to-end test using Echo Dapp +### Changed + +- Bumped Rust Version to 1.78.0 + ## [1.4.0] 2024-04-09 ### Added diff --git a/build/docker-bake.hcl b/build/docker-bake.hcl index f5fab7721..bbd1d266f 100644 --- a/build/docker-bake.hcl +++ b/build/docker-bake.hcl @@ -18,7 +18,7 @@ target "common" { context = ".." args = { BASE_IMAGE = "debian:bookworm-20240311-slim" - RUST_VERSION = "1.77.0" + RUST_VERSION = "1.78.0" GO_VERSION = "1.22.1" FOUNDRY_NIGHTLY_VERSION = "293fad73670b7b59ca901c7f2105bf7a29165a90" SERVER_MANAGER_VERSION = "0.9.1" diff --git a/offchain/host-runner/src/config.rs b/offchain/host-runner/src/config.rs index a052ebb70..9d7873b90 100644 --- a/offchain/host-runner/src/config.rs +++ b/offchain/host-runner/src/config.rs @@ -5,6 +5,7 @@ use clap::Parser; use log::{LogConfig, LogEnvCliConfig}; const DEFAULT_ADDRESS: &str = "0.0.0.0"; + #[derive(Debug, Clone)] pub struct Config { pub log_config: LogConfig, diff --git a/offchain/rust-toolchain.toml b/offchain/rust-toolchain.toml new file mode 100644 index 000000000..51985806f --- /dev/null +++ b/offchain/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "1.78.0"