Geth version: 1.6.5
OS & Version: Android
Should be able to read the from field and not throw "Invalid transaction v,r,s values"
throws "Invalid transaction v,r,s values" when reading from field
1) generate a signed transaction RLP with MEW ( e.g. 0xf86b80847735940082520894ef5bbb9bba2e1ca69ef81b23a8727d889f3ef0a1880de0b6b3a7640000802ba06fef16c44726a102e6d55a651740636ef8aec6df3ebf009e7b0c1f29e4ac114aa057e7fbc69760b522a78bb568cfc37a58bfdcf6ea86cb8f9b550263f58074b9cc )
2) convert to geth transaction via Geth.newTransactionFromRLP(hex)
3) try to access the from field ( will throw "Invalid transaction v,r,s values")
I can successfully read fields like value or to
When generating the RLP with geth like this:
Geth.newTransactionFromRLP(transactionWithSignature.encodeRLP())
I can access the from field.
Hint from P茅ter Szil谩gyi (@karalabe) on gitter: Hmmm, one bet is that the mobile library might be using homestead signatures and mew returning proper eip155
Also as a question on stackoverflow:
https://ethereum.stackexchange.com/questions/17385/invalid-transaction-v-r-s-values-with-geth-when-reading-from-of-signed-mew-rlp-t
Unfortunately it does not get any attention there and there is growing evidence that this is a problem with (the mobile API of) geth
P茅ters guess is correct. This method uses the hard coded homestead signer during decoding.
Will create a fix.
Thanks so much!
Most helpful comment
P茅ters guess is correct. This method uses the hard coded homestead signer during decoding.
Will create a fix.