L-30: Make AccountERC7579 isModuleInstalled return false for the address zero module#6439
L-30: Make AccountERC7579 isModuleInstalled return false for the address zero module#6439
AccountERC7579 isModuleInstalled return false for the address zero module#6439Conversation
…llback & hook modules
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
WalkthroughThis PR adds a patch release fix for the Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🦋 Changeset detectedLatest commit: 5f17106 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
I realise that this change could negativelly impact the observability of the account. Right now it is possible check "are there any module installed for fallback selector X" or "is there a hook module installed". You can do so by asking "is module(0) installed". If this query returns true, you know nothing in installed, and installing something will not overwrite any existing config. If the query returns false, you know there is something installed, and that installing something else could break the config. This could be usefull for apps/platforms that manage ERC-7579Accounts. Without this behavior (return true on There is a For this reason, I think the current behavior should be preserved. |
Fixes #????
PR Checklist
npx changeset add)