diff --git a/contracts/test/GlobalPauser.t.sol b/contracts/test/GlobalPauser.t.sol index 603bfcce..bc6c86c8 100644 --- a/contracts/test/GlobalPauser.t.sol +++ b/contracts/test/GlobalPauser.t.sol @@ -36,7 +36,7 @@ contract GlobalPauserTest is BaseTest { pauser.pauseAll(); } - function testPauseAllMode() public debuggingOnly forkAtBlock(MODE_MAINNET, 9269895) { + function testPauseAll() public debuggingOnly forkAtBlock(MODE_MAINNET, 9269895) { (, PoolDirectory.Pool[] memory pools) = PoolDirectory(poolDirectory).getActivePools(); for (uint256 i = 0; i < pools.length; i++) { ICErc20[] memory markets = IonicComptroller(pools[i].comptroller).getAllMarkets(); @@ -59,30 +59,4 @@ contract GlobalPauserTest is BaseTest { } } } - - function testPauseAllBase() public debuggingOnly forkAtBlock(BASE_MAINNET, 15970403) { - address _poolDirectory = 0xE1A3006be645a80F206311d9f18C866c204bA02f; - pauser = GlobalPauser(0x48F0F46F56C2Ca5def59fd673fF69495b7272Eb0); - (, PoolDirectory.Pool[] memory pools) = PoolDirectory(_poolDirectory).getActivePools(); - for (uint256 i = 0; i < pools.length; i++) { - ICErc20[] memory markets = IonicComptroller(pools[i].comptroller).getAllMarkets(); - for (uint256 j = 0; j < markets.length; j++) { - bool isPaused = IonicComptroller(pools[i].comptroller).borrowGuardianPaused(address(markets[j])); - assertEq(isPaused, false); - isPaused = IonicComptroller(pools[i].comptroller).mintGuardianPaused(address(markets[j])); - assertEq(isPaused, false); - } - } - vm.prank(pauseGuardian); - pauser.pauseAll(); - for (uint256 i = 0; i < pools.length; i++) { - ICErc20[] memory markets = IonicComptroller(pools[i].comptroller).getAllMarkets(); - for (uint256 j = 0; j < markets.length; j++) { - bool isPaused = IonicComptroller(pools[i].comptroller).borrowGuardianPaused(address(markets[j])); - assertEq(isPaused, true); - isPaused = IonicComptroller(pools[i].comptroller).mintGuardianPaused(address(markets[j])); - assertEq(isPaused, true); - } - } - } } diff --git a/contracts/test/config/BaseTest.t.sol b/contracts/test/config/BaseTest.t.sol index 292ed8f7..c691696e 100644 --- a/contracts/test/config/BaseTest.t.sol +++ b/contracts/test/config/BaseTest.t.sol @@ -21,7 +21,6 @@ abstract contract BaseTest is Test { uint128 constant LINEA_MAINNET = 59144; uint128 constant ZKEVM_MAINNET = 1101; uint128 constant MODE_MAINNET = 34443; - uint128 constant BASE_MAINNET = 8453; // taken from ERC1967Upgrade bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; diff --git a/lib/pyth-neon b/lib/pyth-neon deleted file mode 160000 index 7b4564e0..00000000 --- a/lib/pyth-neon +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7b4564e0cdf529bad833bb95a821454939b6e63a