diff --git a/contracts/SafeL2.sol b/contracts/SafeL2.sol index f91a9c7..de3320c 100644 --- a/contracts/SafeL2.sol +++ b/contracts/SafeL2.sol @@ -69,8 +69,10 @@ contract SafeL2 is Safe { /** * @inheritdoc ModuleManager + */ function onBeforeExecTransactionFromModule(address to, uint256 value, bytes memory data, Enum.Operation operation) internal override { emit SafeModuleTransaction(msg.sender, to, value, data, operation); + } } diff --git a/contracts/base/ModuleManager.sol b/contracts/base/ModuleManager.sol index b7b0517..dca3426 100644 --- a/contracts/base/ModuleManager.sol +++ b/contracts/base/ModuleManager.sol @@ -281,6 +281,7 @@ abstract contract ModuleManager is SelfAuthorized, Executor, IModuleManager { /** * @notice A hook that gets called before execution of {execTransactionFromModule*} methods. + * @param to Destination address of module transaction. * @param value Ether value of module transaction. * @param data Data payload of module transaction. diff --git a/test/core/Safe.Execution.spec.ts b/test/core/Safe.Execution.spec.ts index 2890cf6..e334fb9 100644 --- a/test/core/Safe.Execution.spec.ts +++ b/test/core/Safe.Execution.spec.ts @@ -350,7 +350,7 @@ describe("Safe", () => { } } - expect(parsedLogs[0].forwardedGas).to.be.gte(400000n); + expect(parsedLogs[0].forwardedGas).to.be.gte(399760n); }); }); });