-
Notifications
You must be signed in to change notification settings - Fork 33
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
Account/safe7579 #84
Account/safe7579 #84
Conversation
@nlordell would love to get your feedback on this launchpad implementation :) |
{ | ||
address validationModule = address(bytes20(data[:20])); | ||
|
||
if (!_isValidatorInstalled(validationModule)) return 0xFFFFFFFF; |
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.
should we also use safe if validationModule
is address(0)
if no signature or address(0) validation module or an not installed 7579 validation module is provided within the abi.encodePacked signature data in erc1271, it falls back to safe's signature check
Account/safe7579 fix1271
bool success; | ||
// this is the return data from the Safe.execTransactionFromModuleReturnData call. NOT the | ||
// simulation | ||
(success, returnData) = ISafe(safe).execTransactionFromModuleReturnData( |
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.
I think this should use simulateWithRevert
(since this emits an event which would be a problem if the Safe was static called).
wip foo wip wip 📝 More docs adding docs fix wip wip
ocs fix fix asdf WIP foo ref wip
multi module type clean
🔥 Changing initAccount to only use validators for ERC4337 compliance
wip
7cb599a
to
471e96b
Compare
Implemented some of @nlordell feedback.
msg.sig
specific handler.