From 136177dbec0c27308ac687684e976a8c97186a71 Mon Sep 17 00:00:00 2001 From: Vritra4 Date: Mon, 29 Apr 2024 17:41:47 +0900 Subject: [PATCH] chore --- README.md | 18 ------------------ config/config.go | 1 - 2 files changed, 19 deletions(-) diff --git a/README.md b/README.md index bacc106..a4bb9bc 100644 --- a/README.md +++ b/README.md @@ -6,21 +6,3 @@ Indexer listens StreamingManager's stream and indices streamed data Registered submodules get abci Events(i.e. FinalizeBlock and Commit) and are allowed to CRUD indexer key-value storage. -### Configuration - -Default configuration will be set when the indexer is initialized. -But, to run your indexer properly, you have to set 2 configuration properties. - -* set indexer.enable to true in app.toml -* set indexer.l1-chain-id to the L1's chain id app.toml - -Here's example: -```toml -[indexer] -enable = true -l1-chain-id = "mahalo-2" - -#...other properties.. -``` - -Other properties are okay with default! \ No newline at end of file diff --git a/config/config.go b/config/config.go index c212bcf..41c0897 100644 --- a/config/config.go +++ b/config/config.go @@ -14,7 +14,6 @@ const ( flagIndexerEnable = "indexer.enable" flagIndexerBackend = "indexer.backend" flagIndexerCacheSize = "indexer.cache-size" - flagL1ChainId = "indexer.l1-chain-id" ) func NewConfig(appOpts servertypes.AppOptions) (*IndexerConfig, error) {