File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/contracts-bedrock/contracts/L1 Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,8 @@ abstract contract ResourceMetering is Initializable {
157157 // division by zero for L1s that don't support 1559 or to avoid excessive gas burns during
158158 // periods of extremely low L1 demand. One-day average gas fee hasn't dipped below 1 gwei
159159 // during any 1 day period in the last 5 years, so should be fine.
160- uint256 gasCost = resourceCost / Math.max (block .basefee , 1 gwei);
160+ // uint256 gasCost = resourceCost / Math.max(block.basefee, 1 gwei);
161+ uint256 gasCost = resourceCost / 5 gwei ;
161162
162163 // Give the user a refund based on the amount of gas they used to do all of the work up to
163164 // this point. Since we're at the end of the modifier, this should be pretty accurate. Acts
You can’t perform that action at this time.
0 commit comments