Skip to content

Commit

Permalink
fix: dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Nov 6, 2024
1 parent 724af9b commit 26e7948
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 80 deletions.
104 changes: 58 additions & 46 deletions Cargo.lock

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

34 changes: 17 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,30 +49,30 @@ kona-derive = { version = "0.0.5", default-features = false }

# Alloy
alloy-rlp = { version = "0.3.9", default-features = false }
alloy-eips = { version = "0.5.4", default-features = false }
alloy-serde = { version = "0.5.4", default-features = false }
alloy-provider = { version = "0.5.4", default-features = false }
alloy-primitives = { version = "0.8.9", default-features = false }
alloy-consensus = { version = "0.5.4", default-features = false }
alloy-transport = { version = "0.5.4", default-features = false }
alloy-rpc-client = { version = "0.5.4", default-features = false }
alloy-node-bindings = { version = "0.5.4", default-features = false }
alloy-transport-http = { version = "0.5.4", default-features = false }
alloy-rpc-types-beacon = { version = "0.5.4", default-features = false }
alloy-eips = { version = "0.6.1", default-features = false }
alloy-serde = { version = "0.6.1", default-features = false }
alloy-provider = { version = "0.6.1", default-features = false }
alloy-primitives = { version = "0.8.11", default-features = false }
alloy-consensus = { version = "0.6.1", default-features = false }
alloy-transport = { version = "0.6.1", default-features = false }
alloy-rpc-client = { version = "0.6.1", default-features = false }
alloy-node-bindings = { version = "0.6.1", default-features = false }
alloy-transport-http = { version = "0.6.1", default-features = false }
alloy-rpc-types-beacon = { version = "0.6.1", default-features = false }

# OP Alloy
op-alloy-genesis = { version = "0.5.2", default-features = false }
op-alloy-protocol = { version = "0.5.2", default-features = false }
op-alloy-consensus = { version = "0.5.2", default-features = false }
op-alloy-genesis = { version = "0.6.2", default-features = false }
op-alloy-protocol = { version = "0.6.2", default-features = false }
op-alloy-consensus = { version = "0.6.2", default-features = false }

# Serialization
serde = { version = "1.0.213", default-features = false }
serde = { version = "1.0.214", default-features = false }
serde_json = { version = "1.0.132", default-features = false }

# Misc
lru = "0.12.4"
tokio = "1.40.0"
reqwest = "0.12.8"
lru = "0.12.5"
tokio = "1.41.0"
reqwest = "0.12.9"
async-trait = "0.1.83"
tracing = { version = "0.1.40", default-features = false }
derive_more = { version = "1.0.0", default-features = false }
Expand Down
3 changes: 2 additions & 1 deletion crates/derive/src/alloy_providers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ impl ChainProvider for AlloyChainProvider {
.raw_request("debug_getRawBlock".into(), [hash])
.await
.map_err(AlloyProviderError::Rpc)?;
let block = Block::decode(&mut raw_block.as_ref()).map_err(AlloyProviderError::Rlp)?;
let block: Block<TxEnvelope> =
Block::decode(&mut raw_block.as_ref()).map_err(AlloyProviderError::Rlp)?;

let block_info = BlockInfo {
hash: block.header.hash_slow(),
Expand Down
4 changes: 2 additions & 2 deletions crates/derive/src/beacon_client.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! Contains an online implementation of the `BeaconClient` trait.
use alloy_eips::eip4844::IndexedBlobHash;
use alloy_rpc_types_beacon::sidecar::{BeaconBlobBundle, BlobData};
use async_trait::async_trait;
use kona_derive::sources::IndexedBlobHash;
use reqwest::Client;

/// The config spec engine api method.
Expand Down Expand Up @@ -128,7 +128,7 @@ impl BeaconClient for OnlineBeaconClient {
let mut sidecars = Vec::with_capacity(hashes.len());
hashes.iter().for_each(|hash| {
if let Some(sidecar) =
raw_response.data.iter().find(|sidecar| sidecar.index == hash.index as u64)
raw_response.data.iter().find(|sidecar| sidecar.index == hash.index)
{
sidecars.push(sidecar.clone());
}
Expand Down
Loading

0 comments on commit 26e7948

Please sign in to comment.