Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit 592806c

Browse files
authored
pin rust to 1.77 (#1429)
* pin rust to 1.77 * pick changes from v0.13 * update l2geth and ci * lint * disable "default" ci
1 parent fab9d65 commit 592806c

File tree

23 files changed

+87
-118
lines changed

23 files changed

+87
-118
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@ jobs:
3838

3939
test-default:
4040
name: Test Default
41+
if: false
4142
needs: [runner]
4243
runs-on: ${{ matrix.os }}
43-
concurrency: ${{ needs.runner.outputs.concurrency-group2 }}
44+
concurrency: ${{ needs.runner.outputs.concurrency-group1 }}
4445
strategy:
4546
matrix:
46-
os: ${{ fromJSON(needs.runner.outputs.runner-matrix2) }}
47+
os: ${{ fromJSON(needs.runner.outputs.runner-matrix1) }}
4748

4849
steps:
4950
- uses: actions/checkout@v4
@@ -52,12 +53,12 @@ jobs:
5253
echo "HOME=/home/CI" >> $GITHUB_ENV
5354
- uses: dtolnay/rust-toolchain@master
5455
with:
55-
toolchain: nightly-2023-12-03
56+
toolchain: nightly-2024-01-25
5657
- name: Setup golang
5758
uses: actions/setup-go@v3
5859
with:
5960
cache: false
60-
go-version: ~1.21
61+
go-version: ~1.22
6162
# Go cache for building geth-utils
6263
- name: Go cache
6364
uses: actions/cache@v3
@@ -83,10 +84,10 @@ jobs:
8384
name: Test Scroll
8485
needs: [runner]
8586
runs-on: ${{ matrix.os }}
86-
concurrency: ${{ needs.runner.outputs.concurrency-group1 }}
87+
concurrency: ${{ needs.runner.outputs.concurrency-group2 }}
8788
strategy:
8889
matrix:
89-
os: ${{ fromJSON(needs.runner.outputs.runner-matrix1) }}
90+
os: ${{ fromJSON(needs.runner.outputs.runner-matrix2) }}
9091

9192
steps:
9293
- uses: actions/checkout@v4
@@ -95,12 +96,12 @@ jobs:
9596
echo "HOME=/home/CI" >> $GITHUB_ENV
9697
- uses: dtolnay/rust-toolchain@master
9798
with:
98-
toolchain: nightly-2023-12-03
99+
toolchain: nightly-2024-01-25
99100
- name: Setup golang
100101
uses: actions/setup-go@v3
101102
with:
102103
cache: false
103-
go-version: ~1.21
104+
go-version: ~1.22
104105
# Go cache for building geth-utils
105106
- name: Go cache
106107
uses: actions/cache@v3
@@ -146,7 +147,7 @@ jobs:
146147
- uses: actions/checkout@v4
147148
- uses: dtolnay/rust-toolchain@master
148149
with:
149-
toolchain: nightly-2023-12-03
150+
toolchain: nightly-2024-01-25
150151
- name: Add target
151152
run: rustup target add ${{ matrix.target }}
152153
# Go cache for building geth-utils
@@ -183,7 +184,7 @@ jobs:
183184
- uses: actions/checkout@v4
184185
- uses: dtolnay/rust-toolchain@master
185186
with:
186-
toolchain: nightly-2023-12-03
187+
toolchain: nightly-2024-01-25
187188
# Go cache for building geth-utils
188189
- name: Go cache
189190
uses: actions/cache@v3
@@ -216,7 +217,7 @@ jobs:
216217
- uses: actions/checkout@v4
217218
- uses: dtolnay/rust-toolchain@master
218219
with:
219-
toolchain: nightly-2023-12-03
220+
toolchain: nightly-2024-01-25
220221
# Go cache for building geth-utils
221222
- name: Go cache
222223
uses: actions/cache@v3
@@ -253,7 +254,7 @@ jobs:
253254
- uses: actions/checkout@v4
254255
- uses: dtolnay/rust-toolchain@master
255256
with:
256-
toolchain: nightly-2023-12-03
257+
toolchain: nightly-2024-01-25
257258
components: rustfmt
258259
# Go cache for building geth-utils
259260
- name: Go cache

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- uses: actions/checkout@v4
6262
- uses: dtolnay/rust-toolchain@master
6363
with:
64-
toolchain: nightly-2023-12-03
64+
toolchain: nightly-2024-01-25
6565
- name: Setup golang
6666
uses: actions/setup-go@v3
6767
with:

.github/workflows/lints.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/checkout@v4
4444
- uses: dtolnay/rust-toolchain@master
4545
with:
46-
toolchain: nightly-2023-12-03
46+
toolchain: nightly-2024-01-25
4747
components: clippy
4848
# Go cache for building geth-utils
4949
- name: Go cache

.github/workflows/test-features.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- uses: actions/checkout@v4
4343
- uses: dtolnay/rust-toolchain@master
4444
with:
45-
toolchain: nightly-2023-12-03
45+
toolchain: nightly-2024-01-25
4646

4747
# Go cache for building geth-utils
4848
- name: Go cache

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aggregator/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(clippy::doc_lazy_continuation)]
1+
#![feature(lazy_cell)]
22
/// proof aggregation
33
mod aggregation;
44
/// This module implements `Batch` related data types.

