ethcontract-rs
ethcontract-rs copied to clipboard
Support networks with same chain id but different names
Hardhat deploy supports having different networks with the same chain id. For example, you can have rinkeby
and rinkeby-testing
. Both are rinkeby
, but contract addresses and ABIs can be different.
It may be beneficial to support this in ethcontract-rs.
Also, in general, its probably safer to differentiate on chain ID instead of network ID.
Do you know if it uses the chain ID as the differentiating factor, or something else?
Oh yeah, it uses chain id. Sorry, my bad. I'll update the issue.