Skip to content

bug(cast): cast source uses "old" etherscan api (v1) #10904

@sakulstra

Description

@sakulstra

Component

Cast

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

No response

What version of Foundryup are you on?

No response

What command(s) is the bug in?

cast

Operating System

macOS (Apple Silicon)

Describe the bug

When casting a source cast source --chain polygon -d out 0x794a61358D6845594F94dc1DB02A252b5b4814aD --etherscan-api-key <v2apikey>, i get Invalid API Key as the v1 api seems to be used. Supplying a chain specific API key seems to work for now, but will break with final v1 deprecation.

Metadata

Metadata

Labels

C-castCommand: castT-bugType: bugfirst issueA good way to start contributing

Type

No type

Projects

Status

Completed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions