9d477e0585
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. |
||
---|---|---|
.. | ||
1_initial_migration.js | ||
2_deploy_wormhole.js | ||
3_deploy_bridge.js | ||
4_deploy_nft_bridge.js | ||
6_deploy_bridge_implementation_only.js | ||
7_deploy_token_implementation_only.js | ||
9_deploy_weth9.js | ||
10_deploy_batched_vaa_sender.js |