Closed Qumeric closed 3 weeks ago
Hey @Qumeric, is it posible to share the whole snippet or some playground to reproduce it?
I'm looking forward about how you reinitialize the SDK or where the safeAddress come from
Hey @Qumeric I created my own script to test this and seems to be working on base sepolia. Take a look please and let me know if this helps https://gist.github.com/yagopv/60367ed1343ccc73f91e8feb6547b0e3
Hey @Qumeric could you fix this issue?
Description
Despite being able to create a new Safe (and execute the first tx at the same time) with 4337 relay kit, I can't sign next userOps because nonce is invalid (set to 0).
Environment
Steps to reproduce
Create safe4337pack
Then
safe.createTransaction
, sign it (signSafeOperation
) and execute. Very similar to the guide: https://docs.safe.global/sdk/relay-kit/guides/4337-safe-sdk. Everything is fine and I got this userOp: https://base-sepolia.blockscout.com/op/0xad3099202bf0de8ff4241a020b0ff66dbe0d422aa4645e0f3b736dec2a23fcdcNow I am doing the same but with connecting to the deployed safe,
I cannot even create transaction:
I get this error:
Expected result
Gas shall be successfully estimated and user op created. Nonce shall be 1 I think (instead of 0).