Skip to content

Commit e0ff953

Browse files
committed
Change minimum Rust toolchain to 1.83
1 parent 7772250 commit e0ff953

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

.drone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ steps:
5353
- cp /usr/local/bin/mina cli/bin/
5454

5555
- name: build
56-
image: rust:1.80-bullseye
56+
image: rust:1.83-bullseye
5757
commands:
5858
- apt-get update && apt-get install -y libssl-dev libjemalloc-dev jq protobuf-compiler
59-
- rustup update 1.80 && rustup default 1.80
59+
- rustup update 1.83 && rustup default 1.83
6060
- rustup component add rustfmt
6161
# just to be sure it builds without errors
6262
- cargo build

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
7575
- name: Setup Rust
7676
run: |
77-
rustup default 1.80
77+
rustup default 1.83
7878
rustup component add rustfmt
7979
8080
- name: Setup Rust Cache
@@ -100,7 +100,7 @@ jobs:
100100
101101
- name: Setup Rust
102102
run: |
103-
rustup default 1.80
103+
rustup default 1.83
104104
rustup component add rustfmt
105105
106106
- name: Setup Rust Cache
@@ -160,7 +160,7 @@ jobs:
160160
161161
- name: Setup Rust
162162
run: |
163-
rustup default 1.80
163+
rustup default 1.83
164164
rustup component add rustfmt
165165
166166
- name: Setup Rust Cache
@@ -196,7 +196,7 @@ jobs:
196196
197197
- name: Setup Rust
198198
run: |
199-
rustup default 1.80
199+
rustup default 1.83
200200
rustup component add rustfmt
201201
202202
- name: Setup Rust Cache
@@ -351,7 +351,7 @@ jobs:
351351
with:
352352
pattern: tests*
353353
merge-multiple: true
354-
354+
355355
- name: Download tests
356356
uses: actions/download-artifact@v4
357357
with:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM rust:buster AS build
22
RUN apt-get update && apt-get install -y protobuf-compiler && apt-get clean
3-
RUN rustup default 1.80 && rustup component add rustfmt
3+
RUN rustup default 1.83 && rustup component add rustfmt
44
WORKDIR /openmina
55
COPY . .
66
RUN cargo build --release --package=cli --bin=openmina

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ Open up the command line and enter the following:
155155
And then:
156156

157157
```sh
158-
# Install rustup and set the default Rust toolchain to 1.80 (newer versions work too)
159-
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.80
158+
# Install rustup and set the default Rust toolchain to 1.83 (newer versions work too)
159+
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.83
160160
# Setup the current shell with rustup
161161
source "$HOME/.cargo/env"
162162
# Clone the openmina repository

docker/producer-dashboard/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.80 AS app-builder
1+
FROM rust:1.83 AS app-builder
22

33
WORKDIR /usr/src/openmina-producer-dashboard
44

@@ -77,10 +77,10 @@ RUN eval $(opam config env) && make build_all_sigs
7777
FROM ubuntu:latest
7878

7979
RUN apt-get update && apt-get install -y libpq5 libjemalloc2
80-
80+
8181
COPY --from=app-builder /usr/local/cargo/bin/openmina-producer-dashboard /usr/local/bin/openmina-producer-dashboard
8282
COPY --from=mina-builder /go/mina/src/app/libp2p_helper/result/bin/libp2p_helper /usr/local/bin/coda-libp2p_helper
8383
COPY --from=mina-builder /go/mina/_build/default/src/app/cli/src/mina_testnet_signatures.exe /usr/local/bin/mina
8484

8585
# TODO: replace
86-
ENTRYPOINT [ "openmina-producer-dashboard" ]
86+
ENTRYPOINT [ "openmina-producer-dashboard" ]

node/testing/docker/Dockerfile.openmina

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
99

1010
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
1111

12-
RUN source ~/.cargo/env && rustup update 1.80
12+
RUN source ~/.cargo/env && rustup update 1.83
1313

1414
RUN git clone https://github.com/openmina/openmina
1515

node/testing/docker/Dockerfile.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM vladsimplestakingcom/mina-openmina-builder:focal AS builder
22

33
RUN git fetch && git checkout feat/tests-with-debugger
44

5-
RUN source ~/.cargo/env && cargo +1.80 build --release -p openmina-node-testing --bin runner --bin openmina-node-testing
5+
RUN source ~/.cargo/env && cargo +1.83 build --release -p openmina-node-testing --bin runner --bin openmina-node-testing
66

77
FROM vladsimplestakingcom/mina-debugger:2.0.0rampup4-focal
88

run.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ spec:
7272
- |
7373
apt-get update && apt-get -y install git curl gcc libssl-dev pkg-config
7474
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
75-
PATH=$PATH:~/.cargo/bin && rustup update 1.80
75+
PATH=$PATH:~/.cargo/bin && rustup update 1.83
7676
git clone https://github.com/openmina/openmina
7777
cd openmina
7878
git fetch && git checkout feat/tweak-for-debugger
79-
PATH=$PATH:~/.cargo/bin && cargo +1.80 build --release --bin openmina -p cli --no-default-features
79+
PATH=$PATH:~/.cargo/bin && cargo +1.83 build --release --bin openmina -p cli --no-default-features
8080
cp target/release/openmina /usr/local/bin/openmina
8181
openmina node -p 10000 --libp2p-port 8302
8282
ports:

tools/bootstrap-sandbox/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.80.0-bullseye AS builder
1+
FROM rust:1.83.0-bullseye AS builder
22

33
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
44

0 commit comments

Comments
 (0)