diff --git a/docs/fees/notebook/fee-model.py b/docs/fees/notebook/fee-model.py index 2efa58c..127a77c 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 @@ -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))),