Skip to content

Commit 10dc4a0

Browse files
author
Dev Kalra
authored
feat(fortuna_staging): use spans to create a hierarchy of logs (#1540)
* use spans to create a hierarchy of logs * minor imp * remove chain id * add a sequence processing * added comments * consistent with other threads * extract method out * add field to process block range * add field to watch events logs * rename method * extract process batch method * tidy * update log for eth * remove comment * update version * address feedback
1 parent 586a439 commit 10dc4a0

File tree

4 files changed

+165
-141
lines changed

4 files changed

+165
-141
lines changed

apps/fortuna/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/fortuna/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fortuna"
3-
version = "5.1.1"
3+
version = "5.2.1"
44
edition = "2021"
55

66
[dependencies]

apps/fortuna/src/chain/ethereum.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,11 @@ impl EntropyReader for PythContract {
277277
Err(e) => match e {
278278
ContractError::ProviderError { e } => Err(anyhow!(e)),
279279
_ => {
280-
tracing::info!("Gas estimation for reveal with callback failed: {:?}", e);
280+
tracing::info!(
281+
sequence_number = sequence_number,
282+
"Gas estimation failed. error: {:?}",
283+
e
284+
);
281285
Ok(None)
282286
}
283287
},

0 commit comments

Comments
 (0)