We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b545f1 commit 160827dCopy full SHA for 160827d
contracts/deploy/01-foreign-chain.ts
@@ -59,7 +59,7 @@ const deployForeignGateway: DeployFunction = async (hre: HardhatRuntimeEnvironme
59
const { deposit, epochPeriod, homeChainId } = paramsByChainId[chainId];
60
const bridgeAlpha = 5000;
61
const homeChainIdAsBytes32 = hexZeroPad(homeChainId, 32);
62
- const chainIdAsBytes32 = hexZeroPad("0x"+chainId.toString(16), 32);
+ const chainIdAsBytes32 = hexZeroPad("0x" + chainId.toString(16), 32);
63
64
const homeGatewayAddress = getContractAddress(deployer, nonce);
65
console.log("calculated future HomeGatewayToEthereum address for nonce %d: %s", nonce, homeGatewayAddress);
0 commit comments