safe-global / safe-core-sdk

The Safe{Core} SDK allows builders to add account abstraction functionality into their apps.
https://docs.safe.global/sdk/overview
MIT License
252 stars 196 forks source link

[4337] Check the selected entrypoint is the expected one #776

Closed dasanra closed 3 months ago

dasanra commented 5 months ago

Context / issue

The Safe4337Pack is not checking that the correct entrypoint is selected for the loaded Safe. It's necessary to ensure that the selected entrypoint is compatible with the module that the Safe is using.

Proposed solution