Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
perekopskiy committed Nov 22, 2024
1 parent 22e3422 commit f8aa456
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/node/eth_sender/src/aggregator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ impl Aggregator {
settlement_mode: SettlementMode,
) -> Self {
let pubdata_da = config.pubdata_sending_mode;
let operate_4844_mode = custom_commit_sender_addr.is_some() && settlement_mode.is_gateway();
let operate_4844_mode =
custom_commit_sender_addr.is_some() && !settlement_mode.is_gateway();

// We do not have a reliable lower bound for gas needed to execute batches on gateway so we do not aggregate.
let execute_criteria: Vec<Box<dyn L1BatchPublishCriterion>> = if settlement_mode
Expand Down

0 comments on commit f8aa456

Please sign in to comment.