Skip to content

Commit c6411f4

Browse files
committed
test(pulse-scheduler): add gas benchmark, refactor common helpers into util
1 parent 5354fe6 commit c6411f4

File tree

5 files changed

+494
-139
lines changed

5 files changed

+494
-139
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,9 @@ abstract contract Scheduler is IScheduler, SchedulerState {
671671
function getMinimumBalance(
672672
uint8 numPriceFeeds
673673
) external pure override returns (uint256 minimumBalanceInWei) {
674-
// Simple implementation - minimum balance is 0.01 ETH per price feed
675-
return numPriceFeeds * 0.01 ether;
674+
// Placeholder implementation
675+
// TODO: make this governable
676+
return numPriceFeeds * 1 wei;
676677
}
677678

678679
// ACCESS CONTROL MODIFIERS

0 commit comments

Comments
 (0)