From e41fd797dbb7225f63ca64648c5841eb966809ff Mon Sep 17 00:00:00 2001 From: Jay Paik Date: Thu, 21 Nov 2024 00:25:11 -0500 Subject: [PATCH] fix: [ALCHEMY-010] code maturity fixes --- src/libraries/ExecutionLib.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/ExecutionLib.sol b/src/libraries/ExecutionLib.sol index ca841787..ddd6caf9 100644 --- a/src/libraries/ExecutionLib.sol +++ b/src/libraries/ExecutionLib.sol @@ -751,7 +751,7 @@ library ExecutionLib { // N instances of: // - post hook address (will be squashed with the selector later, during invocation) - // - post hood entity Id + // - post hook entity Id // - fixed preExecHookData offset (always 0x40) // - preExecHookData length // - var-length data (right-padded with zeros to be word aligned) @@ -786,7 +786,7 @@ library ExecutionLib { HookConfig hookConfig = hooks[i]; if (hookConfig.hasPreHook()) { - uint256 returnedBytesSize = ExecutionLib.invokePreExecHook(callBuffer, hookConfig); + uint256 returnedBytesSize = invokePreExecHook(callBuffer, hookConfig); // If there is an associated post exec hook, save the return data. if (hookConfig.hasPostHook()) {