Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
Aditya Kulkarni
@adityapk
Bad news: To make EIP 712 signatures work in Go, you have to manually increment the 65th byte of the signature by 27 to make it work (!!) Good news: Github Co-pilot knows this, and auto completed `sig[64] += 27` at the end of my function without me prompting (or even knowing about this)
4 replies
1 recast
15 reactions
Joe Petrich 🟪
@jpetrich
Yeah it's not a go thing but I have that code too. The issue is that ledger doesn't follow the Ethereum yellow paper, which specifies to add 27 to the v value of the signature, which was a holdover from Bitcoin and embellished with EIP 155
0 reply
0 recast
1 reaction