Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.
Closed
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
1 change: 1 addition & 0 deletions .github/workflows/action_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
toolchain: 1.81
- uses: taiki-e/install-action@cargo-llvm-cov
- name: Clone monorepo
run: just monorepo
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.81
- name: Setup mdbook
run: |
cargo install --version 0.4.40 mdbook
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/client_host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
toolchain: 1.81
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/monorepo_pin_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
token: ${{ secrets.PAT_TOKEN }}
- uses: taiki-e/install-action@just
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.81
- name: Update Monorepo Commit
run: just update-monorepo
- name: Create Pull Request
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
submodules: true
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.81
- name: Commit Cargo.lock
run: |
git config --local user.email "action@github.com"
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/rust_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- uses: taiki-e/install-action@just
- name: Install Rust stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.81
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down Expand Up @@ -70,6 +72,8 @@ jobs:
- uses: taiki-e/install-action@just
- name: Install Rust stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.81
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand All @@ -94,6 +98,8 @@ jobs:
- uses: taiki-e/install-action@just
- name: Install Rust stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.81
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand All @@ -120,6 +126,8 @@ jobs:
- uses: taiki-e/install-action@just
- name: Install Rust stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.81
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand All @@ -138,6 +146,8 @@ jobs:
- uses: taiki-e/install-action@just
- name: Install Rust stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.81
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -154,6 +164,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
toolchain: 1.81
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down
5 changes: 0 additions & 5 deletions .vscode/settings.json

This file was deleted.

2 changes: 1 addition & 1 deletion bin/host/src/single/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl SingleChainHost {
}

/// Starts the preimage server, communicating with the client over the provided channels.
async fn start_server<C>(&self, hint: C, preimage: C) -> Result<JoinHandle<Result<()>>>
pub async fn start_server<C>(&self, hint: C, preimage: C) -> Result<JoinHandle<Result<()>>>
where
C: Channel + Send + Sync + 'static,
{
Expand Down
1 change: 0 additions & 1 deletion crates/derive/src/attributes/stateful.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(clippy::unnecessary_map_or)]
//! The [`AttributesBuilder`] and it's default implementation.

use crate::{
Expand Down
1 change: 0 additions & 1 deletion crates/derive/src/stages/batch/batch_validator.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(clippy::unnecessary_map_or)]
//! Contains the [BatchValidator] stage.

use super::NextBatchProvider;
Expand Down
2 changes: 1 addition & 1 deletion crates/derive/src/test_utils/frame_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl TestFrameQueueProvider {
}

/// Sets the origin for the [MockFrameQueueProvider].
pub const fn set_origin(&mut self, origin: BlockInfo) {
pub fn set_origin(&mut self, origin: BlockInfo) {
self.origin = Some(origin);
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/interop/src/super_root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ mod test {
],
);

assert!(super_root.output_roots.is_sorted_by_key(|r| r.chain_id));
assert!(super_root.output_roots.windows(2).all(|w| w[0].chain_id <= w[1].chain_id));
}

#[test]
Expand Down
2 changes: 1 addition & 1 deletion crates/mpt/src/list_walker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ where

/// Takes the inner list of the [OrderedListWalker], returning it and setting the inner list to
/// [None].
pub const fn take_inner(&mut self) -> Option<VecDeque<(Bytes, Bytes)>> {
pub fn take_inner(&mut self) -> Option<VecDeque<(Bytes, Bytes)>> {
self.inner.take()
}

Expand Down
2 changes: 1 addition & 1 deletion crates/proof-sdk/proof-interop/src/consolidation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ where
C: CommsClient + Send + Sync,
{
/// Creates a new [SuperchainConsolidator] with the given providers and [Header]s.
pub const fn new(
pub fn new(
boot_info: &'a mut BootInfo,
interop_provider: OracleInteropProvider<C>,
l2_providers: HashMap<u64, OracleL2ChainProvider<C>>,
Expand Down
2 changes: 1 addition & 1 deletion crates/proof-sdk/proof/src/l2/chain_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl<T: CommsClient> OracleL2ChainProvider<T> {
}

/// Sets the L2 chain ID to use for the provider's hints.
pub const fn set_chain_id(&mut self, chain_id: Option<u64>) {
pub fn set_chain_id(&mut self, chain_id: Option<u64>) {
self.chain_id = chain_id;
}

Expand Down
2 changes: 1 addition & 1 deletion crates/proof-sdk/std-fpvm/src/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ struct ReadFuture<'a> {

impl<'a> ReadFuture<'a> {
/// Create a new [ReadFuture] from a channel and a buffer.
const fn new(channel: FileChannel, buf: &'a mut [u8]) -> Self {
fn new(channel: FileChannel, buf: &'a mut [u8]) -> Self {
Self { channel, buf: RefCell::new(buf), read: 0 }
}
}
Expand Down
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fmt-native-check:

# Lint the workspace
lint-native: fmt-native-check lint-docs
cargo +nightly clippy --workspace --all --all-features --all-targets -- -D warnings
cargo clippy --workspace --all --all-features --all-targets -- -D warnings

# Lint the workspace (mips arch). Currently, only the `kona-std-fpvm` crate is linted for the `cannon` target, as it is the only crate with architecture-specific code.
lint-cannon:
Expand All @@ -72,7 +72,7 @@ lint-cannon:
--platform linux/amd64 \
-v `pwd`/:/workdir \
-w="/workdir" \
ghcr.io/op-rs/kona/cannon-builder:main cargo +nightly clippy -p kona-std-fpvm --all-features -Zbuild-std=core,alloc -- -D warnings
ghcr.io/op-rs/kona/cannon-builder:main cargo clippy -p kona-std-fpvm --all-features -Zbuild-std=core,alloc -- -D warnings

# Lint the workspace (risc-v arch). Currently, only the `kona-std-fpvm` crate is linted for the `asterisc` target, as it is the only crate with architecture-specific code.
lint-asterisc:
Expand All @@ -81,7 +81,7 @@ lint-asterisc:
--platform linux/amd64 \
-v `pwd`/:/workdir \
-w="/workdir" \
ghcr.io/op-rs/kona/asterisc-builder:main cargo +nightly clippy -p kona-std-fpvm --all-features -Zbuild-std=core,alloc -- -D warnings
ghcr.io/op-rs/kona/asterisc-builder:main cargo clippy -p kona-std-fpvm --all-features -Zbuild-std=core,alloc -- -D warnings

# Lint the Rust documentation
lint-docs:
Expand Down
2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "1.81"