diff --git a/Cargo.lock b/Cargo.lock index b04ea368..aebbf6fd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1882,7 +1882,7 @@ checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" [[package]] name = "firehose-client" version = "0.1.1" -source = "git+https://github.com/semiotic-ai/firehose-client.git?branch=main#d10f89a3dc2c8a3c76ce2dc3a4a7f81e13eeac24" +source = "git+https://github.com/semiotic-ai/firehose-client.git?branch=main#977b9178ff7c4cbb1d620c439461486d98c5b86e" dependencies = [ "dotenvy", "firehose-rs", @@ -2322,13 +2322,13 @@ dependencies = [ "ethportal-api", "firehose-protos", "flat-files-decoder", - "log", "primitive-types", "rlp", "serde", "serde_json", "tempfile", "thiserror 2.0.3", + "tracing", "tree_hash", "trin-validation", ] diff --git a/Cargo.toml b/Cargo.toml index 9a03ecbc..e7a064cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,6 @@ firehose-rs = { git = "https://github.com/semiotic-ai/firehose-rs.git", branch = flat-files-decoder = { path = "crates/flat-files-decoder", version = "0.1.0" } header-accumulator = { path = "crates/header-accumulator", version = "0.1.0" } hex = "0.4.3" -log = "0.4.20" primitive-types = "0.12.2" prost = "0.13.1" prost-build = "0.13.1" diff --git a/crates/header-accumulator/Cargo.toml b/crates/header-accumulator/Cargo.toml index f349012e..f7de5ac5 100644 --- a/crates/header-accumulator/Cargo.toml +++ b/crates/header-accumulator/Cargo.toml @@ -11,11 +11,11 @@ base64.workspace = true clap.workspace = true ethportal-api.workspace = true firehose-protos.workspace = true -log.workspace = true primitive-types.workspace = true rlp.workspace = true serde = { workspace = true, features = ["derive"] } serde_json.workspace = true +tracing.workspace = true tree_hash.workspace = true trin-validation.workspace = true thiserror.workspace = true diff --git a/crates/header-accumulator/src/era_validator.rs b/crates/header-accumulator/src/era_validator.rs index cb7496c5..93b2bd61 100644 --- a/crates/header-accumulator/src/era_validator.rs +++ b/crates/header-accumulator/src/era_validator.rs @@ -61,7 +61,7 @@ impl EraValidator { if root == valid_root { Ok(root) } else { - log::error!( + tracing::error!( "the valid hash is: {:?} and the provided hash was: {:?}", valid_root, root