diff --git a/test/l2/Safe.Execution.spec.ts b/test/l2/Safe.Execution.spec.ts index 25b5742ca..c5014a417 100644 --- a/test/l2/Safe.Execution.spec.ts +++ b/test/l2/Safe.Execution.spec.ts @@ -86,10 +86,7 @@ describe("SafeL2", () => { const user2Safe = safe.connect(user2); await executeContractCallWithSigners(safe, safe, "enableModule", [user2.address], [user1]); - //Use manual gasLimit because gas estimation fails for this function on zkSync, though transaction executed successfully - await expect( - user2Safe.execTransactionFromModule(mockAddress, 0, "0xbaddad", 0, { gasLimit: hre.network.zksync ? 250_000 : undefined }), - ) + await expect(user2Safe.execTransactionFromModule(mockAddress, 0, "0xbaddad", 0)) .to.emit(safe, "SafeModuleTransaction") .withArgs(user2.address, mockAddress, 0, "0xbaddad", 0) .to.emit(safe, "ExecutionFromModuleSuccess")