Skip to content

How to run dev node #241

@Vui-Chee

Description

@Vui-Chee

@claude pls update readme to include example on how to run a dev node locally for testing.

Use the example below:

OTEL_EXPORTER_OTLP_PROTOCOL=http cargo r -p xlayer-reth-node node \
  --datadir .op-reth-ttt \
  --engine.legacy-state-root \
  --dev \
  --dev.block-time 1s \
  --builder.gaslimit 1500000000 \
  --txpool.pending-max-count 10000000 \
  --txpool.pending-max-size 10000 \
  --txpool.basefee-max-count 10000000 \
  --txpool.basefee-max-size 10000 \
  --txpool.queued-max-count 10000000 \
  --txpool.queued-max-size 10000 \
  --txpool.blobpool-max-count 10000000 \
  --txpool.blobpool-max-size 10000 \
  --txpool.max-account-slots 10000000 \
  --http \
  --http.api eth,debug,net,web3,txpool \
  --log.stdout.filter "info,engine::tree::payload_validator=debug"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions