reth icon indicating copy to clipboard operation
reth copied to clipboard

extract persistence event handling into standalone functions

Open mattsse opened this issue 1 year ago • 2 comments

for readability it would be nice to have this code in standalone functions

https://github.com/paradigmxyz/reth/blob/c4aae6db361d2ac33fed18f25bb50158907723ee/crates/engine/tree/src/persistence.rs#L63-L73

like on_remove_blocks, on_save_blocks etc.

mattsse avatar Aug 08 '24 21:08 mattsse