-
Notifications
You must be signed in to change notification settings - Fork 1.7k
getBlockByNumber response object does not include nonce
property
#1090
Comments
Well I see |
It's intended. Please see ethereum/EIPs#95 . For |
So there is PoA is a new name for upcoming PoS? |
I see that param order is different, |
Also while mining I found that parity returns broken submitWork: nonce: 0xc9a86158ff0cea0e curl -X POST http://localhost:8545 -d '{"jsonrpc":"2.0","method":"eth_getUncleByBlockNumberAndIndex","params":["0xe9a1d", "0x0"],"id":0}' Parity: {"sealFields":[
"0xa0ed5b0ca9b4a8f00aaf9b4b3b9ede7d20b0cab7f085e1e5a51553af9a7886c252",
"0x88c9a86158ff0cea0e"
]} mixHash: 0xa0ed5b0ca9b4a8f00aaf9b4b3b9ede7d20b0cab7f085e1e5a51553af9a7886c252 <- extra a0 nonce: 0x88c9a86158ff0cea0e <- notice that extra 88 Geth: { "nonce":"0xc9a86158ff0cea0e" } |
you are absolutely right! These are remainings of rlp encoding. fix and tests on the way. |
@debris Thanks. I am highly concerned about the order of nonce and mixHash in |
I fixed decoding of also I updated the EIP and it now has the correct order of "seal_fields":
[
"0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa",
"0x0000000000000042"
] |
@debris there are two ways to fix this:
|
fixed incorrect decoding of header seal_fields. added tests. #1090
Can confirm it on 1.7.4 as well. |
Also, this call #1090 (comment) returns |
This rpc issue breaks existing software which depends on parity rpc. Does it mean that a fix is delayed until 1.9? |
Yeah that needs a patch. |
Does this problem carry over to the 1.8.x beta release as well? Or is that a good fail-over choice during the patch of 1.7.x? |
Any update on the timing of this patch? Thanks. |
Same for
getBlockByHash
via RPC and via console. Same forweb3.eth.getUncle
.The text was updated successfully, but these errors were encountered: