Skip to content

Commit

Permalink
chore(deps): bump alloys (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Jan 10, 2024
1 parent 4a3f82f commit b9e6e4e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ rust.rust_2018_idioms = "deny"

[dependencies]
# eth
alloy-sol-types = "0.5"
alloy-primitives = "0.5"
alloy-sol-types = "0.6"
alloy-primitives = "0.6"
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy" }
alloy-rpc-trace-types = { git = "https://github.com/alloy-rs/alloy" }

Expand Down
7 changes: 4 additions & 3 deletions src/tracing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ use crate::tracing::{
},
utils::gas_used,
};
use alloy_primitives::{Address, Bytes, Log, B256, U256};
pub use arena::CallTraceArena;
use alloy_primitives::{Address, Bytes, LogData, B256, U256};
use revm::{
inspectors::GasInspector,
interpreter::{
Expand All @@ -20,12 +19,14 @@ use revm::{
use types::{CallTrace, CallTraceStep};

mod arena;

mod builder;
mod config;
mod fourbyte;
mod opcount;
pub mod types;
mod utils;
pub use arena::CallTraceArena;
pub use builder::{
geth::{self, GethTraceBuilder},
parity::{self, ParityTraceBuilder},
Expand Down Expand Up @@ -424,7 +425,7 @@ where

if self.config.record_logs {
trace.ordering.push(LogCallOrder::Log(trace.logs.len()));
trace.logs.push(Log::new_unchecked(topics.to_vec(), data.clone()));
trace.logs.push(LogData::new_unchecked(topics.to_vec(), data.clone()));
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/tracing/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use crate::tracing::{config::TraceStyle, utils, utils::convert_memory};
pub use alloy_primitives::Log;
use alloy_primitives::{Address, Bytes, U256, U64};
use alloy_primitives::{Address, Bytes, LogData, U256, U64};

use alloy_rpc_trace_types::{
geth::{CallFrame, CallLogFrame, GethDefaultTracingOptions, StructLog},
Expand Down Expand Up @@ -130,7 +130,7 @@ pub struct CallTraceNode {
/// The call trace
pub trace: CallTrace,
/// Recorded logs, if enabled
pub logs: Vec<Log>,
pub logs: Vec<LogData>,
/// Ordering of child calls and logs
pub ordering: Vec<LogCallOrder>,
}
Expand Down

0 comments on commit b9e6e4e

Please sign in to comment.