Skip to content

Commit

Permalink
only run test when forked
Browse files Browse the repository at this point in the history
  • Loading branch information
gretzke committed Dec 10, 2024
1 parent 92a6c04 commit 21069e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pockets/AaveV3Pocket.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ contract InitializedTest is Initialized {
}

contract DepositTest is Initialized {
function test_ShouldMitigateInflationAttack(uint256 donationAmount, uint256 victimAmount) public {
function test_ShouldMitigateInflationAttack(uint256 donationAmount, uint256 victimAmount) public onlyForked {
uint256 dust = 1;
// maximum victim amount is 0.1 ether, if it is higher, the donation will trigger a supply cap error on aave
victimAmount = bound(victimAmount, 1, 0.1 ether);
Expand Down

0 comments on commit 21069e9

Please sign in to comment.