From 1e58e80fd9c1621522984ff5a735254275f90098 Mon Sep 17 00:00:00 2001 From: LeanSerra <46695152+LeanSerra@users.noreply.github.com> Date: Mon, 2 Dec 2024 11:21:15 -0300 Subject: [PATCH] Update crates/l2/utils/eth_client/mod.rs Co-authored-by: Federico Borello <156438142+fborello-lambda@users.noreply.github.com> --- crates/l2/utils/eth_client/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/l2/utils/eth_client/mod.rs b/crates/l2/utils/eth_client/mod.rs index 41d9cbcfd..93efc0538 100644 --- a/crates/l2/utils/eth_client/mod.rs +++ b/crates/l2/utils/eth_client/mod.rs @@ -325,7 +325,6 @@ impl EthClient { /// Increase max fee per gas by percentage% (set it to (100+percentage)% of the original) pub fn bump_privileged_l2(&self, tx: &mut PrivilegedL2Transaction, percentage: u64) { - // TODO: handle as conversions tx.max_fee_per_gas = (tx.max_fee_per_gas * (100 + percentage)) / 100; tx.max_priority_fee_per_gas += (tx.max_priority_fee_per_gas * (100 + percentage)) / 100; }