diff --git a/contracts/ForkingManager.sol b/contracts/ForkingManager.sol index 694f4130..b20c18f9 100644 --- a/contracts/ForkingManager.sol +++ b/contracts/ForkingManager.sol @@ -91,6 +91,7 @@ contract ForkingManager is IForkingManager, ForkableStructure { forkProposals[counter] = ForkProposal({ disputeData: disputeData, proposedImplementations: newImplementations, + // solhint-disable-next-line not-rely-on-time executionTime: block.timestamp + preparationTime }); proposalCounter = counter + 1; @@ -104,6 +105,7 @@ contract ForkingManager is IForkingManager, ForkableStructure { function executeFork(uint256 counter) external onlyBeforeForking { require( forkProposals[counter].executionTime != 0 && + // solhint-disable-next-line not-rely-on-time forkProposals[counter].executionTime <= block.timestamp, "ForkingManager: fork not ready" ); diff --git a/contracts/interfaces/IForkingManager.sol b/contracts/interfaces/IForkingManager.sol index 3656f92c..93fd77a8 100644 --- a/contracts/interfaces/IForkingManager.sol +++ b/contracts/interfaces/IForkingManager.sol @@ -35,7 +35,7 @@ interface IForkingManager is IForkableStructure { AddressPair forkonomicToken; AddressPair globalExitRoot; } - + // Struct containing the data for the paid fork struct ForkProposal { DisputeData disputeData;