safe-global / safe-smart-account

Safe allows secure management of blockchain assets.
https://safe.global
GNU Lesser General Public License v3.0
1.84k stars 907 forks source link

Gnosis Pay fails because of GS022 #621

Closed marcocastignoli closed 1 year ago

marcocastignoli commented 1 year ago

Description

I'm trying to sign up for my gnosis pay card, but I always get this error, do you know why? Gnosis is not replying so I don't know what to do.

{
    "task": {
        "chainId": 100,
        "taskId": "...",
        "taskState": "Cancelled",
        "creationDate": "2023-07-25T08:19:50.395Z",
        "lastCheckDate": "2023-07-25T08:20:09.284Z",
        "lastCheckMessage": "Execution error: GelatoRelay.sponsoredCall:GS022"
    }
}

I contacted Gelato they said

Hey Marco! It looks it's an error that comes from Gnosis contract: If you check their repo is something wrong in the signature : GS022: Invalid contract signature location: length not present

https://github.com/safe-global/safe-contracts/blob/fca63a0fe0395a885032deacbdf02f26e7ff06a0/docs/error_codes.md?plain=1#L17

Steps to reproduce

Apply for a Gnosis Pay card

mmv08 commented 1 year ago

This is out of the scope of the Safe contracts repo and must be an issue with a particular (Gnosis's) implementation. Please contact gnosis.