Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
Vritra4 committed Apr 29, 2024
1 parent 54a55ad commit 136177d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
1 change: 0 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 136177d

Please sign in to comment.