Skip to content

Commit

Permalink
Removed checkEpoch Modifier from stateManager.sol (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
GauravJain9 authored Aug 23, 2021
1 parent 4a289ad commit eb2bd74
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions contracts/Core/StateManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ pragma solidity ^0.8.0;
import "./storage/Constants.sol";

contract StateManager is Constants {
modifier checkEpoch(uint32 epoch, uint32 epochLength) {
require(epoch == getEpoch(epochLength), "incorrect epoch");
_;
}

modifier checkState(State state, uint32 epochLength) {
require(state == getState(epochLength), "incorrect state");
_;
Expand Down

0 comments on commit eb2bd74

Please sign in to comment.