From 32cd6cac751e3c190c2377345a955d2731fdd336 Mon Sep 17 00:00:00 2001 From: Franco Barpp Gomes Date: Mon, 27 May 2024 14:25:57 -0300 Subject: [PATCH] Update nearcore to protocol version 67 (#190) * chore: Update nearcore * chore: Update rustc to 1.77.0 --- .../near/sffl-agreement-registry/rust-toolchain.toml | 2 +- indexer/Cargo.toml | 10 +++++----- indexer/Dockerfile | 2 +- relayer/cmd/Dockerfile | 2 +- rust-toolchain.toml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/contracts/near/sffl-agreement-registry/rust-toolchain.toml b/contracts/near/sffl-agreement-registry/rust-toolchain.toml index 985868e7..e46a3013 100644 --- a/contracts/near/sffl-agreement-registry/rust-toolchain.toml +++ b/contracts/near/sffl-agreement-registry/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.75" +channel = "1.77" targets = ["wasm32-unknown-unknown"] diff --git a/indexer/Cargo.toml b/indexer/Cargo.toml index b0a4d722..5b94d8fc 100644 --- a/indexer/Cargo.toml +++ b/indexer/Cargo.toml @@ -26,12 +26,12 @@ tracing = { version = "0.1.36", features = ["std"] } thiserror = "1.0.56" anyhow = "1.0.79" -near-indexer = { git = "https://github.com/near/nearcore", rev = "2b2c06edb90400fb934ae08a7083250266bff780" } -near-client = { git = "https://github.com/near/nearcore", rev = "2b2c06edb90400fb934ae08a7083250266bff780" } -near-o11y = { git = "https://github.com/near/nearcore", rev = "2b2c06edb90400fb934ae08a7083250266bff780" } -near-client-primitives = { git = "https://github.com/near/nearcore", rev = "2b2c06edb90400fb934ae08a7083250266bff780" } +near-indexer = { git = "https://github.com/near/nearcore", rev = "08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" } +near-client = { git = "https://github.com/near/nearcore", rev = "08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" } +near-o11y = { git = "https://github.com/near/nearcore", rev = "08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" } +near-client-primitives = { git = "https://github.com/near/nearcore", rev = "08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" } borsh = { version = "1.0.0", features = ["derive", "rc"] } serde_yaml = "0.9.34" [dev-dependencies] -near-crypto = { git = "https://github.com/near/nearcore", rev = "2b2c06edb90400fb934ae08a7083250266bff780" } +near-crypto = { git = "https://github.com/near/nearcore", rev = "08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" } diff --git a/indexer/Dockerfile b/indexer/Dockerfile index a87602bc..790f197a 100644 --- a/indexer/Dockerfile +++ b/indexer/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.75 AS builder +FROM rust:1.77 AS builder WORKDIR /tmp/indexer # Copy from nearcore: diff --git a/relayer/cmd/Dockerfile b/relayer/cmd/Dockerfile index 47a179de..90203792 100644 --- a/relayer/cmd/Dockerfile +++ b/relayer/cmd/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.75 AS near-da-builder +FROM rust:1.77 AS near-da-builder # Install cbindgen for C bindings compilation RUN cargo install --force cbindgen diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 7cb6ce9a..f84ea34e 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -2,6 +2,6 @@ # This specifies the version of Rust we use to build. # Individual crates in the workspace may support a lower version, as indicated by `rust-version` field in each crate's `Cargo.toml`. # The version specified below, should be at least as high as the maximum `rust-version` within the workspace. -channel = "1.75.0" +channel = "1.77.0" components = [ "rustfmt", "clippy" ] targets = [ "wasm32-unknown-unknown" ]