Skip to content

Commit

Permalink
fix: last touches
Browse files Browse the repository at this point in the history
  • Loading branch information
th7nder committed Nov 7, 2024
1 parent 84362ec commit 08c1440
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cli/polka-storage-provider/server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ pub struct ServerConfiguration {
/// Proof of Spacetime proof type.
post_proof: RegisteredPoStProof,

/// Proving Parameters for PoRep proof
/// Proving Parameters for PoRep proof.
/// For 2KiB sectors they're ~1GiB of data.
porep_parameters: PoRepParameters,
}
Expand Down
9 changes: 2 additions & 7 deletions cli/polka-storage-provider/server/src/pipeline/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -458,13 +458,8 @@ async fn prove_commit(
);

let prover_id = derive_prover_id(state.xt_keypair.account_id());
tracing::debug!("Performing prove commit for, seal_randomness_height {}, pre_commit_block: {}, prove_commit_block: {}, entropy: {}, ticket: {}, seed: {}",
seal_randomness_height, sector.precommit_block, prove_commit_block, hex::encode(entropy), hex::encode(ticket), hex::encode(seed));
tracing::debug!(
"Prover Id: {}, Sector Number: {}",
hex::encode(prover_id),
sector_number
);
tracing::debug!("Performing prove commit for, seal_randomness_height {}, pre_commit_block: {}, prove_commit_block: {}, entropy: {}, ticket: {}, seed: {}, prover id: {}, sector_number: {}",
seal_randomness_height, sector.precommit_block, prove_commit_block, hex::encode(entropy), hex::encode(ticket), hex::encode(seed), hex::encode(prover_id), sector_number);

let sealing_handle: JoinHandle<Result<Vec<BlstrsProof>, _>> = {
let porep_params = state.porep_parameters.clone();
Expand Down

0 comments on commit 08c1440

Please sign in to comment.