8000 Add EIP: Set MAX_RECEIPTS_MESSAGE_SIZE for GetReceipts in devp2p by Giulio2002 · Pull Request #9892 · ethereum/EIPs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add EIP: Set MAX_RECEIPTS_MESSAGE_SIZE for GetReceipts in devp2p #9892

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Giulio2002
Copy link
Contributor

ATTENTION: ERC-RELATED PULL REQUESTS NOW OCCUR IN ETHEREUM/ERCS

--

When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md

We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met:

  • The PR edits only existing draft PRs.
  • The build passes.
  • Your GitHub username or email address is listed in the 'author' header of all affected PRs, inside .
  • If matching on email address, the email address is the one publicly listed on your GitHub profile.

@Giulio2002 Giulio2002 requested a review from eth-bot as a code owner June 11, 2025 10:08
@github-actions github-actions bot added c-new Creates a brand new proposal s-draft This EIP is a Draft t-core t-networking labels Jun 11, 2025
@eth-bot
Copy link
Collaborator
eth-bot commented Jun 11, 2025

File EIPS/eip-7967.md

Requires 1 more reviewers from @g11tech, @lightclient, @SamWilsn

@Giulio2002 Giulio2002 force-pushed the receipts-devp2p-increase branch from a84905f to 5339c1d Compare June 11, 2025 10:09
@github-actions github-actions bot removed the t-core label Jun 11, 2025
@eth-bot eth-bot added e-consensus Waiting on editor consensus e-review Waiting on editor to review labels Jun 11, 2025
@eth-bot eth-bot changed the title Add specific max message size to GetReceipts in DevP2P Add EIP: Reduced Attestation Format Jun 11, 2025
@eth-bot eth-bot changed the title Add EIP: Reduced Attestation Format Add EIP: Set MAX_RECEIPTS_MESSAGE_SIZE for GetReceipts in devp2p Jun 11, 2025
@github-actions github-actions bot added the w-ci Waiting on CI to pass label Jun 11, 2025
Copy link
Member
@lightclient lightclient left a comment

Choose a reason for hiding this comment

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

I think this particular proposal is kind of dangerous? If a block is mined that exceed the receipt limit this would make it impossible to perform a sync of the chain because when you request the block over p2p you would get the greater than 15MiB limit.

Would a better solution be to paginate the request? Basically would need new request / response methods that allo finer grained access of receipts per block hash.

@ethereum ethereum deleted a comment from Dhy2928 Jun 12, 2025
@Giulio2002
Copy link
Contributor Author

I think this particular proposal is kind of dangerous? If a block is mined that exceed the receipt limit this would make it impossible to perform a sync of the chain because when you request the block over p2p you would get the greater than 15MiB limit.

Would a better solution be to paginate the request? Basically would need new request / response methods that allo finer grained access of receipts per block hash.

why would the block be 15 MiB? the block limit will still be at 10 MiB. this only increase the maximum size for receipts + this concern is completely gone with EIP-7934

@Giulio2002
Copy link
Contributor Author

Would a better solution be to paginate the request? Basically would need new request / response methods that allo finer grained access of receipts per block hash.

Pagination does not work because you can exploit the unlimited receipt.data field and filling it with high entropy stuff that cannot be compressed

@Dhy2928
Copy link
Dhy2928 commented Jun 12, 2025 via email

Copy link

The commit 97d032b (as a parent of 5b676f4) contains errors.
Please inspect the Run Summary for details.

@g11tech
Copy link
Contributor
g11tech commented Jun 23, 2025

@Giulio2002 let know when the issues flagged by the bot are addressed and this PR is draft ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-new Creates a brand new proposal e-consensus Waiting on editor consensus e-review Waiting on editor to review s-draft This EIP is a Draft t-networking w-ci Waiting on CI to pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0