Skip to content

Commit 0d2539b

Browse files
committed
Merge branch 'main' into evalir/bump-reth-1.8
2 parents 29b1e73 + b91f3b5 commit 0d2539b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2426
-625
lines changed

Cargo.toml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["crates/*"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.9.1"
6+
version = "0.10.4"
77
edition = "2024"
88
rust-version = "1.88"
99
authors = ["init4"]
@@ -34,12 +34,13 @@ debug = false
3434
incremental = false
3535

3636
[workspace.dependencies]
37-
signet-blobber = { version = "0.9.0", path = "crates/blobber" }
38-
signet-db = { version = "0.9.0", path = "crates/db" }
39-
signet-node-types = { version = "0.9.0", path = "crates/node-types" }
40-
signet-rpc = { version = "0.9.0", path = "crates/rpc" }
37+
signet-blobber = { version = "0.10", path = "crates/blobber" }
38+
signet-block-processor = { version = "0.10", path = "crates/block-processor" }
39+
signet-db = { version = "0.10", path = "crates/db" }
40+
signet-node-types = { version = "0.10", path = "crates/node-types" }
41+
signet-rpc = { version = "0.10", path = "crates/rpc" }
4142

42-
init4-bin-base = { version = "0.10.0", features = ["alloy"] }
43+
init4-bin-base = { version = "0.13.0", features = ["alloy"] }
4344

4445
signet-bundle = "0.11.0"
4546
signet-constants = "0.11.0"
@@ -48,6 +49,7 @@ signet-extract = "0.11.0"
4849
signet-tx-cache = "0.11.0"
4950
signet-types = "0.11.0"
5051
signet-zenith = "0.11.0"
52+
signet-journal = "0.11.0"
5153

5254
# ajj
5355
ajj = { version = "0.3.4" }
@@ -56,7 +58,6 @@ ajj = { version = "0.3.4" }
5658
trevm = { version = "0.29.0", features = ["full_env_cfg"] }
5759

5860
# Alloy periphery crates
59-
alloy-core = { version = "1.4" }
6061
alloy = { version = "1.0.35", features = [
6162
"full",
6263
"rpc-types-beacon",
@@ -118,5 +119,13 @@ uuid = "1.16.0"
118119
alloy-rlp = "0.3.11"
119120
tempfile = "3.17.0"
120121

121-
[patch.crates-io]
122-
init4-bin-base = {path = "../bin-base" }
122+
# [patch.crates-io]
123+
# signet-bundle = { path = "../sdk/crates/bundle"}
124+
# signet-constants = { path = "../sdk/crates/constants"}
125+
# signet-evm = { path = "../sdk/crates/evm"}
126+
# signet-extract = { path = "../sdk/crates/extract"}
127+
# signet-tx-cache = { path = "../sdk/crates/tx-cache"}
128+
# signet-types = { path = "../sdk/crates/types"}
129+
# signet-zenith = { path = "../sdk/crates/zenith"}
130+
131+
# init4-bin-base = { path = "../shared" }

crates/blobber/src/builder.rs renamed to crates/blobber/src/blobs/builder.rs

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use crate::{BlobCacher, BlobFetcher, BlobFetcherConfig};
2-
use init4_bin_base::utils::calc::SlotCalculator;
32
use reth::transaction_pool::TransactionPool;
43
use url::Url;
54

@@ -35,7 +34,6 @@ pub struct BlobFetcherBuilder<Pool> {
3534
client: Option<reqwest::Client>,
3635
cl_url: Option<String>,
3736
pylon_url: Option<String>,
38-
slot_calculator: Option<SlotCalculator>,
3937
}
4038

4139
impl<Pool> BlobFetcherBuilder<Pool> {
@@ -47,7 +45,6 @@ impl<Pool> BlobFetcherBuilder<Pool> {
4745
client: self.client,
4846
cl_url: self.cl_url,
4947
pylon_url: self.pylon_url,
50-
slot_calculator: self.slot_calculator,
5148
}
5249
}
5350

@@ -107,22 +104,6 @@ impl<Pool> BlobFetcherBuilder<Pool> {
107104
self.pylon_url = Some(pylon_url.to_string());
108105
Ok(self)
109106
}
110-
111-
/// Set the slot calculator to use for the extractor.
112-
pub const fn with_slot_calculator(
113-
mut self,
114-
slot_calculator: SlotCalculator,
115-
) -> BlobFetcherBuilder<Pool> {
116-
self.slot_calculator = Some(slot_calculator);
117-
self
118-
}
119-
120-
/// Set the slot calculator to use for the extractor, using the Pecornino
121-
/// host configuration.
122-
pub const fn with_pecornino_slots(mut self) -> BlobFetcherBuilder<Pool> {
123-
self.slot_calculator = Some(SlotCalculator::pecorino_host());
124-
self
125-
}
126107
}
127108

128109
impl<Pool: TransactionPool> BlobFetcherBuilder<Pool> {
@@ -141,9 +122,7 @@ impl<Pool: TransactionPool> BlobFetcherBuilder<Pool> {
141122
let explorer =
142123
foundry_blob_explorers::Client::new_with_client(explorer_url, client.clone());
143124

144-
let slot_calculator = self.slot_calculator.ok_or(BuilderError::MissingSlotCalculator)?;
145-
146-
Ok(BlobFetcher::new(pool, explorer, client, cl_url, pylon_url, slot_calculator))
125+
Ok(BlobFetcher::new(pool, explorer, client, cl_url, pylon_url))
147126
}
148127

149128
/// Build a [`BlobCacher`] with the provided parameters.

0 commit comments

Comments
 (0)