Added a `uint256 evmChainId` state variable to the Core, Token and NFT Bridge
contracts. `evmChainId` is compared to `block.chainid` in the `chainId`
function. When they don't match, a "bad fork" Chain ID is returned,
otherwise the Wormhole Chain ID is returned.
* Add makefile to run ethereum tests
* Run tests on CI
* single rm in make clean
Co-authored-by: Jeff Schroeder <[email protected]>
* Fix WETH address in bridge test
Change-Id: Idd7455cc873d2db86c2ccc130bd673b065311e67
* Don't kill ganache-cli if already running
Instead error the test
* eth: omit mainnet stuff from ci
Co-authored-by: Csongor Kiss <[email protected]>
Co-authored-by: Jeff Schroeder <[email protected]>
Co-authored-by: Drew Sterioti <[email protected]>
Co-authored-by: Evan Gray <[email protected]>