Skip to content

Commit

Permalink
add some logging for diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Mar 24, 2023
1 parent a4539f9 commit 2385e61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/src/lib/client/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1924,6 +1924,7 @@ where
) {
Some(unit)
} else {
println!("storage_has_key = false");
None
};
}
Expand Down
5 changes: 5 additions & 0 deletions shared/src/ledger/queries/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,11 @@ where
})
}
(None, _gas) => {
tracing::info!(
"No value at request height {}. Last committed height {}.",
request.height,
ctx.wl_storage.storage.last_height
);
let proof = if request.prove {
let proof = ctx
.wl_storage
Expand Down

0 comments on commit 2385e61

Please sign in to comment.