-
Notifications
You must be signed in to change notification settings - Fork 35
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 | ||
|
||
| _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.