Skip to content

Commit

Permalink
Hot fix for op sync (#7723)
Browse files Browse the repository at this point in the history
  • Loading branch information
deffrian authored Nov 5, 2024
1 parent f6843c1 commit 8e69a02
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,6 @@ public class OptimismChainSpecEngineParameters : IChainSpecEngineParameters

public byte[]? Create2DeployerCode { get; set; }

public void AddTransitions(SortedSet<long> blockNumbers, SortedSet<ulong> timestamps)
{
ArgumentNullException.ThrowIfNull(BedrockBlockNumber);
ArgumentNullException.ThrowIfNull(RegolithTimestamp);
ArgumentNullException.ThrowIfNull(CanyonTimestamp);
ArgumentNullException.ThrowIfNull(EcotoneTimestamp);
ArgumentNullException.ThrowIfNull(FjordTimestamp);
ArgumentNullException.ThrowIfNull(GraniteTimestamp);
blockNumbers.Add(BedrockBlockNumber.Value);
timestamps.Add(RegolithTimestamp.Value);
timestamps.Add(CanyonTimestamp.Value);
timestamps.Add(EcotoneTimestamp.Value);
timestamps.Add(FjordTimestamp.Value);
timestamps.Add(GraniteTimestamp.Value);
}

public void ApplyToReleaseSpec(ReleaseSpec spec, long startBlock, ulong? startTimestamp)
{
ArgumentNullException.ThrowIfNull(CanyonBaseFeeChangeDenominator);
Expand Down

0 comments on commit 8e69a02

Please sign in to comment.