From e97402cbb714cc430596e9e04c4b77a485b5d0b1 Mon Sep 17 00:00:00 2001 From: Lu Zhang <8418040+longbowlu@users.noreply.github.com> Date: Thu, 10 Oct 2024 12:13:00 -0700 Subject: [PATCH] remove unused fields for bridge indexer (#19783) ## Description as title ## Test plan How did you test the new or updated feature? --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API: --- crates/sui-bridge-indexer/config.yaml | 4 ---- crates/sui-deepbook-indexer/config.yaml | 4 ---- crates/sui-deepbook-indexer/src/config.rs | 1 - 3 files changed, 9 deletions(-) diff --git a/crates/sui-bridge-indexer/config.yaml b/crates/sui-bridge-indexer/config.yaml index 5efd22b251957..5263c915279a5 100644 --- a/crates/sui-bridge-indexer/config.yaml +++ b/crates/sui-bridge-indexer/config.yaml @@ -20,7 +20,3 @@ # metric_url: # Client metric port # metric_port: -# checkpoint size of each backfill worker, use 432000 for 1 worker per day, assume 5 checkpoint per second -# back_fill_lot_size: -# Optional starting checkpoint for realtime ingestion task -# resume_from_checkpoint: \ No newline at end of file diff --git a/crates/sui-deepbook-indexer/config.yaml b/crates/sui-deepbook-indexer/config.yaml index e5a3b12686932..5d6dd23638d41 100644 --- a/crates/sui-deepbook-indexer/config.yaml +++ b/crates/sui-deepbook-indexer/config.yaml @@ -16,7 +16,3 @@ # metric_url: # Client metric port # metric_port: -# checkpoint size of each backfill worker, use 432000 for 1 worker per day, assume 5 checkpoint per second -# back_fill_lot_size: -# Optional starting checkpoint for realtime ingestion task -# resume_from_checkpoint: \ No newline at end of file diff --git a/crates/sui-deepbook-indexer/src/config.rs b/crates/sui-deepbook-indexer/src/config.rs index 363d722451061..750145b2aee09 100644 --- a/crates/sui-deepbook-indexer/src/config.rs +++ b/crates/sui-deepbook-indexer/src/config.rs @@ -17,7 +17,6 @@ pub struct IndexerConfig { pub deepbook_genesis_checkpoint: u64, pub concurrency: u64, pub metric_port: u16, - pub resume_from_checkpoint: Option, } impl sui_config::Config for IndexerConfig {}