@@ -374,6 +374,22 @@ pub struct CommonArgs {
374
374
) ]
375
375
pre_verification_gas_accept_percent : u32 ,
376
376
377
+ #[ arg(
378
+ long = "execution_gas_limit_efficiency_reject_threshold" ,
379
+ name = "execution_gas_limit_efficiency_reject_threshold" ,
380
+ env = "EXECUTION_GAS_LIMIT_EFFICIENCY_REJECT_THRESHOLD" ,
381
+ default_value = "0.0"
382
+ ) ]
383
+ pub execution_gas_limit_efficiency_reject_threshold : f64 ,
384
+
385
+ #[ arg(
386
+ long = "verification_gas_limit_efficiency_reject_threshold" ,
387
+ name = "verification_gas_limit_efficiency_reject_threshold" ,
388
+ env = "VERIFICATION_GAS_LIMIT_EFFICIENCY_REJECT_THRESHOLD" ,
389
+ default_value = "0.0"
390
+ ) ]
391
+ pub verification_gas_limit_efficiency_reject_threshold : f64 ,
392
+
377
393
#[ arg(
378
394
long = "mempool_config_path" ,
379
395
name = "mempool_config_path" ,
@@ -527,6 +543,8 @@ impl TryFromWithSpec<&CommonArgs> for EstimationSettings {
527
543
max_paymaster_post_op_gas : max_bundle_execution_gas,
528
544
max_bundle_execution_gas,
529
545
verification_estimation_gas_fee : value. verification_estimation_gas_fee ,
546
+ verification_gas_limit_efficiency_reject_threshold : value
547
+ . verification_gas_limit_efficiency_reject_threshold ,
530
548
} )
531
549
}
532
550
}
@@ -547,6 +565,8 @@ impl TryFromWithSpec<&CommonArgs> for PrecheckSettings {
547
565
) ?,
548
566
base_fee_accept_percent : value. base_fee_accept_percent ,
549
567
pre_verification_gas_accept_percent : value. pre_verification_gas_accept_percent ,
568
+ verification_gas_limit_efficiency_reject_threshold : value
569
+ . verification_gas_limit_efficiency_reject_threshold ,
550
570
} )
551
571
}
552
572
}
0 commit comments