From e4447617f69a4f30a2794bead1ef64faba37c5e8 Mon Sep 17 00:00:00 2001 From: r4bbit <445106+0x-r4bbit@users.noreply.github.com> Date: Fri, 26 Jun 2026 19:00:39 +0200 Subject: [PATCH] chore: pin ruint dep --- programs/ata/methods/guest/Cargo.lock | 5 +++-- programs/ata/methods/guest/Cargo.toml | 5 +++++ programs/token/methods/guest/Cargo.lock | 5 +++-- programs/token/methods/guest/Cargo.toml | 5 +++++ 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/programs/ata/methods/guest/Cargo.lock b/programs/ata/methods/guest/Cargo.lock index 6dacf39..9aad138 100644 --- a/programs/ata/methods/guest/Cargo.lock +++ b/programs/ata/methods/guest/Cargo.lock @@ -279,6 +279,7 @@ dependencies = [ "borsh", "nssa_core", "risc0-zkvm", + "ruint", "serde", "spel-framework", "token_core", @@ -2569,9 +2570,9 @@ dependencies = [ [[package]] name = "ruint" -version = "1.18.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0298da754d1395046b0afdc2f20ee76d29a8ae310cd30ffa84ed42acba9cb12a" +checksum = "a68df0380e5c9d20ce49534f292a36a7514ae21350726efe1865bdb1fa91d278" dependencies = [ "borsh", "proptest", diff --git a/programs/ata/methods/guest/Cargo.toml b/programs/ata/methods/guest/Cargo.toml index 3ba0eb7..ead1024 100644 --- a/programs/ata/methods/guest/Cargo.toml +++ b/programs/ata/methods/guest/Cargo.toml @@ -55,6 +55,11 @@ path = "src/bin/ata.rs" spel-framework = { git = "https://github.com/logos-co/spel.git", tag = "v0.3.0", package = "spel-framework" } nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0-rc3" } risc0-zkvm = { version = "=3.0.5", default-features = false } +# Pin ruint (transitive via risc0-binfmt) below 1.18, which raised its MSRV to +# rustc 1.90. The risc0 guest toolchain ships rustc 1.88, so 1.18+ fails the +# guest build. 1.17.0 (MSRV 1.85) is the newest compatible release. Remove this +# pin once the risc0 guest toolchain advances past 1.90. +ruint = { version = "=1.17.0", default-features = false } ata_core = { path = "../../core" } ata_program = { path = "../..", package = "ata_program" } token_core = { path = "../../../token/core" } diff --git a/programs/token/methods/guest/Cargo.lock b/programs/token/methods/guest/Cargo.lock index 2be20b6..d23e5d1 100644 --- a/programs/token/methods/guest/Cargo.lock +++ b/programs/token/methods/guest/Cargo.lock @@ -2536,9 +2536,9 @@ dependencies = [ [[package]] name = "ruint" -version = "1.18.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0298da754d1395046b0afdc2f20ee76d29a8ae310cd30ffa84ed42acba9cb12a" +checksum = "a68df0380e5c9d20ce49534f292a36a7514ae21350726efe1865bdb1fa91d278" dependencies = [ "borsh", "proptest", @@ -3117,6 +3117,7 @@ dependencies = [ "borsh", "nssa_core", "risc0-zkvm", + "ruint", "serde", "spel-framework", "token_core", diff --git a/programs/token/methods/guest/Cargo.toml b/programs/token/methods/guest/Cargo.toml index 7cd8567..b0ffffa 100644 --- a/programs/token/methods/guest/Cargo.toml +++ b/programs/token/methods/guest/Cargo.toml @@ -55,6 +55,11 @@ path = "src/bin/token.rs" spel-framework = { git = "https://github.com/logos-co/spel.git", tag = "v0.3.0", package = "spel-framework" } nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", tag = "v0.2.0-rc3" } risc0-zkvm = { version = "=3.0.5", default-features = false } +# Pin ruint (transitive via risc0-binfmt) below 1.18, which raised its MSRV to +# rustc 1.90. The risc0 guest toolchain ships rustc 1.88, so 1.18+ fails the +# guest build. 1.17.0 (MSRV 1.85) is the newest compatible release. Remove this +# pin once the risc0 guest toolchain advances past 1.90. +ruint = { version = "=1.17.0", default-features = false } token_core = { path = "../../core" } token_program = { path = "../..", package = "token_program" } serde = { version = "1.0", features = ["derive"] }