So I'm learning more about Ethereum, and I wrote this gist in Go to start interacting with geth nodes and publishing transactions to the network. I'm getting an error that says:
panic: invalid transaction v, r, s values
Here's the code I wrote to send the transaction: https://gist.github.com/karysto/3c7c1ab9d3ae736e5c63a2bbe4c47ac2
Any and all help appreciated!
Update: It seems that the network/signer
chain id is being mis-set somewhere. Despite the fact that I'm setting the
chain id to
0 in the gist, the chain id for a transaction always gets set to
9223372036854775790. My guess is the transaction is getting signed correctly but is getting signed with the incorrect chain (the one above), hence the
invalid v,r,s error. If someone knows a way to fix this issue or finds I'm incorrect, don't hesitate to submit an answer!
Update: March 29 2017: I opened an issue on Go ethereum explaining this problem.
Geth versions tested: