Skip to content

Commit

Permalink
Merge pull request #10 from rafal-ch/update_config_patch
Browse files Browse the repository at this point in the history
Do not add `[storage]` section to sidecar config
  • Loading branch information
rafal-ch authored Jul 2, 2024
2 parents 85b584c + 2587a61 commit 8fd0f69
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sh/assets/setup_shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,6 @@ function setup_asset_node_configs()
"toml.dump(cfg, open('$PATH_TO_CONFIG_FILE', 'w'));"
)

#TODO[RC]: Remove the line that adds the 'storage' key once the sidecar is updated to not require it for RPC only instances.
if [ -f "$PATH_TO_SIDECAR_TEMPLATE" ]; then
# Prepare the sidecar config file.
cp "$PATH_TO_SIDECAR_TEMPLATE" "$PATH_TO_SIDECAR_CONFIG_FILE"
Expand All @@ -469,7 +468,6 @@ function setup_asset_node_configs()
"cfg['rpc_server']['main_server']['address']='0.0.0.0:$(get_node_port_rpc "$IDX")';"
"cfg['rpc_server']['speculative_exec_server']['address']='0.0.0.0:$(get_node_port_speculative_exec "$IDX")';"
"cfg['rpc_server']['node_client']['address']='0.0.0.0:$(get_node_port_binary "$IDX")';"
"cfg['storage']={'storage_folder': '.'};"
"toml.dump(cfg, open('$PATH_TO_SIDECAR_CONFIG_FILE', 'w'));"
)
fi
Expand Down

0 comments on commit 8fd0f69

Please sign in to comment.