Skip to content

Commit 77ce88e

Browse files
style: lint fix
1 parent d622a55 commit 77ce88e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contracts/deploy/01-foreign-chain.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const paramsByChainId = {
2222
deposit: parseEther("0.1"),
2323
epochPeriod: 120, // 2 min
2424
homeChainId: 421611, // arbitrum testnet
25-
arbInbox: "0x578BAde599406A8fE3d24Fd7f7211c0911F5B29e", //https://developer.offchainlabs.com/docs/useful_addresses
25+
arbInbox: "0x578BAde599406A8fE3d24Fd7f7211c0911F5B29e", // https://developer.offchainlabs.com/docs/useful_addresses
2626
genesis: 1652709415 // sample genesis time
2727
},
2828
31337: {
@@ -35,7 +35,7 @@ const paramsByChainId = {
3535
};
3636

3737
const deployForeignGateway: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
38-
const { ethers, deployments, getNamedAccounts, getChainId, config } = hre;
38+
const { deployments, getNamedAccounts, getChainId, config } = hre;
3939
const { deploy } = deployments;
4040
const { providers } = ethers;
4141
const { hexZeroPad } = hre.ethers.utils;
@@ -68,9 +68,9 @@ const deployForeignGateway: DeployFunction = async (hre: HardhatRuntimeEnvironme
6868

6969
const homeGatewayAddress = getContractAddress(deployer, nonce);
7070
console.log("calculated future HomeGatewayToEthereum address for nonce %d: %s", nonce, homeGatewayAddress);
71-
const homeGatewayCentralizedArbitratorAddress = getContractAddress(deployer, nonce+1);
71+
const homeGatewayCentralizedArbitratorAddress = getContractAddress(deployer, nonce + 1);
7272
console.log("calculated future HomeGatewayToEthereum address for nonce %d: %s", nonce, homeGatewayAddress);
73-
const fastBridgeSenderAddress = getContractAddress(deployer, nonce-1);
73+
const fastBridgeSenderAddress = getContractAddress(deployer, nonce - 1);
7474
console.log("calculated future fastBridgeSender address for nonce %d: %s", nonce, fastBridgeSenderAddress);
7575

7676
const fastBridgeReceiver = await deploy("FastBridgeReceiverOnEthereum", {

0 commit comments

Comments
 (0)