Skip to content

Conversation

@DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Oct 1, 2025

Rewrite crates/evm/traces/src/identifier/etherscan.rs to support multiple endpoints. Sourcify is enabled by default (if not offline).

Supersedes #11817.

@grandizzy grandizzy moved this to In Progress in Foundry Oct 6, 2025
@DaniPopes DaniPopes marked this pull request as ready for review October 20, 2025 14:29
Copy link
Contributor

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, makes sense to me that we make this abstraction generic over an external fetcher and the impls of those look fine to me too

@onbjerg onbjerg added this pull request to the merge queue Oct 20, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 20, 2025
@onbjerg onbjerg added this pull request to the merge queue Oct 20, 2025
@DaniPopes DaniPopes removed this pull request from the merge queue due to a manual request Oct 20, 2025
@grandizzy grandizzy enabled auto-merge October 21, 2025 06:08
@grandizzy grandizzy added this pull request to the merge queue Oct 21, 2025
Merged via the queue into master with commit 824fd99 Oct 21, 2025
15 checks passed
@grandizzy grandizzy deleted the dani/sourcify-identifier branch October 21, 2025 06:26
@github-project-automation github-project-automation bot moved this from In Progress to Done in Foundry Oct 21, 2025
silvekkk added a commit to silvekkk/foundry that referenced this pull request Oct 21, 2025
Add contract name and address to error messages when compiling contracts
from Etherscan/Sourcify fails, making it easier to identify which specific
contract caused the compilation failure.

Applies the same improvement as PR foundry-rs#12152 to the refactored external.rs
file (after the Sourcify integration in foundry-rs#11917).
github-merge-queue bot pushed a commit that referenced this pull request Oct 21, 2025
…12152)

* feat(traces): add contract context to compilation errors

Add contract name and address to error messages when compiling contracts
from Etherscan/Sourcify fails, making it easier to identify which specific
contract caused the compilation failure.

Applies the same improvement as PR #12152 to the refactored external.rs
file (after the Sourcify integration in #11917).

* chore: avoid redundant work and allocations

---------

Co-authored-by: 0xrusowsky <[email protected]>
@grandizzy grandizzy moved this from Done to Completed in Foundry Oct 27, 2025
@rplusq rplusq mentioned this pull request Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Completed

Development

Successfully merging this pull request may close these issues.

5 participants