You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
Move the source of checkpoint data (remote store or local path) into its
own struct that is parsed using clap, instead of serde. This is to cater
to the case where the same indexer configuration might be used to index
different networks (mainnet, testnet, devnet, etc).
## Test plan
Run the indexer against a variety of configs:
```
sui$ cargo run -p sui-indexer-alt --release -- \
indexer --last-checkpoint 10000 \
--remote-store-url https://checkpoints.mainnet.sui.io \
--config $CONFIG
```
Where config is a file that contains one of the following:
```
[pipeline.kv_objects]
[pipeline.kv_transactions]
```
```
[consistency]
consistent-range = 1000
[pipeline.sum_obj_types]
```
```
[committer]
collect-interval-ms = 1000
[pipeline.tx_calls]
[pipeline.tx_affected_objects]
collect-interval-ms = 5000
```
0 commit comments