Skip to content

Commit a61f958

Browse files
Merge branch 'master' into fix-metrics-definitionoverload
2 parents 90efc5f + 3566849 commit a61f958

236 files changed

Lines changed: 2639 additions & 3852 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/install-rust/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputs:
55
toolchain:
66
required: true
77
description: 'Toolchain to install'
8-
default: '1.84.1'
8+
default: '1.88.0'
99
targets:
1010
required: true
1111
description: 'Compilation targets to install'

.github/workflows/bold.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Checkout
3232
uses: actions/checkout@v5
3333
with:
34-
submodules: true
34+
submodules: recursive
3535

3636
- name: Install dependencies
3737
run: sudo apt update && sudo apt install -y wabt gotestsum

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Checkout
4949
uses: actions/checkout@v5
5050
with:
51-
submodules: true
51+
submodules: recursive
5252

5353
- name: Install dependencies
5454
run: sudo apt update && sudo apt install -y wabt

.github/workflows/nightly-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Checkout
3636
uses: actions/checkout@v5
3737
with:
38-
submodules: true
38+
submodules: recursive
3939

4040
- name: Install dependencies
4141
run: sudo apt update && sudo apt install -y wabt gotestsum
@@ -188,7 +188,7 @@ jobs:
188188
- name: Checkout
189189
uses: actions/checkout@v5
190190
with:
191-
submodules: true
191+
submodules: recursive
192192
fetch-depth: 10 // Will cover most PRs
193193
persist-credentials: true // In case changed-files requires deeper depth
194194

