-
Notifications
You must be signed in to change notification settings - Fork 37
fix: add missing storage bases for erc7779 #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
701212a
430393d
40318b9
a6f3ec9
f2223af
c179af7
9ccedd1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| [profile.default] | ||
| evm_version = "cancun" | ||
| evm_version = "prague" | ||
| src = "src" | ||
| out = "out" | ||
| libs = ["node_modules"] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -419,6 +419,7 @@ contract MSAAdvanced is | |
| if (isERC7702) { | ||
| _addStorageBase(MODULEMANAGER_STORAGE_LOCATION); | ||
| _addStorageBase(HOOKMANAGER_STORAGE_LOCATION); | ||
| _addStorageBase(PREVALIDATION_HOOKMANAGER_STORAGE_LOCATION); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| } | ||
|
|
||
| // bootstrap the account | ||
|
|
@@ -442,6 +443,9 @@ contract MSAAdvanced is | |
| _tryUninstallValidators(); | ||
| _tryUninstallExecutors(); | ||
| _tryUninstallHook(_getHook()); | ||
| // Review | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should we uninstall pre validation hooks as well? why try... used instead of regular uninstall methods?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Regular uninstall could revert right?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I noticed we're not posting any data for onUninstall
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmm actually that's a good point. Let keep and use the versions that post data with tryUninstall
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. would this need changes in the erc for onRedelegation method--can accept data?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah that makes sense
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pushed please check. |
||
| _tryUninstallPreValidationHook(_getPreValidationHook(MODULE_TYPE_PREVALIDATION_HOOK_ERC1271), MODULE_TYPE_PREVALIDATION_HOOK_ERC1271); | ||
| _tryUninstallPreValidationHook(_getPreValidationHook(MODULE_TYPE_PREVALIDATION_HOOK_ERC4337), MODULE_TYPE_PREVALIDATION_HOOK_ERC4337); | ||
| _initModuleManager(); | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.