Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: unify etherscan resolve functions #7340

Merged

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Mar 7, 2024

resolving etherscan entries is a bit complex because we have several ways to configure this:

  • etherscan as alias or key
  • chain id

previously the configured chain id was not considered when looking up the etherscan table, now this does chain.or(self.chain)

this also unifies the two functions, need to check separately if the return values can be unified, I believe we did this because these are beneficial under certain circumstances

@mattsse mattsse requested a review from DaniPopes as a code owner March 7, 2024 21:22
@mattsse mattsse merged commit b253d84 into foundry-rs:master Mar 7, 2024
19 checks passed
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