Skip to content

Commit

Permalink
fix: imports (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell authored Nov 20, 2024
1 parent 3cd775f commit 2630f7a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 26 deletions.
32 changes: 18 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 4 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ default-members = ["bin/host", "bin/client"]
# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
resolver = "2"

[patch.crates-io]
op-alloy-genesis = { git = "https://github.com/alloy-rs/op-alloy", branch = "main" }
op-alloy-protocol = { git = "https://github.com/alloy-rs/op-alloy", branch = "main" }
op-alloy-consensus = { git = "https://github.com/alloy-rs/op-alloy", branch = "main" }
op-alloy-rpc-types-engine = { git = "https://github.com/alloy-rs/op-alloy", branch = "main" }

[workspace.lints.rust]
missing-debug-implementations = "warn"
missing-docs = "warn"
Expand Down Expand Up @@ -95,10 +89,10 @@ alloy-rpc-types-engine = { version = "0.6.4", default-features = false }
alloy-rpc-types-beacon = { version = "0.6.4", default-features = false }

# OP Alloy
op-alloy-genesis = { version = "0.6.6", default-features = false }
op-alloy-protocol = { version = "0.6.6", default-features = false }
op-alloy-consensus = { version = "0.6.6", default-features = false }
op-alloy-rpc-types-engine = { version = "0.6.6", default-features = false }
op-alloy-genesis = { version = "0.6.7", default-features = false }
op-alloy-protocol = { version = "0.6.7", default-features = false }
op-alloy-consensus = { version = "0.6.7", default-features = false }
op-alloy-rpc-types-engine = { version = "0.6.7", default-features = false }

# General
lru = "0.12.4"
Expand Down
2 changes: 1 addition & 1 deletion crates/driver/src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ where
P: Pipeline + SignalReceiver,
{
/// Flushes any cache on re-org.
fn flush(&self);
fn flush(&mut self);

/// Produces the disputed [OpAttributesWithParent] payload, directly after the given
/// starting l2 safe head.
Expand Down
2 changes: 1 addition & 1 deletion crates/proof-sdk/proof/src/l1/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ where
B: BlobProvider + Send + Sync + Debug + Clone,
{
/// Flushes the cache on re-org.
fn flush(&self) {
fn flush(&mut self) {
self.caching_oracle.flush();
}
}
Expand Down

0 comments on commit 2630f7a

Please sign in to comment.