You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, we need to bubble the error in this method anyways or include it in TreeEvent somehow, because we call insert_block here and need to handle the error:
@Rjected emitting a fatal event is not ideal. we should properly bubble it up. @martinezjorge feel free to change the return types of methods in the flow in question
ref #10217 (review)
We need to introduce a way to handle any fatal errors that were encountered when calling
insert_block
.This happens in two places not already handled, first in
on_downloaded_block
:reth/crates/engine/tree/src/tree/mod.rs
Lines 1638 to 1643 in 0ee689f
And in
try_connect_buffered_blocks
:reth/crates/engine/tree/src/tree/mod.rs
Lines 1394 to 1396 in 0ee689f
on_backfill_sync_finished
callstry_connect_buffered_blocks
here:reth/crates/engine/tree/src/tree/mod.rs
Line 502 in 0ee689f
The other call to
try_connect_buffered_blocks
is here:reth/crates/engine/tree/src/tree/mod.rs
Line 1628 in 0ee689f
However, we need to bubble the error in this method anyways or include it in
TreeEvent
somehow, because we callinsert_block
here and need to handle the error:reth/crates/engine/tree/src/tree/mod.rs
Lines 1638 to 1643 in 0ee689f
The text was updated successfully, but these errors were encountered: