Skip to content

Commit 53329df

Browse files
committed
fix: let gasbenchmark test contract accept payment
1 parent 235d457 commit 53329df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

target_chains/ethereum/contracts/forge-test/PulseSchedulerGasBenchmark.t.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,4 +227,7 @@ contract PulseSchedulerGasBenchmark is Test, PulseSchedulerTestUtils {
227227
function testGetActiveSubscriptions1000() public {
228228
_runGetActiveSubscriptionsBenchmark(1000);
229229
}
230+
231+
// Allow the contract to receive Ether (for keeper payments during tests)
232+
receive() external payable {}
230233
}

0 commit comments

Comments
 (0)