-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong data response #227
Comments
I think something went wrong when sync data. Plz check this API: curl -X "POST" "https://rpc.ankr.com/bsc" \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{
"jsonrpc": "2.0",
"id": 253216,
"method": "eth_getBlockReceipts",
"params": [
"0x1e34185"
]
}' The ankr response normally with last transaction receipt info: {
"blockHash":"0xf52a957b6af2b7b1ded117b699d75f9795833b9e338e036cd0651902af2ed22e",
"blockNumber":"0x1e34185",
"contractAddress":null,
"cumulativeGasUsed":"0x9550b3",
"effectiveGasPrice":"0x3a6691e9df",
"from":"0xcc8e6d00c17eb431350c6c50d8b8f05176b90b11",
"gasUsed":"0x8557",
"logs":[
{
"address":"0x0000000000000000000000000000000000001000",
"topics":[
"0x627059660ea01c4733a328effb2294d2f86905bf806da763a89cee254de8bee5"
],
"data":"0x00000000000000000000000000000000000000000000000000192583a7c78537",
"blockNumber":"0x1e34185",
"transactionHash":"0x2920a7c1028b60df417682e2da3a2455dd4d2d2f928a9505a4542e10a8d5838d",
"transactionIndex":"0x86",
"blockHash":"0xf52a957b6af2b7b1ded117b699d75f9795833b9e338e036cd0651902af2ed22e",
"logIndex":"0xec",
"removed":false
},
{
"address":"0x0000000000000000000000000000000000001000",
"topics":[
"0x93a090ecc682c002995fad3c85b30c5651d7fd29b0be5da9d784a3302aedc055",
"0x000000000000000000000000cc8e6d00c17eb431350c6c50d8b8f05176b90b11"
],
"data":"0x00000000000000000000000000000000000000000000000000e251a0e603aef0",
"blockNumber":"0x1e34185",
"transactionHash":"0x2920a7c1028b60df417682e2da3a2455dd4d2d2f928a9505a4542e10a8d5838d",
"transactionIndex":"0x86",
"blockHash":"0xf52a957b6af2b7b1ded117b699d75f9795833b9e338e036cd0651902af2ed22e",
"logIndex":"0xed",
"removed":false
}
],
"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000002010000000000000000000000000000000000020000200000000000000000000080000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000030000000000000000000000000000000000000000000000",
"status":"0x1",
"to":"0x1f55109a910f20ae7303d5defb9c07fcabbd1177",
"transactionHash":"0x2920a7c1028b60df417682e2da3a2455dd4d2d2f928a9505a4542e10a8d5838d",
"transactionIndex":"0x86",
"type":"0x0"
} While my node response: {
"blockHash":"0xde3b1f6e784e88635943c2a62a5d905eded1d7d66f47e81451589acd8de8c414",
"blockNumber":"0x1de2408",
"contractAddress":null,
"cumulativeGasUsed":"0x80b3fc",
"from":"0x7ae2f5b9e386cd1b50a4550696d957cb4900f03a",
"gasUsed":"0x8557",
"logs":[
{
"address":"0x0000000000000000000000000000000000001000",
"topics":[
"0x627059660ea01c4733a328effb2294d2f86905bf806da763a89cee254de8bee5"
],
"data":"0x000000000000000000000000000000000000000000000000000a45094ef3bccc",
"blockNumber":"0x1de2408",
"transactionHash":"0xb3159d3ea1034eff82209ef2c582ffdc5d57d2300534806d3165a5c137372261",
"transactionIndex":"0x56",
"blockHash":"0xde3b1f6e784e88635943c2a62a5d905eded1d7d66f47e81451589acd8de8c414",
"logIndex":"0xfe",
"removed":false
},
{
"address":"0x0000000000000000000000000000000000001000",
"topics":[
"0x93a090ecc682c002995fad3c85b30c5651d7fd29b0be5da9d784a3302aedc055",
"0x0000000000000000000000007ae2f5b9e386cd1b50a4550696d957cb4900f03a"
],
"data":"0x000000000000000000000000000000000000000000000000005c6d53c691a32d",
"blockNumber":"0x1de2408",
"transactionHash":"0xb3159d3ea1034eff82209ef2c582ffdc5d57d2300534806d3165a5c137372261",
"transactionIndex":"0x56",
"blockHash":"0xde3b1f6e784e88635943c2a62a5d905eded1d7d66f47e81451589acd8de8c414",
"logIndex":"0xff",
"removed":false
}
],
"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002010010000000000000000000000000000200020000200200000000000000000080000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000010000000000000000000000000000000000000000000000",
"status":"0x1",
"to":"0x0000000000000000000000000000000000001000",
"transactionHash":"0xb3159d3ea1034eff82209ef2c582ffdc5d57d2300534806d3165a5c137372261",
"transactionIndex":"0x56"
} How could I fix these data and resync if nothing goes wrong? |
try headers_stage reset, if not work,may need resync from the snapshot |
@blxdyx |
Agreed, same situation seems happened on my server. Frustrated when facing the problem |
I resync from the snapshot.but
{"jsonrpc":"2.0","id":1,"result":"0x"} how to fix this issues? |
Need more investigate
|
i use snapshot verison erigon_data_20230905 |
It's resposed correct in my local archive node. |
This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days. |
Fix by this:#234 |
Reopen if still have some problems. |
Ok. Appreciate to your works. |
Chain/Network:
bsc
Steps to reproduce the behaviour
Expected behaviour
Actual behaviour
The text was updated successfully, but these errors were encountered: