Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adamegyed committed Jan 10, 2024
1 parent a7ba56e commit ac8c8c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/account/UpgradeableModularAccount.sol
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ contract UpgradeableModularAccount is
bytes memory callBuffer = _allocateRuntimeCallBuffer(data);

SelectorData storage selectorData = storage_.selectorData[selector];
// Load the plugin address from storage prior to running any hooks, to abide by the ERC-6900 phase rules.
address execFunctionPlugin = selectorData.plugin;

(FunctionReference[][] memory postHooksToRun, bytes[] memory postExecHookArgs) =
Expand Down

0 comments on commit ac8c8c0

Please sign in to comment.