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

rpc: increase websocket frame size (again) #26967

Closed
wants to merge 1 commit into from

Conversation

jotto
Copy link
Contributor

@jotto jotto commented Mar 23, 2023

Fixes capturing large block receipts and traces. in this case, the traces for block 3804216. see all the create internal txs (traces) here https://etherscan.io/txsInternal?block=3804216

Previous PR: #26883 increased from 15 to 32 (to match Erigon).

This change to 128 is sufficient to fetch traces for all 16.8 million blocks of Ethereum.

Fixes capturing large block receipts and traces. in this case, the traces for block 3804216.
@jotto jotto requested review from fjl and holiman as code owners March 23, 2023 22:28
@fjl
Copy link
Contributor

fjl commented Mar 24, 2023

I think 128 MB is too much as a default. Do you require this limit to be set on the client only? We could make it configurable...

@jotto
Copy link
Contributor Author

jotto commented Mar 24, 2023

Configurable is ideal, I was just going for minimum delta.

@fjl fjl changed the title Increase websocket frame size (again) rpc: increase websocket frame size (again) Mar 24, 2023
@MariusVanDerWijden
Copy link
Member

Yep bumping it twice indicates the need for making it configurable imo. Could you create a --rpc.wssizelimit flag similar to rpc.evmtimeout?

@holiman
Copy link
Contributor

holiman commented Apr 26, 2023

Seeems abandoned, closing this. Feel free to reopen with the suggested changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants