Commit f0506fce authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: lint

parent fd02c719
...@@ -292,10 +292,7 @@ contract SystemConfig is OwnableUpgradeable, Semver { ...@@ -292,10 +292,7 @@ contract SystemConfig is OwnableUpgradeable, Semver {
_config.minimumBaseFee <= _config.maximumBaseFee, _config.minimumBaseFee <= _config.maximumBaseFee,
"SystemConfig: min base fee must be less than max base" "SystemConfig: min base fee must be less than max base"
); );
require( require(_config.baseFeeMaxChangeDenominator > 0, "SystemConfig: denominator cannot be 0");
_config.baseFeeMaxChangeDenominator > 0,
"SystemConfig: denominator cannot be 0"
);
require( require(
_config.maxResourceLimit + _config.systemTxMaxGas <= gasLimit, _config.maxResourceLimit + _config.systemTxMaxGas <= gasLimit,
"SystemConfig: gas limit too low" "SystemConfig: gas limit too low"
......
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