Throw bespoke error when mainnet fork isn't Ethereum Mainnet #3
Labels
effort: low
Easy or tiny task that takes less than a day.
priority: 2
We will do our best to deal with this.
type: feature
New feature or request.
work: clear
Sense-categorize-respond. The relationship between cause and effect is clear.
I just spent 15 minutes debugging an annoying
EvmError
that was due to my mainnet RPC URL pointing to a non-Ethereum Mainnet chain.This is really Foundry's fault, but until they add better reporting, we can explicitly load the chain ID and check if the ID matches the expected value (1).
The text was updated successfully, but these errors were encountered: