-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
I cannot get results from api eth_getLogs sometimes #6037
Comments
I think at least you can try more addresses to pinpoint whether the problem lies with the interface or some special address as '0x034e5a6bbf5d4bacd1c92c4a9bd2a67554c755a5' |
@liuyifei001 I find the same problem using https://api.trongrid.io/jsonrpc. It seems a little complicated. |
@abn2357 I have found another address TUvDoufTvAQcb8ATHCk2HroKUZ1ohYoX2j in block 65359089:
and it returns:
But really there are related log in this block:
|
@317787106 Any further progress? |
I found the the "address":[ |
When we write bloom of blocks' event into db, the condition of whether address is activated is beyond our consideration. Even if it is not activated, we will also write its bloom. |
This issue has been added to the tronprotocol/pm#102, welcome to share the latest progress @317787106 , and discuss together with @liuyifei001 @abn2357 @DongDongSunny . |
We can calculate the possibility of hash collision. the collision means that, among the three functions, at least two hash function values (between 0 and 2047) correspond to the same position. And this possibilty is: |
According to incomplete statistics, I find that 3700 contract addresses have hash collision among 2.5 million contract. |
Software Versions
Expected behavior
If the JSON-RPC service is enabled, users should be able to search for events based on contract addresses and topics. However, after I enabled the service, there should be an address-related log in a certain block, but I couldn't find it.
Actual behavior
I use the following interface to get events:
And get nothing:
But the following log really exists in block 51323584("0x30f22c0"):
I used the same interface with the JSON parameter and dropped the ‘address’ to verify it:
I tried to use another address
0xa614f803b6fd780986a42c78ec9c7f77e6ded13c
and got the log successfully.Frequency
I have no idea. But I have not gotten logs using the address
0x034e5a6bbf5d4bacd1c92c4a9bd2a67554c755a5
in other blocks yet.The text was updated successfully, but these errors were encountered: