Skip to content

Do not fetch if etherscan key is not available and support different chain ids#1492

Merged
gustavo-grieco merged 5 commits intomasterfrom
fixes-etherscan-fetching
Dec 15, 2025
Merged

Do not fetch if etherscan key is not available and support different chain ids#1492
gustavo-grieco merged 5 commits intomasterfrom
fixes-etherscan-fetching

Conversation

@gustavo-grieco
Copy link
Copy Markdown
Collaborator

@gustavo-grieco gustavo-grieco commented Dec 13, 2025

Fix for #1230 #1486

Just dir -> do
-- coverage reports for external contracts, we only support
-- Ethereum Mainnet for now
when (env.chainId == Just 1) $ do
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm not sure we can allow other chains yet, as fetchContractSourceMap only supports eth mainnet

Copy link
Copy Markdown
Member

@elopez elopez Dec 13, 2025

Choose a reason for hiding this comment

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

I implemented support for it on 5fd1eed

@elopez elopez force-pushed the fixes-etherscan-fetching branch from cd7f77c to 5fd1eed Compare December 13, 2025 18:02
@gustavo-grieco gustavo-grieco merged commit e4be047 into master Dec 15, 2025
17 checks passed
@gustavo-grieco gustavo-grieco deleted the fixes-etherscan-fetching branch December 15, 2025 13:56
datradito pushed a commit to datradito/echidna-mcp that referenced this pull request Dec 29, 2025
…chain ids (crytic#1492)

* do not fetch if etherscan key is not available and support different chain ids

* etherscan: add support for source maps on other chains

* etherscan: move cache away from Env

* etherscan: remove extra & on URLs

* onchain: remove dead code

---------

Co-authored-by: Emilio López <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants