From dd3b0e46a146ea2412f70d5df71313e51ed61e68 Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 10 Feb 2025 13:56:13 +0100 Subject: [PATCH] fix: use new block --- snapshots/BatchRepayBadDebtSteward.json | 12 ++++++------ tests/maintenance/BatchRepayBadDebtSteward.t.sol | 4 +--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/snapshots/BatchRepayBadDebtSteward.json b/snapshots/BatchRepayBadDebtSteward.json index 2febafc..906b741 100644 --- a/snapshots/BatchRepayBadDebtSteward.json +++ b/snapshots/BatchRepayBadDebtSteward.json @@ -1,11 +1,11 @@ { "function batchLiquidate: with 0 users": "98545", - "function batchLiquidate: with 1 user": "584880", - "function batchLiquidate: with 2 users": "911712", - "function batchLiquidate: with 3 users": "1129444", - "function batchLiquidate: with 4 users": "1347187", - "function batchLiquidate: with 5 users": "1670804", - "function batchLiquidate: with 6 users": "1888548", + "function batchLiquidate: with 1 user": "585000", + "function batchLiquidate: with 2 users": "911832", + "function batchLiquidate: with 3 users": "1129564", + "function batchLiquidate: with 4 users": "1347307", + "function batchLiquidate: with 5 users": "1670924", + "function batchLiquidate: with 6 users": "1888668", "function batchRepayBadDebt: with 0 users": "70526", "function batchRepayBadDebt: with 1 user": "222698", "function batchRepayBadDebt: with 2 users": "285094", diff --git a/tests/maintenance/BatchRepayBadDebtSteward.t.sol b/tests/maintenance/BatchRepayBadDebtSteward.t.sol index 2015a42..44dca9c 100644 --- a/tests/maintenance/BatchRepayBadDebtSteward.t.sol +++ b/tests/maintenance/BatchRepayBadDebtSteward.t.sol @@ -60,11 +60,9 @@ contract BatchRepayBadDebtStewardBaseTest is Test { address public collector = address(AaveV3Avalanche.COLLECTOR); function setUp() public { - vm.createSelectFork(vm.rpcUrl("avalanche"), 56921378); // https://snowscan.xyz/block/56768474 + vm.createSelectFork(vm.rpcUrl("avalanche"), 57114758); // https://snowscan.xyz/block/56768474 steward = new BatchRepayBadDebtSteward(address(AaveV3Avalanche.POOL), collector, admin, guardian); - // collector upgrade - GovV3Helpers.executePayload(vm, 65); // v3.3 pool upgrade GovV3Helpers.executePayload(vm, 67); vm.prank(AaveV3Avalanche.ACL_ADMIN);