reth icon indicating copy to clipboard operation
reth copied to clipboard

Feat: devmode launcher implementation

Open malik672 opened this issue 1 year ago • 6 comments

closes #10104

malik672 avatar Aug 21 '24 02:08 malik672

@mattsse

malik672 avatar Aug 21 '24 02:08 malik672

ok, will do that and probably ask for help in the next pr

malik672 avatar Aug 21 '24 11:08 malik672

all of this should go in a separate file to not pollute the existing code.

I'd even prefer a new crate for now because we need more stuff from the engine crate

https://github.com/paradigmxyz/reth/blob/1f5fb90bc83dd48d38e2f376790125d68ba92f3e/crates/engine/tree/Cargo.toml#L2-L2

what we need is like an Orchestrator that is a stream that advances the chain by polling the mining mode. It would actually be great if we could leverage the existing payloadbuilder stack for this and trigger a payload based on the MindingMode

lmk if I should provide step by step instructions

I think first we want a fresh crate for this, then a minimal mining task that is ideally wired with a PayloadBuilderHandle and a miningmode

@mattsse what should i name the new crate ?

malik672 avatar Aug 21 '24 20:08 malik672

maybe dev-node or smth

mattsse avatar Aug 22 '24 03:08 mattsse

@mattsse can I get some instructions?

malik672 avatar Aug 25 '24 14:08 malik672

@mattsse made some new changes

malik672 avatar Aug 31 '24 13:08 malik672

marking as complted via #11703

mattsse avatar Oct 14 '24 13:10 mattsse