Skip to content

Commit

Permalink
refine log
Browse files Browse the repository at this point in the history
Signed-off-by: smtmfft <[email protected]>
  • Loading branch information
smtmfft committed Sep 17, 2024
1 parent 7525782 commit 64fa79c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion core/src/preflight/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,16 @@ pub async fn prepare_taiko_chain_input(
let l1_state_block_hash = l1_state_header.hash.ok_or_else(|| {
RaikoError::Preflight("No L1 state block hash for the requested block".to_owned())
})?;
debug!("l1_state_root_block hash: {l1_state_block_hash:?}");
let l1_inclusion_block_hash = l1_inclusion_header.hash.ok_or_else(|| {
RaikoError::Preflight("No L1 inclusion block hash for the requested block".to_owned())
})?;
info!(
"L1 inclusion block number: {:?}, hash: {:?}. L1 state block number: {:?}, hash: {:?}",
l1_inclusion_block_number,
l1_inclusion_block_hash,
l1_state_header.number,
l1_state_block_hash
);

// Fetch the tx data from either calldata or blobdata
let (tx_data, blob_commitment, blob_proof) = if block_proposed.blob_used() {
Expand Down
4 changes: 2 additions & 2 deletions provers/risc0/driver/src/bonsai.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ pub async fn maybe_prove<I: Serialize, O: Eq + Debug + Serialize + DeserializeOw
}
};

info!("receipt: {receipt:?}");
info!("journal: {:?}", receipt.journal);
debug!("receipt: {receipt:?}");
debug!("journal: {:?}", receipt.journal);

// verify output
let output_guest: O = receipt.journal.decode().unwrap();
Expand Down

0 comments on commit 64fa79c

Please sign in to comment.