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
242 stars 177 forks source link

feat(relay-kit): add dummy signature as a passkey signature #857

Closed DaniSomoza closed 2 weeks ago

DaniSomoza commented 2 weeks ago

What it solves

Resolves #849

How this PR fixes it

Passkeys + 4337 gas estimation is not working as expected when using sponsored transactions. We add a dummy passkey signature to get a valid verificationGasLimit estimation.

We assume that all owners are passkeys.