Skip to content

Commit

Permalink
[Consensus Observer] Enable CO on all nodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLind committed Jun 16, 2024
1 parent 9392f5b commit 841f4ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config/src/config/consensus_observer_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ use serde::{Deserialize, Serialize};
use serde_yaml::Value;

// Useful constants for enabling consensus observer on different node types
const ENABLE_ON_VALIDATORS: bool = false;
const ENABLE_ON_VALIDATOR_FULLNODES: bool = false;
const ENABLE_ON_PUBLIC_FULLNODES: bool = false;
const ENABLE_ON_VALIDATORS: bool = true;
const ENABLE_ON_VALIDATOR_FULLNODES: bool = true;
const ENABLE_ON_PUBLIC_FULLNODES: bool = true;

#[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)]
#[serde(default, deny_unknown_fields)]
Expand Down
2 changes: 1 addition & 1 deletion testsuite/forge-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2445,7 +2445,7 @@ fn pfn_const_tps(
ForgeConfig::default()
.with_initial_validator_count(NonZeroUsize::new(7).unwrap())
.with_initial_fullnode_count(7)
.with_emit_job(EmitJobRequest::default().mode(EmitJobMode::ConstTps { tps: 100 }))
.with_emit_job(EmitJobRequest::default().mode(EmitJobMode::ConstTps { tps: 5000 }))
.add_network_test(PFNPerformance::new(
7,
add_cpu_chaos,
Expand Down

0 comments on commit 841f4ba

Please sign in to comment.