reth icon indicating copy to clipboard operation
reth copied to clipboard

feat(perf): integrate OnStateHook in executor

Open fgimenez opened this issue 1 year ago • 0 comments

Closes: #11330

It can be used for instance with state root calculation like this

let (tx, rx) = channel();
// spawn SR
p.executor().execute_with_hook(.., |state| tx.send(state.clone()));

fgimenez avatar Sep 30 '24 16:09 fgimenez