From b1bca989d5905d3a1f40adb808fec14ff8c8440b Mon Sep 17 00:00:00 2001 From: wojciechos Date: Fri, 29 Nov 2024 07:57:10 +0100 Subject: [PATCH] Enforce using cairo-lang-runner v2.8.5 and blockifier 0.8.0-rc.3 (#2293) --- .github/workflows/find-smallest-rust.yml | 2 +- Makefile | 2 +- README.md | 2 +- vm/rust/Cargo.toml | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/find-smallest-rust.yml b/.github/workflows/find-smallest-rust.yml index 4942f8c7a3..4a2f2eb86b 100644 --- a/.github/workflows/find-smallest-rust.yml +++ b/.github/workflows/find-smallest-rust.yml @@ -35,7 +35,7 @@ jobs: with: script: | const msrv = '${{ steps.rust-version.outputs.highest-msrv }}' - const previous_msrv = '1.80.1' + const previous_msrv = '1.81.0' if (msrv != previous_msrv) { github.rest.issues.createComment({ diff --git a/Makefile b/Makefile index 951eb6d93c..2145ca5559 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ juno-cached: @go build $(GO_TAGS) -ldflags="-X main.Version=$(shell git describe --tags)" -o build/juno ./cmd/juno/ -MINIMUM_RUST_VERSION = 1.80.1 +MINIMUM_RUST_VERSION = 1.81.0 CURR_RUST_VERSION = $(shell rustc --version | grep -o '[0-9.]\+' | head -n1) check-rust: ## Ensure rust version is greater than minimum @echo "Checking if current rust version >= $(MINIMUM_RUST_VERSION)" diff --git a/README.md b/README.md index 3eaeab1df9..87334e5988 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ - Golang 1.23 or higher is required to build and run the project. You can find the installer on the official Golang [download](https://go.dev/doc/install) page. -- [Rust](https://www.rust-lang.org/tools/install) 1.80.1 or higher. +- [Rust](https://www.rust-lang.org/tools/install) 1.81.0 or higher. - A C compiler: `gcc` or `clang`. - Install `jemalloc` and `pkg-config` on your system: diff --git a/vm/rust/Cargo.toml b/vm/rust/Cargo.toml index 2909483444..a42d36d86a 100644 --- a/vm/rust/Cargo.toml +++ b/vm/rust/Cargo.toml @@ -8,7 +8,8 @@ edition = "2021" [dependencies] serde = "1.0.208" serde_json = { version = "1.0.125", features = ["raw_value"] } -blockifier = "0.8.0-rc.3" +blockifier = "=0.8.0-rc.3" +cairo-lang-runner = { version = "=2.8.5" } starknet_api = "0.13.0-rc.1" cairo-vm = "=1.0.1" starknet-types-core = { version = "0.1.5", features = ["hash", "prime-bigint"] }