Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[simple][aptos-workspace-server] fix config issue preventing indexer grpc from starting #14901

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions aptos-move/aptos-workspace-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use anyhow::Result;
use aptos::node::local_testnet::HealthChecker;
use aptos_config::config::NodeConfig;
use aptos_config::config::{NodeConfig, TableInfoServiceMode};
use aptos_faucet_core::server::{FunderKeyEnum, RunConfig};
use aptos_node::{load_node_config, start_and_report_ports};
use aptos_types::network_address::{NetworkAddress, Protocol};
Expand Down Expand Up @@ -59,7 +59,8 @@ async fn spawn_node(test_dir: &Path) -> Result<()> {
zero_all_ports(&mut node_config);
node_config.indexer_grpc.enabled = true;
node_config.indexer_grpc.use_data_service_interface = true;
node_config.storage.enable_indexer = true;

node_config.indexer_table_info.table_info_service_mode = TableInfoServiceMode::IndexingOnly;

node_config
.api
Expand Down
Loading