Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update dockerfile rustc version #1468

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ executors:
environment:
IMAGE_NAME: portalnetwork/trin
docker:
- image: cimg/rust:1.80.0
- image: cimg/rust:1.81.0
docker-nightly:
docker:
- image: rustlang/rust:nightly
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
resource_class: xlarge
executor:
name: rust/default
tag: 1.80.0
tag: 1.81.0
environment:
RUSTFLAGS: "-D warnings"
RUST_LOG: "debug"
Expand All @@ -174,7 +174,7 @@ jobs:
resource_class: xlarge
executor:
name: rust/default
tag: 1.80.0
tag: 1.81.0
environment:
RUSTFLAGS: "-D warnings"
RUST_LOG: "debug"
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
resource_class: 2xlarge
executor:
name: rust/default
tag: 1.80.0
tag: 1.81.0
environment:
RUSTFLAGS: "-D warnings"
RUST_LOG: "debug,html5ever=error,selectors=error,discv5::service=info"
Expand All @@ -228,7 +228,7 @@ jobs:
check-workspace-crates:
executor:
name: rust/default
tag: 1.79.0
tag: 1.81.0
# parallelism level should be set to the amount of simulators we have or greater
# The reason for this is the CI code currently only supports 1 input at a time
# if we have a parallelism level of 5 and 6 sims one test runner will get 2 test sims and fail
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "trin"
version = "0.1.0"
authors = ["https://github.com/ethereum/trin/graphs/contributors"]
edition = "2021"
rust-version = "1.80.0"
rust-version = "1.81.0"
default-run = "trin"
repository = "https://github.com/ethereum/trin"
license = "GPL-3.0"
Expand Down
4 changes: 2 additions & 2 deletions book/src/developers/quick_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ rustc --version
You should see something like:

```bash
rustc 1.80.0 (051478957 2024-07-21)
rustc 1.81.0 (051478957 2024-07-21)
```

Next, install the required dependencies:
Expand Down Expand Up @@ -207,4 +207,4 @@ nc -U /tmp/trin-jsonrpc.ipc
{"id":86,"jsonrpc":"2.0","result":"enr:-IS4QHK_CnCsQKT-mFTilJ5msHacIJtU91aYe8FhAd_K7G-ACO-FO2GPFOyM7kiphjXMwrNh8Y4mSbN3ufSdBQFzjikBgmlkgnY0gmlwhMCoAMKJc2VjcDI1NmsxoQNa58x56RRRcUeOegry5S4yQvLa6LKlDcbBPHL4H5Oy4oN1ZHCCIyg"}
```

For something in between, you may use `curl` to send requests to the HTTP JSON-RPC endpoint.
For something in between, you may use `curl` to send requests to the HTTP JSON-RPC endpoint.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# select build image
FROM rust:1.80.0 AS builder
FROM rust:1.81.0 AS builder

# create a new empty shell project
RUN USER=root cargo new --bin trin
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.bridge
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN mkdir /portal-accumulators
COPY ./portal-accumulators /portal-accumulators

# select build image
FROM rust:1.80.0 AS builder
FROM rust:1.81.0 AS builder

# create a new empty shell project
RUN USER=root cargo new --bin trin
Expand Down
2 changes: 1 addition & 1 deletion utp-testing/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80.0-bullseye AS builder
FROM rust:1.81.0-bullseye AS builder

RUN apt-get update \
&& apt-get install clang -y \
Expand Down
Loading