Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseAbram committed Feb 28, 2025
1 parent a16842f commit 4b5ca06
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 32 deletions.
1 change: 1 addition & 0 deletions crates/shared/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ pub const PRUNE_BLOCK: u32 = 14400;
pub const SETUP_TIMEOUT_SECONDS: u64 = 20;
#[cfg(test)]
/// Timeout for validators to wait for other validators to join protocol committees
/// Made longer for testing scenerios
pub const SETUP_TIMEOUT_SECONDS: u64 = 100;

/// The amount of proactive refreshes we do per session
Expand Down
2 changes: 1 addition & 1 deletion crates/testing-utils/src/node_proc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ impl TestNodeProcessBuilder {
R: Config,
{
let mut cmd = process::Command::new(&self.node_path);
cmd.env("RUST_LOG", "info").arg(&self.chain_type).arg("--tmp");
cmd.env("RUST_LOG", "error").arg(&self.chain_type).arg("--tmp");
if self.force_authoring {
cmd.arg("--force-authoring");
}
Expand Down
2 changes: 0 additions & 2 deletions crates/threshold-signature-server/src/user/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,6 @@ pub async fn validate_jump_start(
cache: &Cache,
) -> Result<(), UserErr> {
let last_block_number_recorded = cache.read_from_block_numbers(&BlockNumberFields::NewUser)?;
dbg!(last_block_number_recorded);
dbg!(chain_data.block_number);

if last_block_number_recorded >= chain_data.block_number {
return Err(UserErr::RepeatedData);
Expand Down
Loading

0 comments on commit 4b5ca06

Please sign in to comment.