dmihal / eth-permit

Lightweight library for signing ERC-2612 permit signatures.
https://www.npmjs.com/package/eth-permit
139 stars 30 forks source link

When generating the signature, the "v" value is returning 0 #16

Open Robsonsjre opened 1 year ago

Robsonsjre commented 1 year ago

Hello, I'm receiving 0 for the "v" value of the signature object. Hence, when passing this to the contract, the transaction is reverting with the msg error: “execution reverted: ECDSA: invalid signature ‘v’ value”.

What could be causing this issue?

Some specs to generate the signature;

Using Metamask + Hardware Ledger