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"