Our dApp uses Permit for gasless token approvals. We are generating a signature request with signTypedData, and it works except for a few strange occurrences where I am getting back an invalid signature.
I noticed 3 instances in which different wallet addresses generated the same exact invalid Permit signature with a v value of 215.. which is too large and I am expecting only v values of 27 & 28. The sig looks like this:
- r: 0xc143ea...
- s: 0xc65cdb...
- v: 215
How could this different wallets produce the same permit sig? Why is this occurring? Is it due to an unsupported wallet? The logs reveal the three users connected via either MetaMask or injected browser wallet.