Skip to content

Conversation

@Bashmunta
Copy link
Contributor

Replace strip_prefix("/api") with strip_suffix("/api") in EtherscanVerificationProvider::client() so that when a custom verifier API endpoint like https://host/api is provided, the browser base URL passed to with_url() becomes https://host/. This ensures address_url() and related links are constructed correctly for Blockscout and other non-Etherscan providers

Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

makes sense

@grandizzy grandizzy added this pull request to the merge queue Nov 19, 2025
Merged via the queue into foundry-rs:master with commit e692635 Nov 19, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants