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

bug(devp2p): unsolicited type 3 transactions broadcast #6777

Closed
merklefruit opened this issue Mar 21, 2024 · 2 comments · Fixed by #6835
Closed

bug(devp2p): unsolicited type 3 transactions broadcast #6777

merklefruit opened this issue Mar 21, 2024 · 2 comments · Fixed by #6835
Labels
4844 EIP Ethereum Improvement Proposal

Comments

@merklefruit
Copy link

merklefruit commented Mar 21, 2024

Context

At @chainbound, we run a fleet of custom nodes that participate in the Ethereum p2p networks.
The software we use is not part of Besu. Our devp2p network implementation is based off Reth's.

Issue

Since after the Dencun fork, we have noticed an unexpected behaviour from Besu peers on all of our nodes.
It looks like we are getting some type 3 transaction messages unsolicited from devp2p. The specific ETH wire message type is Transactions (0x02) which according to EIP-4844 specs should not contain type 3 transactions:

Nodes MUST NOT automatically broadcast blob transactions to their peers. Instead, those transactions are only announced using NewPooledTransactionHashes messages, and can then be manually requested via GetPooledTransactions.

From a first analysis, it looks like Besu has a check to enforce the correct behaviour in the transaction broadcaster here:

private static final EnumSet<TransactionType> ANNOUNCE_HASH_ONLY_TX_TYPES = EnumSet.of(BLOB);

I'm not overly familiar with the Besu codebase, but happy to help debug this however I can!

@jflo jflo added EIP Ethereum Improvement Proposal 4844 labels Mar 21, 2024
@macfarla
Copy link
Contributor

hey @merklefruit thanks a bunch for reporting this issue, it was a subtle one to track down actually and the fix will be in the next release! Let us know if you find anything else :)

@merklefruit
Copy link
Author

Awesome, really happy to hear this has been useful. Have a great weekend :)

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

Successfully merging a pull request may close this issue.

3 participants