Avoid computing columns from EL blobs if block has already been imported#6816
Conversation
e09d3d1 to
b3584ac
Compare
dapplion
left a comment
There was a problem hiding this comment.
We should address the error log if the receiver is dropped after import
I've downgraded the error to What do you propose the error handling to be? I think this PR should prevent this, and I think it's fine to just log it if it happens? If block has already been imported, then we just don't re-import and drop them . |
|
Agree |
|
Downgraded to |
…ted (#6816) Squashed commit of the following: commit 0df2384 Author: Jimmy Chen <jchen.tc@gmail.com> Date: Tue Jan 21 16:41:30 2025 +1100 Downgrade a `warn` log to `debug` and update handling. commit b3584ac Author: Jimmy Chen <jchen.tc@gmail.com> Date: Fri Jan 17 22:39:16 2025 +1100 Avoid computing columns from EL blobs if block has already been imported.
|
@mergify queue |
✅ The pull request has been merged automaticallyDetailsThe pull request has been merged automatically at f008b84 |
Issue Addressed
From PeerDAS local testing I noticed some errors with failing to send computed columns to receiver:
lighthouse/beacon_node/beacon_chain/src/fetch_blobs.rs
Line 252 in dd7591f
I believe there is a race condition, the sequence:
We should not even try to compute the columns if we've already imported the block from gossip. This consumes extra resources and bandwidth and is unnecessary.