Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flaky block-proposal test #4337

Merged
merged 4 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: cargo fmt
  • Loading branch information
jcnelson committed Feb 2, 2024
commit b21bbd1d96c19b667eb604ff1bf1025c8de0d9e3
8 changes: 7 additions & 1 deletion stackslib/src/net/api/getstackerdbchunk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,13 @@ impl RPCRequestHandler for RPCGetStackerDBChunkRequestHandler {

match chunk_res {
Ok(Some(chunk)) => {
debug!("Loaded {}-byte chunk for {} slot {} version {:?}", chunk.len(), &contract_identifier, slot_id, &slot_version);
debug!(
"Loaded {}-byte chunk for {} slot {} version {:?}",
chunk.len(),
&contract_identifier,
slot_id,
&slot_version
);
Ok(chunk)
}
Ok(None) | Err(NetError::NoSuchStackerDB(..)) => {
Expand Down
8 changes: 7 additions & 1 deletion stackslib/src/net/api/poststackerdbchunk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,13 @@ impl RPCRequestHandler for RPCPostStackerDBChunkRequestHandler {
));
}

debug!("Wrote {}-byte chunk to {} slot {} version {}", &stackerdb_chunk.data.len(), &contract_identifier, stackerdb_chunk.slot_id, stackerdb_chunk.slot_version);
debug!(
"Wrote {}-byte chunk to {} slot {} version {}",
&stackerdb_chunk.data.len(),
&contract_identifier,
stackerdb_chunk.slot_id,
stackerdb_chunk.slot_version
);

// success!
let ack = StackerDBChunkAckData {
Expand Down