Skip to content

Commit

Permalink
update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
SvineruS committed Apr 15, 2024
1 parent 4203ba7 commit 12cbc7c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions contracts/deploy/02_SyntheticTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {

// more lightweight contract; only 1 bridge address
const deployInNonAmbNetwork = async (token: Token) => {
const bridgeAddress = configFile.bridges[netName]?.side || ethers.constants.AddressZero
let bridgeAddress = configFile.bridges[netName]?.side || ethers.constants.AddressZero

console.log(`TEMPORARILY USING ${owner} AS bridgeAddress instead of ${bridgeAddress}.`)
// TODO remove
console.log(`TEMPORARILY USING 0x375148D19a56e32A4D3D3d605Dc835b87f21114f AS bridgeAddress instead of ${bridgeAddress}.`)
bridgeAddress = "0x375148D19a56e32A4D3D3d605Dc835b87f21114f"
const {address} = await hre.deployments.deploy(token.symbol, {
contract: "BridgeERC20",
args: [token.name, token.symbol, token.networks[netName].denomination, bridgeAddress],
Expand Down

0 comments on commit 12cbc7c

Please sign in to comment.