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. |
||
---|---|---|
.. | ||
upgrades | ||
bridge.js | ||
nft.js | ||
tokenmigrator.js | ||
wormhole.js |