mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 15:28:01 -05:00
docs: add note to launch on --dev mode (#18745)
This commit is contained in:
@@ -2,7 +2,7 @@ use reth_node_ethereum::EthereumNode;
|
||||
|
||||
fn main() -> eyre::Result<()> {
|
||||
reth::cli::Cli::parse_args().run(async move |builder, _| {
|
||||
let handle = builder.node(EthereumNode::default()).launch().await?;
|
||||
let handle = builder.node(EthereumNode::default()).launch_with_debug_capabilities().await?;
|
||||
|
||||
handle.wait_for_node_exit().await
|
||||
})
|
||||
|
||||
@@ -12,7 +12,7 @@ fn main() -> eyre::Result<()> {
|
||||
let handle = builder
|
||||
.node(EthereumNode::default())
|
||||
.install_exex("my-exex", async move |ctx| Ok(my_exex(ctx)))
|
||||
.launch()
|
||||
.launch_with_debug_capabilities()
|
||||
.await?;
|
||||
|
||||
handle.wait_for_node_exit().await
|
||||
|
||||
@@ -33,7 +33,7 @@ fn main() -> eyre::Result<()> {
|
||||
let handle = builder
|
||||
.node(EthereumNode::default())
|
||||
.install_exex("my-exex", async move |ctx| Ok(my_exex(ctx)))
|
||||
.launch()
|
||||
.launch_with_debug_capabilities()
|
||||
.await?;
|
||||
|
||||
handle.wait_for_node_exit().await
|
||||
|
||||
@@ -75,7 +75,7 @@ fn main() -> eyre::Result<()> {
|
||||
let handle = builder
|
||||
.node(EthereumNode::default())
|
||||
.install_exex("remote-exex", |ctx| async move { Ok(remote_exex(ctx, notifications)) })
|
||||
.launch()
|
||||
.launch_with_debug_capabilities()
|
||||
.await?;
|
||||
|
||||
handle.node.task_executor.spawn_critical("gRPC server", async move {
|
||||
|
||||
@@ -51,7 +51,7 @@ fn main() -> eyre::Result<()> {
|
||||
let handle = builder
|
||||
.node(EthereumNode::default())
|
||||
.install_exex("my-exex", async move |ctx| Ok(MyExEx { ctx }))
|
||||
.launch()
|
||||
.launch_with_debug_capabilities()
|
||||
.await?;
|
||||
|
||||
handle.wait_for_node_exit().await
|
||||
|
||||
@@ -71,7 +71,7 @@ fn main() -> eyre::Result<()> {
|
||||
let handle = builder
|
||||
.node(EthereumNode::default())
|
||||
.install_exex("my-exex", async move |ctx| Ok(MyExEx::new(ctx)))
|
||||
.launch()
|
||||
.launch_with_debug_capabilities()
|
||||
.await?;
|
||||
|
||||
handle.wait_for_node_exit().await
|
||||
|
||||
Reference in New Issue
Block a user