Skip to content

Commit

Permalink
build: replace use of log crate with tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
suchapalaver committed Nov 29, 2024
1 parent aef8408 commit 16df05c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/header-accumulator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/header-accumulator/src/era_validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16df05c

Please sign in to comment.