Skip to content

Commit

Permalink
fix: counterfactual is module installed
Browse files Browse the repository at this point in the history
  • Loading branch information
kopy-kat committed Aug 23, 2024
1 parent e04c69c commit 973af55
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/helpers/HelperBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ abstract contract HelperBase {
address module
)
public
view
virtual
deployAccountForAction(instance)
returns (bool)
{
return isModuleInstalled(instance, moduleTypeId, module, "");
Expand All @@ -284,8 +284,8 @@ abstract contract HelperBase {
bytes memory additionalContext
)
public
view
virtual
deployAccountForAction(instance)
returns (bool)
{
return IERC7579Account(instance.account).isModuleInstalled(
Expand Down
1 change: 1 addition & 0 deletions src/test/helpers/KernelHelpers.sol
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ contract KernelHelpers is HelperBase {
view
virtual
override
deployAccountForAction(instance)
returns (bool)
{
if (moduleTypeId == MODULE_TYPE_HOOK) {
Expand Down
1 change: 1 addition & 0 deletions src/test/helpers/SafeHelpers.sol
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ contract SafeHelpers is HelperBase {
view
virtual
override
deployAccountForAction(instance)
returns (bool)
{
if (moduleTypeId == MODULE_TYPE_HOOK) {
Expand Down

0 comments on commit 973af55

Please sign in to comment.