Commit 4e3f3c16 authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: lint

parent b6f4caed
......@@ -59,7 +59,7 @@ abstract contract ResourceMetering is Initializable {
* Setting this value too large can result in more gas being
* consumed than the L1 block gas limit.
*/
int256 public constant MAXIMUM_BASE_FEE = int256(uint256(type(uint32).max / 7 * 6));
int256 public constant MAXIMUM_BASE_FEE = int256(uint256((type(uint32).max / 7) * 6));
/**
* @notice Initial base fee value. This value must be smaller than the
......
......@@ -16,7 +16,11 @@ contract MeterUser is ResourceMetering {
function use(uint64 _amount) public metered(_amount) {}
function set(uint128 _prevBaseFee, uint64 _prevBoughtGas, uint64 _prevBlockNum) public {
function set(
uint128 _prevBaseFee,
uint64 _prevBoughtGas,
uint64 _prevBlockNum
) public {
params = ResourceMetering.ResourceParams({
prevBaseFee: _prevBaseFee,
prevBoughtGas: _prevBoughtGas,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment