Skip to content

Commit

Permalink
Spotless and fixes in other classes.
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Nelson <[email protected]>
  • Loading branch information
non-fungible-nelson committed Jan 18, 2024
1 parent fee12f7 commit b44019a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
/** Specification for the block gasLimit. */
public abstract class AbstractGasLimitSpecification {

public static final long DEFAULT_MAX_CONSTANT_ADMUSTMENT_INCREMENT = 1024L;
public static final long DEFAULT_MIN_GAS_LIMIT = 5000L;
public static final long DEFAULT_MAX_GAS_LIMIT = Long.MAX_VALUE;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ public FrontierTargetingGasLimitCalculator() {
this(DEFAULT_MIN_GAS_LIMIT, DEFAULT_MAX_GAS_LIMIT);
}

public FrontierTargetingGasLimitCalculator(
final long minGasLimit, final long maxGasLimit) {
public FrontierTargetingGasLimitCalculator(final long minGasLimit, final long maxGasLimit) {
super(minGasLimit, maxGasLimit);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,15 @@ public class LondonTargetingGasLimitCalculator extends FrontierTargetingGasLimit

public LondonTargetingGasLimitCalculator(
final long londonForkBlock, final BaseFeeMarket feeMarket) {
this(
DEFAULT_MAX_CONSTANT_ADMUSTMENT_INCREMENT,
DEFAULT_MIN_GAS_LIMIT,
DEFAULT_MAX_GAS_LIMIT,
londonForkBlock,
feeMarket);
this(DEFAULT_MIN_GAS_LIMIT, DEFAULT_MAX_GAS_LIMIT, londonForkBlock, feeMarket);
}

public LondonTargetingGasLimitCalculator(
final long maxConstantAdjustmentIncrement,
final long minGasLimit,
final long maxGasLimit,
final long londonForkBlock,
final BaseFeeMarket feeMarket) {
super(maxConstantAdjustmentIncrement, minGasLimit, maxGasLimit);
super(minGasLimit, maxGasLimit);
this.londonForkBlock = londonForkBlock;
this.feeMarket = feeMarket;
}
Expand Down

0 comments on commit b44019a

Please sign in to comment.