Closed ravinagill15 closed 2 months ago
You can use getNetworksByEid to see which networks have eid defined because hardhat and localhost should never have it in the config. Or just filter them manually, see what works better
If hardhat and localhost should never have eid
defined, then I think it is best to filter out networks that do not have eid
defined instead of manually filtering out networks with names hardhat
or localhost
. This is because the naming could potentially change, so checking eid
is more robust imo.
Will push this fix soon!
In this PR:
hardhat.config.ts
has been implemented withindevtools-evm-hardhat
validate.rpcs.test.ts
has also been created.