Skip to content

fix: add Sepolia to etherscan_api_key_name#257

Merged
mattsse merged 2 commits intomainfrom
mattsse/fix-sepolia-etherscan-api-key
Feb 21, 2026
Merged

fix: add Sepolia to etherscan_api_key_name#257
mattsse merged 2 commits intomainfrom
mattsse/fix-sepolia-etherscan-api-key

Conversation

@gakonst
Copy link
Member

@gakonst gakonst commented Feb 21, 2026

Summary

Adds Sepolia to the etherscan_api_key_name match arm that returns ETHERSCAN_API_KEY.

Motivation

Sepolia has etherscan URLs configured (v2 API) but was missing from etherscan_api_key_name, so any code that resolves an API key by chain (e.g. reth's --debug.etherscan) fails with:

etherscan api key not found for rpc consensus client for chain: sepolia

Fixes paradigmxyz/reth#22435

Changes

  • Moved Sepolia from the exhaustive no-key fallback into the ETHERSCAN_API_KEY arm, mirroring how Hoodi and Holesky are handled.

Prompted by: matthias

@mattsse mattsse merged commit 96e9730 into main Feb 21, 2026
20 checks passed
@mattsse mattsse deleted the mattsse/fix-sepolia-etherscan-api-key branch February 21, 2026 05:14
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.

--debug.etherscan does not work with eth-sepolia

2 participants