From 08c6094a95dffe90b5d5e502285ed2328e007ce5 Mon Sep 17 00:00:00 2001 From: karankurbur Date: Mon, 6 Jan 2025 22:59:33 -0800 Subject: [PATCH] fix test --- contracts/test/PBHEntryPointImplV1.t.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/test/PBHEntryPointImplV1.t.sol b/contracts/test/PBHEntryPointImplV1.t.sol index fc336921..825bf97c 100644 --- a/contracts/test/PBHEntryPointImplV1.t.sol +++ b/contracts/test/PBHEntryPointImplV1.t.sol @@ -159,7 +159,7 @@ contract PBHEntryPointImplV1Test is TestSetup { vm.expectEmit(true, true, true, true); emit PBH(address(this), signalHash, testPayload); - pbhEntryPoint.pbhMulticall(calls, testPayload); + pbhEntryPoint.pbhMulticall{gas: MAX_PBH_GAS_LIMIT}(calls, testPayload); } function test_pbhMulticall_RevertIf_GasLimitExceeded(uint8 pbhNonce) public { @@ -196,7 +196,6 @@ contract PBHEntryPointImplV1Test is TestSetup { assertTrue( gasLimit > pbhEntryPoint.pbhGasLimit(), "Error value for gasLeft should be more than the pbhGasLimit" ); - assertTrue(gasLimit > 0, "Gas limit should be non-zero"); } }