From 4ef5b35ad4a86a0e0933160bd26c3046ffec1851 Mon Sep 17 00:00:00 2001 From: Ratan Kaliani Date: Fri, 30 Aug 2024 16:53:14 -0700 Subject: [PATCH] test --- contracts/test/ZKL2OutputOracle.t.sol | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/contracts/test/ZKL2OutputOracle.t.sol b/contracts/test/ZKL2OutputOracle.t.sol index 52b7ef38..0d1757a2 100644 --- a/contracts/test/ZKL2OutputOracle.t.sol +++ b/contracts/test/ZKL2OutputOracle.t.sol @@ -42,25 +42,6 @@ contract ZKL2OutputOracleTest is Test, Utils { l2oo.proposeL2Output(claimedOutputRoot, claimedL2BlockNum, L1_HEAD, L1_BLOCK_NUM, proof); } - // function testZKL2OOFreshDeployment() public { - // l2oo = ZKL2OutputOracle(deployWithConfig(config, STARTING_OUTPUT_ROOT, STARTING_TIMESTAMP)); - // vm.startPrank(l2oo.PROPOSER()); - - // // fails if block hash hasn't been checkpointed - // vm.expectRevert(); - // l2oo.proposeL2Output(claimedOutputRoot, claimedL2BlockNum, L1_HEAD, L1_BLOCK_NUM, proof); - - // // set block hash - // vm.setBlockhash(L1_BLOCK_NUM, L1_HEAD); - // l2oo.checkpointBlockHash(L1_BLOCK_NUM, L1_HEAD); - // vm.warp(block.timestamp * 2); - - // // succeeds after - // l2oo.proposeL2Output(claimedOutputRoot, claimedL2BlockNum, L1_HEAD, L1_BLOCK_NUM, proof); - - // assertEq(l2oo.getL2Output(1).outputRoot, claimedOutputRoot); - // } - function testZKL2OOFailsWithWrongParams() public { l2oo = ZKL2OutputOracle(deployWithConfig(config, STARTING_OUTPUT_ROOT, STARTING_TIMESTAMP));