Skip to content
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

Merged
merged 67 commits into from
May 21, 2024
Merged

Account/safe7579 #84

merged 67 commits into from
May 21, 2024

Conversation

zeroknots
Copy link
Member

@zeroknots zeroknots commented Mar 14, 2024

Implemented some of @nlordell feedback.

  • fallbacks now work with msg.sig specific handler.
  • initialization launchpad for newly created safes

@zeroknots
Copy link
Member Author

@nlordell would love to get your feedback on this launchpad implementation :)

{
address validationModule = address(bytes20(data[:20]));

if (!_isValidatorInstalled(validationModule)) return 0xFFFFFFFF;
Copy link
Member

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)

bool success;
// this is the return data from the Safe.execTransactionFromModuleReturnData call. NOT the
// simulation
(success, returnData) = ISafe(safe).execTransactionFromModuleReturnData(
Copy link

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).

@kopy-kat kopy-kat merged commit 50ceeb8 into main May 21, 2024
6 of 8 checks passed
@kopy-kat kopy-kat deleted the account/safe7579 branch May 23, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants