File tree Expand file tree Collapse file tree 5 files changed +30
-14
lines changed
Expand file tree Collapse file tree 5 files changed +30
-14
lines changed Original file line number Diff line number Diff line change 2121 - uses : rui314/setup-mold@v1
2222 - uses : dtolnay/rust-toolchain@clippy
2323 with :
24- toolchain : nightly-2026-01-05
24+ toolchain : ' nightly-2026-01-05'
2525 components : clippy
2626 - uses : Swatinem/rust-cache@v2
2727 with :
3939 - uses : rui314/setup-mold@v1
4040 - uses : dtolnay/rust-toolchain@nightly
4141 with :
42- toolchain : nightly-2026-01-05
42+ toolchain : ' nightly-2026-01-05'
4343 components : rustfmt
4444 - name : Run fmt
4545 run : cargo fmt --all --check
@@ -62,14 +62,14 @@ jobs:
6262 - uses : rui314/setup-mold@v1
6363 - uses : dtolnay/rust-toolchain@nightly
6464 with :
65- toolchain : nightly-2026-01-05
65+ toolchain : ' nightly-2026-01-05'
6666 - uses : Swatinem/rust-cache@v2
6767 with :
6868 cache-on-failure : true
6969 - uses : taiki-e/install-action@cargo-udeps
7070 - name : Run udeps
7171 run : cargo udeps --workspace --lib --examples --tests --benches --all-features --locked
72-
72+
7373 zepter :
7474 runs-on : ubuntu-latest
7575 timeout-minutes : 10
9393 - uses : rui314/setup-mold@v1
9494 - uses : dtolnay/rust-toolchain@nightly
9595 with :
96- toolchain : nightly-2026-01-05
96+ toolchain : ' nightly-2026-01-05'
9797 - uses : Swatinem/rust-cache@v2
9898 with :
9999 cache-on-failure : true
Original file line number Diff line number Diff line change 2424 - uses : rui314/setup-mold@v1
2525 - uses : dtolnay/rust-toolchain@nightly
2626 with :
27- toolchain : nightly-2026-01-05
27+ toolchain : ' nightly-2026-01-05'
2828 - uses : Swatinem/rust-cache@v2
2929 with :
3030 cache-on-failure : true
4343 - uses : rui314/setup-mold@v1
4444 - uses : dtolnay/rust-toolchain@nightly
4545 with :
46- toolchain : nightly-2026-01-05
46+ toolchain : ' nightly-2026-01-05'
4747 - uses : Swatinem/rust-cache@v2
4848 with :
4949 cache-on-failure : true
Original file line number Diff line number Diff line change 1+ NIGHTLY_TOOLCHAIN := nightly-2026-01-05
2+
13.PHONY : fmt
24fmt :
3- cargo +nightly fmt
5+ cargo +$( NIGHTLY_TOOLCHAIN ) fmt
46
57.PHONY : lint-toml
68lint-toml : ensure-dprint
@@ -14,7 +16,7 @@ ensure-dprint:
1416
1517.PHONY : clippy
1618clippy :
17- cargo +nightly clippy \
19+ cargo +$( NIGHTLY_TOOLCHAIN ) clippy \
1820 --workspace \
1921 --lib \
2022 --examples \
@@ -25,7 +27,7 @@ clippy:
2527
2628.PHONY : clippy-fix
2729clippy-fix :
28- cargo +nightly clippy \
30+ cargo +$( NIGHTLY_TOOLCHAIN ) clippy \
2931 --workspace \
3032 --lib \
3133 --examples \
@@ -37,7 +39,7 @@ clippy-fix:
3739
3840.PHONY : udeps
3941udeps :
40- cargo +nightly udeps --workspace --lib --examples --tests --benches --all-features --locked
42+ cargo +$( NIGHTLY_TOOLCHAIN ) udeps --workspace --lib --examples --tests --benches --all-features --locked
4143
4244.PHONY : codespell
4345codespell : ensure-codespell
@@ -64,7 +66,7 @@ lint: fmt lint-toml clippy udeps codespell zepter
6466
6567.PHONY : test
6668test :
67- cargo nextest run \
69+ cargo + $( NIGHTLY_TOOLCHAIN ) nextest run \
6870 --workspace \
6971 --locked \
7072 --all-features \
Original file line number Diff line number Diff line change @@ -63,14 +63,24 @@ impl SystemContractConsensus {
6363 /// Creates a new [`SystemContractConsensus`] consensus instance with the given authorized
6464 /// signers.
6565 pub fn new ( authorized_signer : Address ) -> Self {
66+ tracing:: info!(
67+ target: "scroll::consensus" ,
68+ "Initialized system contract consensus with authorized signer: {authorized_signer}"
69+ ) ;
6670 Self { authorized_signer, metrics : SystemContractConsensusMetrics :: default ( ) }
6771 }
6872}
6973
7074impl Consensus for SystemContractConsensus {
7175 fn update_config ( & mut self , update : & ConsensusUpdate ) {
7276 match update {
73- ConsensusUpdate :: AuthorizedSigner ( signer) => self . authorized_signer = * signer,
77+ ConsensusUpdate :: AuthorizedSigner ( signer) => {
78+ tracing:: info!(
79+ target: "scroll::consensus" ,
80+ "Authorized signer updated to: {signer}"
81+ ) ;
82+ self . authorized_signer = * signer
83+ }
7484 } ;
7585 }
7686
Original file line number Diff line number Diff line change @@ -45,7 +45,11 @@ fn main() {
4545 . config ( )
4646 . engine
4747 . tree_config ( )
48- . with_always_process_payload_attributes_on_canonical_head ( true ) . with_persistence_threshold ( 0 ) . with_unwind_canonical_header ( true ) ;
48+ . with_always_process_payload_attributes_on_canonical_head ( true )
49+ . with_persistence_threshold ( 0 )
50+ . with_unwind_canonical_header ( true )
51+ // Use legacy state root processor due to performance issues with the new state root processor in reth.
52+ . with_legacy_state_root ( true ) ;
4953 let launcher = EngineNodeLauncher :: new (
5054 builder. task_executor ( ) . clone ( ) ,
5155 builder. config ( ) . datadir ( ) ,
You can’t perform that action at this time.
0 commit comments