Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions crates/cast/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub(crate) async fn handle_traces(
.with_labels(labels.chain(config_labels))
.with_signature_identifier(SignaturesIdentifier::from_config(config)?)
.with_label_disabled(disable_label);
let mut identifier = TraceIdentifiers::new().with_etherscan(config, chain)?;
let mut identifier = TraceIdentifiers::new().with_external(config, chain)?;
if let Some(contracts) = &known_contracts {
builder = builder.with_known_contracts(contracts);
identifier = identifier.with_local_and_bytecodes(contracts, contracts_bytecode);
Expand All @@ -69,7 +69,7 @@ pub(crate) async fn handle_traces(
}

if decode_internal || debug {
if let Some(ref etherscan_identifier) = identifier.etherscan {
if let Some(ref etherscan_identifier) = identifier.external {
sources.merge(etherscan_identifier.get_compiled_contracts().await?);
}

Expand Down
2 changes: 1 addition & 1 deletion crates/chisel/src/dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl ChiselDispatcher {
)?)
.build();

let mut identifier = TraceIdentifiers::new().with_etherscan(
let mut identifier = TraceIdentifiers::new().with_external(
&session_config.foundry_config,
session_config.evm_opts.get_remote_chain_id().await,
)?;
Expand Down
14 changes: 8 additions & 6 deletions crates/evm/traces/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,21 @@ alloy-primitives = { workspace = true, features = [
alloy-sol-types.workspace = true
revm-inspectors.workspace = true

async-trait.workspace = true
eyre.workspace = true
futures.workspace = true
itertools.workspace = true
memchr.workspace = true
rayon.workspace = true
reqwest.workspace = true
revm.workspace = true
serde_json = { workspace = true, features = ["raw_value"] }
serde.workspace = true
serde_json.workspace = true
solar.workspace = true
tempfile.workspace = true
tokio = { workspace = true, features = ["time", "macros"] }
tracing.workspace = true
tempfile.workspace = true
rayon.workspace = true
solar.workspace = true
revm.workspace = true
yansi.workspace = true
memchr.workspace = true

[dev-dependencies]
tempfile.workspace = true
278 changes: 0 additions & 278 deletions crates/evm/traces/src/identifier/etherscan.rs

This file was deleted.

Loading
Loading