Skip to content
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

increased default to 5000 #5209

Merged
merged 4 commits into from
Mar 13, 2023
Merged

Conversation

macfarla
Copy link
Contributor

@macfarla macfarla commented Mar 13, 2023

Increase max log range to 5000 - was reduced to 1000 in #4597

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if
    updates are required.

Acceptance Tests (Non Mainnet)

  • I have considered running ./gradlew acceptanceTestNonMainnet locally if my PR affects non-mainnet modules.

Changelog

Signed-off-by: Sally MacFarlane <[email protected]>
Signed-off-by: Sally MacFarlane <[email protected]>
@macfarla macfarla added the doc-change-required Indicates an issue or PR that requires doc to be updated label Mar 13, 2023
Copy link
Contributor

@siladu siladu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@macfarla macfarla added this pull request to the merge queue Mar 13, 2023
Merged via the queue into hyperledger:main with commit d500a77 Mar 13, 2023
@macfarla macfarla deleted the rpc-max-logs-5 branch March 13, 2023 08:56
@gfukushima
Copy link
Contributor

Is there a reason/issue related to this change? Just trying to get some context for future references, thanks!

@macfarla
Copy link
Contributor Author

There was a discussion in discord - https://discord.com/channels/905194001349627914/1084705018843775026/1084705617316434000

The most recent version of nimbus 23.3.0 surfaced what appears to have been an existed problem...
When they need to get a lot of deposit logs, nimbus by default calls eth_getLogs with a range of 5000, which we reject with
Requested range exceeds maximum range limit

There wasn't a strong reason for choosing 1000 for the default (previously was unlimited), so it seemed fine to go to 5000.

@alexandratran alexandratran removed the doc-change-required Indicates an issue or PR that requires doc to be updated label Mar 27, 2023
elenduuche pushed a commit to elenduuche/besu that referenced this pull request Aug 16, 2023
* increased default to 5000

Signed-off-by: Sally MacFarlane <[email protected]>

* changelog

Signed-off-by: Sally MacFarlane <[email protected]>

* updated test

Signed-off-by: Sally MacFarlane <[email protected]>

---------

Signed-off-by: Sally MacFarlane <[email protected]>
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
* increased default to 5000

Signed-off-by: Sally MacFarlane <[email protected]>

* changelog

Signed-off-by: Sally MacFarlane <[email protected]>

* updated test

Signed-off-by: Sally MacFarlane <[email protected]>

---------

Signed-off-by: Sally MacFarlane <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants