Skip to content

Commit 7c08797

Browse files
committed
fix: add constants
1 parent fee5fd1 commit 7c08797

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

target_chains/ethereum/contracts/contracts/pulse/scheduler/SchedulerState.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ contract SchedulerState {
88
// Maximum number of price feeds per subscription
99
uint8 public constant MAX_PRICE_IDS = 10;
1010

11+
uint256 public constant PAST_TIMESTAMP_GRACE_PERIOD = 1 hours;
12+
uint256 public constant FUTURE_TIMESTAMP_GRACE_PERIOD = 10 seconds;
13+
1114
struct State {
1215
// Monotonically increasing counter for subscription IDs
1316
uint256 subscriptionNumber;

0 commit comments

Comments
 (0)