Skip to content

Commit 7605555

Browse files
committed
fix: access control, add todos
1 parent 6261818 commit 7605555

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,6 @@ abstract contract Scheduler is IScheduler, SchedulerState {
275275
subscriptionId
276276
];
277277

278-
if (!status.isActive) {
279-
revert InactiveSubscription();
280-
}
281-
282278
if (status.balanceInWei < amount) {
283279
revert InsufficientBalance();
284280
}

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,11 @@ contract SchedulerState {
5454
uint32 heartbeatSeconds;
5555
bool updateOnDeviation;
5656
uint32 deviationThresholdBps;
57+
58+
// TODO: add updateOnConfidenceRatio?
59+
60+
// TODO: add "early update" support? i.e. update all feeds when at least one feed
61+
// meets the triggering conditions, rather than waiting for all feeds
62+
// to meet the conditions
5763
}
5864
}

0 commit comments

Comments
 (0)