.github/workflows/submodule-pin-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@v5
2424
with:
2525
fetch-depth: 0
26-
submodules: true
26+
submodules: recursive
2727
persist-credentials: false
2828
ref: "${{ github.event.pull_request.head.sha }}"
2929

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,5 @@ arbos/testdata/*
3838
#other temporaries
3939
tmp/*
4040
.env
41+
go.work
42+
go.work.sum

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ FROM wasm-base AS wasm-libs-builder
4949
# clang / lld used by soft-float wasm
5050
RUN apt-get update && \
5151
apt-get install -y clang=1:14.0-55.7~deb12u1 lld=1:14.0-55.7~deb12u1 wabt
52-
# pinned rust 1.84.1
53-
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.84.1 --target x86_64-unknown-linux-gnu,wasm32-unknown-unknown,wasm32-wasip1
52+
# pinned rust 1.88.0
53+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.88.0 --target x86_64-unknown-linux-gnu,wasm32-unknown-unknown,wasm32-wasip1
5454
COPY ./Makefile ./
5555
COPY arbitrator/Cargo.* arbitrator/
5656
COPY arbitrator/arbutil arbitrator/arbutil
@@ -108,7 +108,7 @@ COPY --from=contracts-builder workspace/contracts-legacy/build/contracts/src/pre
108108
COPY --from=contracts-builder workspace/.make/ .make/
109109
RUN PATH="$PATH:/usr/local/go/bin" NITRO_BUILD_IGNORE_TIMESTAMPS=1 make build-wasm-bin
110110

111-
FROM rust:1.84.1-slim-bookworm AS prover-header-builder
111+
FROM rust:1.88.0-slim-bookworm AS prover-header-builder
112112
WORKDIR /workspace
113113
RUN export DEBIAN_FRONTEND=noninteractive && \
114114
apt-get update && \
@@ -134,7 +134,7 @@ RUN NITRO_BUILD_IGNORE_TIMESTAMPS=1 make build-prover-header
134134
FROM scratch AS prover-header-export
135135
COPY --from=prover-header-builder /workspace/target/ /
136136

137-
FROM rust:1.84.1-slim-bookworm AS prover-builder
137+
FROM rust:1.88.0-slim-bookworm AS prover-builder
138138
WORKDIR /workspace
139139
RUN export DEBIAN_FRONTEND=noninteractive && \
140140
apt-get update && \
@@ -238,10 +238,11 @@ RUN ./download-machine.sh consensus-v32 0x184884e1eb9fefdc158f6c8ac912bb183bf3cf
238238
#RUN ./download-machine.sh consensus-v40-rc.1 0x6dae396b0b7644a2d63b4b22e6452b767aa6a04b6778dadebdd74aa40f40a5c5
239239
#RUN ./download-machine.sh consensus-v40-rc.2 0xa8206be13d53e456c7ab061d94bab5b229d674ac57ffe7281216479a8820fcc0
240240
RUN ./download-machine.sh consensus-v41 0xa18d6266cef250802c3cb2bfefe947ea1aa9a32dd30a8d1dfc4568a8714d3a7a
241-
RUN ./download-machine.sh consensus-v50-alpha.1 0x28cfd8d81613ce4ebe750e77bfd95d6d95d4f53240488095a11c1ad3a494fa82
242-
RUN ./download-machine.sh consensus-v50-rc.1 0x8fd725477d8ef58183a1a943c375a8495a22cd2d7d701ac917fe20d69993e88e
243-
RUN ./download-machine.sh consensus-v50-rc.2 0xc1ea4d6d2791bf5bdf6de3c2166ce4aab8fe16ca4ad5c226e8ae31a8b77f1a08
241+
#RUN ./download-machine.sh consensus-v50-alpha.1 0x28cfd8d81613ce4ebe750e77bfd95d6d95d4f53240488095a11c1ad3a494fa82
242+
#RUN ./download-machine.sh consensus-v50-rc.1 0x8fd725477d8ef58183a1a943c375a8495a22cd2d7d701ac917fe20d69993e88e
243+
#RUN ./download-machine.sh consensus-v50-rc.2 0xc1ea4d6d2791bf5bdf6de3c2166ce4aab8fe16ca4ad5c226e8ae31a8b77f1a08
244244
RUN ./download-machine.sh consensus-v50-rc.3 0x385fa2524d86d4ebc340988224f8686b3f485c7c9f7bc1015a64c85a9c76a6b0
245+
RUN ./download-machine.sh consensus-v50-rc.4 0x393be710f252e8217d66fe179739eba1ed471f0d5a847b5905c30926d853241a
245246
RUN ./download-machine.sh consensus-v40 0xdb698a2576298f25448bc092e52cf13b1e24141c997135d70f217d674bbeb69a
246247

247248
FROM golang:1.24.5-bookworm AS node-builder
@@ -257,7 +258,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
257258
apt-get install -y wabt
258259
COPY go.mod go.sum ./
259260
COPY go-ethereum/go.mod go-ethereum/go.sum go-ethereum/
260-
COPY bold/go.mod bold/go.sum bold/
261261
RUN go mod download
262262
COPY . ./
263263
COPY --from=contracts-builder workspace/contracts/build/ contracts/build/

arbitrator/arbutil/src/color.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub trait Color {
3535
impl<T> Color for T where T: Display {
3636

3737
fn color(&self, color: &str) -> String {
38-
format!("{}{}{}", color, self, CLEAR)
38+
format!("{color}{self}{CLEAR}")
3939
}
4040

4141
fn blue(&self) -> String { self.color(BLUE) }
@@ -76,7 +76,7 @@ pub trait DebugColor {
7676
impl<T> DebugColor for T where T: Debug {
7777

7878
fn debug_color(&self, color: &str) -> String {
79-
format!("{}{:?}{}", color, self, CLEAR)
79+
format!("{color}{self:?}{CLEAR}")
8080
}
8181

8282
fn debug_blue(&self) -> String { self.debug_color(BLUE) }

arbitrator/arbutil/src/evm/user.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ impl Display for UserOutcome {
6565
use UserOutcome::*;
6666
match self {
6767
Success(data) => write!(f, "success {}", hex::encode(data)),
68-
Failure(err) => write!(f, "failure {:?}", err),
68+
Failure(err) => write!(f, "failure {err:?}"),
6969
OutOfInk => write!(f, "out of ink"),
7070
OutOfStack => write!(f, "out of stack"),
7171
Revert(data) => {

0 commit comments

Comments
 (0)