bus-mapping/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@
208208
#![cfg_attr(docsrs, feature(doc_cfg))]
209209
// Temporary until we have more of the crate implemented.
210210
#![allow(dead_code)]
211-
#![allow(clippy::doc_lazy_continuation)]
212211
// We want to have UPPERCASE idents sometimes.
213212
#![allow(non_snake_case)]
214213
// Catch documentation errors caused by code changes.
@@ -219,6 +218,7 @@
219218
#![allow(clippy::result_large_err)] // it's large, but what can we do?
220219
#![allow(clippy::collapsible_else_if)]
221220
#![allow(incomplete_features)]
221+
#![feature(lazy_cell)]
222222
#![feature(adt_const_params)]
223223

224224
extern crate alloc;

eth-types/src/evm_types/opcode_ids.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,13 +1247,10 @@ impl FromStr for OpcodeId {
12471247
#[cfg(not(feature = "scroll"))]
12481248
"SELFDESTRUCT" => OpcodeId::SELFDESTRUCT,
12491249
"CHAINID" => OpcodeId::CHAINID,
1250-
"opcode 0x48 not defined" => OpcodeId::BASEFEE,
12511250
"BASEFEE" => OpcodeId::BASEFEE,
12521251
"BLOBHASH" => OpcodeId::INVALID(0x49),
12531252
"BLOBBASEFEE" => OpcodeId::INVALID(0x4a),
1254-
"opcode 0x5c not defined" => OpcodeId::TLOAD,
12551253
"TLOAD" => OpcodeId::TLOAD,
1256-
"opcode 0x5d not defined" => OpcodeId::TSTORE,
12571254
"TSTORE" => OpcodeId::TSTORE,
12581255
_ => {
12591256
// Parse an invalid opcode value as reported by geth

eth-types/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#![deny(rustdoc::broken_intra_doc_links)]
1111
// GasCost is used as type parameter
1212
#![feature(adt_const_params)]
13+
#![feature(lazy_cell)]
1314
#![deny(missing_docs)]
1415
//#![deny(unsafe_code)] Allowed now until we find a
1516
// better way to handle downcasting from Operation into it's variants.

geth-utils/l2geth/go.mod

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
module l2gethutil
22

3-
go 1.21
3+
go 1.22
4+
5+
toolchain go1.23.2
46

57
require (
68
github.com/imdario/mergo v0.3.16
7-
github.com/scroll-tech/go-ethereum v1.10.14-0.20240717120140-0360eba83660
9+
github.com/scroll-tech/go-ethereum v1.10.14-0.20241001202020-2ed7456a4bc0
810
)
911

1012
require (
1113
github.com/VictoriaMetrics/fastcache v1.12.1 // indirect
12-
github.com/bits-and-blooms/bitset v1.13.0 // indirect
14+
github.com/bits-and-blooms/bitset v1.14.3 // indirect
1315
github.com/btcsuite/btcd v0.20.1-beta // indirect
1416
github.com/cespare/xxhash/v2 v2.2.0 // indirect
15-
github.com/consensys/bavard v0.1.13 // indirect
16-
github.com/consensys/gnark-crypto v0.12.1 // indirect
17-
github.com/crate-crypto/go-kzg-4844 v1.0.0 // indirect
17+
github.com/consensys/bavard v0.1.22 // indirect
18+
github.com/consensys/gnark-crypto v0.14.0 // indirect
19+
github.com/crate-crypto/go-kzg-4844 v1.1.0 // indirect
1820
github.com/davecgh/go-spew v1.1.1 // indirect
1921
github.com/deckarep/golang-set v1.8.0 // indirect
2022
github.com/edsrzf/mmap-go v1.0.0 // indirect
@@ -30,9 +32,9 @@ require (
3032
github.com/gorilla/websocket v1.5.0 // indirect
3133
github.com/hashicorp/golang-lru v1.0.2 // indirect
3234
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
33-
github.com/holiman/uint256 v1.2.4 // indirect
35+
github.com/holiman/uint256 v1.3.1 // indirect
3436
github.com/huin/goupnp v1.0.2 // indirect
35-
github.com/iden3/go-iden3-crypto v0.0.16 // indirect
37+
github.com/iden3/go-iden3-crypto v0.0.17 // indirect
3638
github.com/jackpal/go-nat-pmp v1.0.2-0.20160603034137-1fa385a6f458 // indirect
3739
github.com/mattn/go-runewidth v0.0.15 // indirect
3840
github.com/mmcloughlin/addchain v0.4.0 // indirect
@@ -46,16 +48,16 @@ require (
4648
github.com/scroll-tech/zktrie v0.8.4 // indirect
4749
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
4850
github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4 // indirect
49-
github.com/supranational/blst v0.3.12 // indirect
51+
github.com/supranational/blst v0.3.13 // indirect
5052
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
5153
github.com/tklauser/go-sysconf v0.3.14 // indirect
52-
github.com/tklauser/numcpus v0.8.0 // indirect
54+
github.com/tklauser/numcpus v0.9.0 // indirect
5355
github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef // indirect
5456
github.com/yusufpapurcu/wmi v1.2.4 // indirect
55-
golang.org/x/crypto v0.24.0 // indirect
56-
golang.org/x/sync v0.7.0 // indirect
57-
golang.org/x/sys v0.21.0 // indirect
58-
golang.org/x/text v0.16.0 // indirect
57+
golang.org/x/crypto v0.28.0 // indirect
58+
golang.org/x/sync v0.8.0 // indirect
59+
golang.org/x/sys v0.26.0 // indirect
60+
golang.org/x/text v0.19.0 // indirect
5961
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
6062
rsc.io/tmplfunc v0.0.3 // indirect
6163
)

0 commit comments

Comments
 (0)