Skip to content

Commit

Permalink
(feat) Enable ots APIs for node 0, so that otterscan can work.
Browse files Browse the repository at this point in the history
  • Loading branch information
rrw-zilliqa committed Jan 15, 2025
1 parent eb32f39 commit 9f82db9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions z2/src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ impl Setup {
tokio::fs::create_dir(&data_dir_path).await?;
node_config.eth_chain_id = CHAIN_ID | 0x8000;
node_config.data_dir = Some(utils::string_from_path(&data_dir_path)?);
node_config.enable_ots_indices = *node_index == 0;
node_config
.consensus
.genesis_deposits
Expand Down

0 comments on commit 9f82db9

Please sign in to comment.