You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing some undesirable behaviour in the rpc interface, specifically the eth_getLogs call. There seems to be some kind of hidden limit on how much data it will deliver. Given a block range, depending on wether I query that range in one go or in multiple separate non-overlapping ranges, I get different number of items returned
There's no error thrown afaict. Neither through response nor on stdout of smartbchd.
--- requested blocks 990000 to 1089999, got 6704 items
--- requested blocks 990000 to 1039999, got 6314 items
--- requested blocks 1040000 to 1089999, got 2893 items
6314 + 2893 = 9207, should be 6704
obviously querying block 990000 to 1089999 should give the same number of results as querying 990000 to 1039999 and 1040000 to 1089999 (probably 9207 results)
The text was updated successfully, but these errors were encountered:
Thank you very much, molecular. It is a bug.
There is a limit for the returned event count, and its default value is 10000. In the case provided by you, the count is below this limit. So there is a bug that limits the returned count to 6704.
I have fixed this bug in moeingdb smartbch/moeingdb@c43ac5c .
We still need some time to deploy this bug-fix version to the RPC servers. If this bug bothers you, you can bypass it by shortening the block range.
I'm experiencing some undesirable behaviour in the rpc interface, specifically the eth_getLogs call. There seems to be some kind of hidden limit on how much data it will deliver. Given a block range, depending on wether I query that range in one go or in multiple separate non-overlapping ranges, I get different number of items returned
There's no error thrown afaict. Neither through response nor on stdout of smartbchd.
It's easy to reproduce:
above script will give this output for me:
obviously querying block 990000 to 1089999 should give the same number of results as querying 990000 to 1039999 and 1040000 to 1089999 (probably 9207 results)
The text was updated successfully, but these errors were encountered: