Skip to content

Commit

Permalink
chore: fix Rust version to 1.78.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renan061 committed Jun 24, 2024
1 parent 4172eeb commit 70c5816
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Changed the dispatcher to close epochs based on block numbers instead of block timestamps.
- **BREAKING**: replaced the environment variable `CARTESI_EPOCH_DURATION` with `CARTESI_EPOCH_LENGTH_IN_BLOCKS` to match the new epoch algorithm, and set its default value to 7200 (1 day worth of blocks, in average, considering one block is mined every 12 seconds).
- **BREAKING**: replaced the internal environment variable `RD_EPOCH_DURATION` with `RD_EPOCH_LENGTH_IN_BLOCKS` to match the new epoch algorithm, and also set its default value to 7200.
- Bumped Rust Version to 1.78.0

## [1.4.0] 2024-04-09

Expand Down
2 changes: 1 addition & 1 deletion build/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions offchain/host-runner/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions offchain/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "1.78.0"

0 comments on commit 70c5816

Please sign in to comment.