Skip to content

Conversation

@Agusx1211
Copy link
Member

  • Default signMessage and signTypedMessage to sequenceVerified = true. This means that these signatures won't trigger a wallet deployment.
  • Pass authorizeVersion == 2 to the connect options, this way we don't deploy the wallet upon connect (polygon/mumbai)

@Agusx1211 Agusx1211 requested a review from attente June 28, 2023 18:38
@Agusx1211
Copy link
Member Author

don't merge: I found an issue with the migrated wallets, signMessage doesn't validate correctly (the onchain contract can't validate a v2 signature, and the counterfactual validation doesn't match the v2 context)

@Agusx1211
Copy link
Member Author

Fixed it by still requiring the wallet deployment on sequenceVerified == true if the wallet is not deployed but the initial version wasn't 2

@Agusx1211 Agusx1211 merged commit 368e1c4 into v2 Jun 29, 2023
@Agusx1211 Agusx1211 deleted the v2-avoid-unrequired-deploy branch June 29, 2023 10:26
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.

1 participant