Skip to content

Commit

Permalink
Lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Oppen committed Mar 4, 2024
1 parent f7a07f1 commit 693f4c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/lib/zksync_core/src/eth_sender/aggregator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl Aggregator {
Box::from(DataSizeCriterion {
op: AggregatedActionType::Commit,
data_limit: config.max_eth_tx_data_size,
l1_batch_commit_data_generator: l1_batch_commit_data_generator.clone(),
l1_batch_commit_data_generator,
}),
Box::from(TimestampDeadlineCriterion {
op: AggregatedActionType::Commit,
Expand Down
1 change: 1 addition & 0 deletions core/lib/zksync_core/src/eth_sender/eth_tx_aggregator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ pub struct EthTxAggregator {
}

impl EthTxAggregator {
#[allow(clippy::too-many-arguments)]
pub async fn new(
config: SenderConfig,
aggregator: Aggregator,
Expand Down
2 changes: 1 addition & 1 deletion core/lib/zksync_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ pub async fn initialize_components(
.as_ref()
.context("network_config")?
.zksync_network_id,
l1_batch_commit_data_generator.clone(),
l1_batch_commit_data_generator,
)
.await;
task_futures.push(tokio::spawn(
Expand Down

0 comments on commit 693f4c4

Please sign in to comment.