Skip to content
4 changes: 4 additions & 0 deletions src/cli_shared/logger/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ fn default_env_filter() -> EnvFilter {
fn default_tool_filter() -> EnvFilter {
let default_directives = [
"info",
"bellperson::groth16::aggregate::verify=warn",
"storage_proofs_core=warn",
"axum=warn",
"filecoin_proofs=warn",
"forest::snapshot=info",
"forest::progress=info",
"libp2p_bitswap=off",
Expand Down
2 changes: 1 addition & 1 deletion src/state_manager/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ where
NO_CALLBACK,
VMTrace::NotTraced,
)
.context("couldn't compute tipset state")?;
.map_err(|e| anyhow::anyhow!("couldn't compute tipset state: {e}"))?;
let expected_receipt = child.min_ticket_block().message_receipts;
let expected_state = child.parent_state();
match (expected_state, expected_receipt) == (&actual_state, actual_receipt) {
Expand Down
3 changes: 1 addition & 2 deletions src/tool/subcommands/snapshot_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ where
),
);

let last_epoch = ts.epoch() - epochs as i64;
let last_epoch = ts.epoch() - epochs as i64 + 1;
Comment thread
coderabbitai[bot] marked this conversation as resolved.

// Bundles are required when doing state migrations.
load_actor_bundles(&db, &network).await?;
Expand Down Expand Up @@ -445,7 +445,6 @@ where
)?;

pb.finish_with_message("✅ verified!");
drop(pb);
Ok(())
}

Expand Down
Loading