From feff43da5ad1e2161be2fbd47455df90d4d87ce2 Mon Sep 17 00:00:00 2001 From: sealer3 <125761775+sealer3@users.noreply.github.com> Date: Tue, 8 Oct 2024 18:31:46 +0000 Subject: [PATCH] Add trace namespace suggestion to install instructions (#23) --- src/install/erigon.md | 4 ++-- src/install/ots2.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/install/erigon.md b/src/install/erigon.md index 941c4ed..5e5b91a 100644 --- a/src/install/erigon.md +++ b/src/install/erigon.md @@ -2,14 +2,14 @@ ## Enable the Otterscan RPC namespace in Erigon -When running Erigon, make sure to enable the `eth`, `erigon` and `ots` namespaces in addition to whatever CLI options you are using to start Erigon. +When running Erigon, make sure to enable the `eth`, `erigon`, `trace` and `ots` namespaces in addition to whatever CLI options you are using to start Erigon. The `trace` namespace is used for transaction state diffs. Enabling namespaces in Erigon is done through the `--http.api` argument. ### Example ```sh -erigon --http.api "eth,erigon,ots[,]" [] +erigon --http.api "eth,erigon,trace,ots[,]" [] ``` > `ots` stands for Otterscan, and it is the JSON-RPC namespace we use for our own custom APIs. diff --git a/src/install/ots2.md b/src/install/ots2.md index 004bf22..f1d4855 100644 --- a/src/install/ots2.md +++ b/src/install/ots2.md @@ -25,7 +25,7 @@ For example, if your Erigon start command is: ```sh erigon \ - --http.api "eth,erigon,ots" \ + --http.api "eth,erigon,trace,ots" \ [] ``` @@ -33,7 +33,7 @@ change it to: ```sh erigon \ - --http.api "eth,erigon,ots,ots2" \ + --http.api "eth,erigon,trace,ots,ots2" \ --experimental.ots2 \ [] ```