Skip to content

Commit

Permalink
config: remove unused 'enable_event_processing' field
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill committed Jun 7, 2024
1 parent f8e61f8 commit b71a707
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions crates/sui-config/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ pub struct NodeConfig {
#[serde(skip_serializing_if = "Option::is_none")]
pub consensus_config: Option<ConsensusConfig>,

// TODO: Remove this as it's no longer used.
#[serde(default)]
pub enable_event_processing: bool,

#[serde(default = "default_enable_index_processing")]
pub enable_index_processing: bool,

Expand Down
2 changes: 0 additions & 2 deletions crates/sui-swarm-config/src/node_config_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ impl ValidatorConfigBuilder {
.to_socket_addr()
.unwrap(),
consensus_config: Some(consensus_config),
enable_event_processing: false,
enable_index_processing: default_enable_index_processing(),
genesis: sui_config::node::Genesis::new(genesis),
grpc_load_shed: None,
Expand Down Expand Up @@ -465,7 +464,6 @@ impl FullnodeConfigBuilder {
.unwrap_or(local_ip_utils::get_available_port(&localhost)),
json_rpc_address: self.json_rpc_address.unwrap_or(json_rpc_address),
consensus_config: None,
enable_event_processing: true, // This is unused.
enable_index_processing: default_enable_index_processing(),
genesis: self.genesis.unwrap_or(sui_config::node::Genesis::new(
network_config.genesis.clone(),
Expand Down

0 comments on commit b71a707

Please sign in to comment.