From f68fc8fe69b4b3787636295723c75cee9815ec91 Mon Sep 17 00:00:00 2001 From: Lasse Herskind <16536249+LHerskind@users.noreply.github.com> Date: Mon, 23 Feb 2026 11:50:09 +0100 Subject: [PATCH 1/2] fix: python rounding --- docs/fees/notebook/fee-model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fees/notebook/fee-model.py b/docs/fees/notebook/fee-model.py index 2efa58c..5184fc0 100644 --- a/docs/fees/notebook/fee-model.py +++ b/docs/fees/notebook/fee-model.py @@ -546,7 +546,7 @@ def fee_update_fraction(self) -> Uint256: A bit of magic for the fake exponential and integer math. Computing the divisor this way should ensure that the multiplier will increase by at most a factor of ~ 1.125 every block. """ - return Uint256(int(self.mana_target.value / 0.117)) + return Uint256((self.mana_target.value * 854_700_854) // 100_000_000) def compute_sequencer_costs( self, block: Optional[Block], real=False From 6e925b0e196455922071f8de9ce4e3e2bb85c16b Mon Sep 17 00:00:00 2001 From: Lasse Herskind <16536249+LHerskind@users.noreply.github.com> Date: Mon, 23 Feb 2026 14:35:07 +0100 Subject: [PATCH 2/2] fix: 3.6M for epoch verification --- docs/fees/notebook/fee-model.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/fees/notebook/fee-model.py b/docs/fees/notebook/fee-model.py index 5184fc0..127a77c 100644 --- a/docs/fees/notebook/fee-model.py +++ b/docs/fees/notebook/fee-model.py @@ -820,9 +820,9 @@ def _( random, ): fee_model = FeeModel( - mana_target=Uint256(int(1e8)), - l1_gas_per_block_proposed=Uint256(int(0.3e6)), - l1_gas_per_epoch_verified=Uint256(int(1e6)), + mana_target=Uint256(int(75_000_000)), + l1_gas_per_block_proposed=Uint256(int(300_000)), + l1_gas_per_epoch_verified=Uint256(int(3_600_000)), proving_cost_per_mana=Uint256(int(WEI_PER_MANA)), l1_gas_oracle=L1GasOracle( pre=L1Fees(blob_fee=Uint256(1), base_fee=Uint256(int(1e9))),