Skip to content

Commit 5b15c37

Browse files
committed
Removed extra param from PoPayloadBUilderVanilla
1 parent eb6e7e6 commit 5b15c37

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/op-rbuilder/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ derive_more.workspace = true
7979
metrics.workspace = true
8080
serde_json.workspace = true
8181
tokio-util.workspace = true
82-
auto_impl.workspace = true
8382

8483
time = { version = "0.3.36", features = ["macros", "formatting", "parsing"] }
8584
chrono = "0.4"

crates/op-rbuilder/src/payload_builder_vanilla.rs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ where
195195
impl<Pool, Client, EvmConfig, N, Txs> reth_basic_payload_builder::PayloadBuilder
196196
for OpPayloadBuilderVanilla<Pool, Client, EvmConfig, N, Txs>
197197
where
198-
Pool: TransactionPool + Clone + Send + Sync,
198+
Pool: Clone + Send + Sync,
199199
Client: Clone + Send + Sync,
200200
EvmConfig: Clone + Send + Sync,
201201
N: NodePrimitives,
@@ -224,13 +224,7 @@ where
224224

225225
/// Optimism's payload builder
226226
#[derive(Debug, Clone)]
227-
pub struct OpPayloadBuilderVanilla<
228-
Pool: BuilderTransactionPool,
229-
Client,
230-
EvmConfig,
231-
N: NodePrimitives,
232-
Txs = (),
233-
> {
227+
pub struct OpPayloadBuilderVanilla<Pool, Client, EvmConfig, N: NodePrimitives, Txs = ()> {
234228
/// The type responsible for creating the evm.
235229
pub evm_config: EvmConfig,
236230
/// The builder's signer key to use for an end of block tx
@@ -254,7 +248,7 @@ pub struct OpPayloadBuilderVanilla<
254248
pub supervisor_safety_level: SafetyLevel,
255249
}
256250

257-
impl<Pool: BuilderTransactionPool, Client, EvmConfig, N: NodePrimitives>
251+
impl<Pool, Client, EvmConfig, N: NodePrimitives>
258252
OpPayloadBuilderVanilla<Pool, Client, EvmConfig, N>
259253
{
260254
/// `OpPayloadBuilder` constructor.

0 commit comments

Comments
 (0)