From b4cb110d1b0b38009db6df8e1fdc118967f33917 Mon Sep 17 00:00:00 2001 From: Eridian <86061486+EridianAlpha@users.noreply.github.com> Date: Tue, 18 Jun 2024 18:30:50 +0100 Subject: [PATCH] Comment out test before refactor --- test/unit/AavePM/InitializeTest.t.sol | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/unit/AavePM/InitializeTest.t.sol b/test/unit/AavePM/InitializeTest.t.sol index baf9ce6..2947b38 100644 --- a/test/unit/AavePM/InitializeTest.t.sol +++ b/test/unit/AavePM/InitializeTest.t.sol @@ -18,10 +18,11 @@ contract AavePMInitializeTests is AavePMTestSetup { assert(aavePM.hasRole(keccak256("MANAGER_ROLE"), owner1)); assert(aavePM.getRoleAdmin(keccak256("MANAGER_ROLE")) == keccak256("OWNER_ROLE")); - string memory currentVersion = aavePM.getVersion(); - string memory upgradeHistoryVersion = aavePM.getUpgradeHistory()[0].version; - assert(keccak256(abi.encodePacked(currentVersion)) == keccak256(abi.encodePacked(upgradeHistoryVersion))); - assert(aavePM.getUpgradeHistory()[0].upgradeTime == block.timestamp); - assert(aavePM.getUpgradeHistory()[0].upgradeInitiator == defaultFoundryCaller); + // TODO: Update these tests to use eventBlockNumbers + // string memory currentVersion = aavePM.getVersion(); + // string memory upgradeHistoryVersion = aavePM.getUpgradeHistory()[0].version; + // assert(keccak256(abi.encodePacked(currentVersion)) == keccak256(abi.encodePacked(upgradeHistoryVersion))); + // assert(aavePM.getUpgradeHistory()[0].upgradeTime == block.timestamp); + // assert(aavePM.getUpgradeHistory()[0].upgradeInitiator == defaultFoundryCaller); } }