diff --git a/solidity/contract-deployer.ts b/solidity/contract-deployer.ts index 4eca6bbaa..75f4007ea 100644 --- a/solidity/contract-deployer.ts +++ b/solidity/contract-deployer.ts @@ -2,7 +2,7 @@ import { Gravity } from "./typechain/Gravity"; import { TestERC20A } from "./typechain/TestERC20A"; import { TestERC20B } from "./typechain/TestERC20B"; import { TestERC20C } from "./typechain/TestERC20C"; -import { TestUniswapLiquidity } from "./typechain/TestUniswapLiquidity"; +// import { TestUniswapLiquidity } from "./typechain/TestUniswapLiquidity"; import { ethers } from "ethers"; import fs from "fs"; import commandLineArgs from "command-line-args"; @@ -173,15 +173,15 @@ async function deploy() { console.log("ERC20 deployed at Address - ", erc20TestAddress2); - const arbitrary_logic_path = "/gravity/solidity/artifacts/contracts/TestUniswapLiquidity.sol/TestUniswapLiquidity.json" - if (fs.existsSync(arbitrary_logic_path)) { - const { abi, bytecode } = getContractArtifacts(arbitrary_logic_path); - const liquidityFactory = new ethers.ContractFactory(abi, bytecode, wallet); - const testUniswapLiquidity = (await liquidityFactory.deploy(erc20TestAddress)) as TestUniswapLiquidity; - await testUniswapLiquidity.deployed(); - const testAddress = testUniswapLiquidity.address; - console.log("Uniswap Liquidity test deployed at Address - ", testAddress); - } + // const arbitrary_logic_path = "/gravity/solidity/artifacts/contracts/TestUniswapLiquidity.sol/TestUniswapLiquidity.json" + // if (fs.existsSync(arbitrary_logic_path)) { + // const { abi, bytecode } = getContractArtifacts(arbitrary_logic_path); + // const liquidityFactory = new ethers.ContractFactory(abi, bytecode, wallet); + // const testUniswapLiquidity = (await liquidityFactory.deploy(erc20TestAddress)) as TestUniswapLiquidity; + // await testUniswapLiquidity.deployed(); + // const testAddress = testUniswapLiquidity.address; + // console.log("Uniswap Liquidity test deployed at Address - ", testAddress); + // } } const gravityIdString = await getGravityId(); const gravityId = ethers.utils.formatBytes32String(gravityIdString);