diff --git a/solidity/contract-deployer.ts b/solidity/contract-deployer.ts index 7d347454d..cadce7aae 100644 --- a/solidity/contract-deployer.ts +++ b/solidity/contract-deployer.ts @@ -10,7 +10,6 @@ import axios, { AxiosError, AxiosRequestConfig, AxiosResponse } from "axios"; import { exit } from "process"; import { start } from "node:repl"; import { SSL_OP_EPHEMERAL_RSA } from "node:constants"; -import hre from "hardhat"; const args = commandLineArgs([ // the ethernum node used to deploy the contract @@ -188,10 +187,6 @@ async function deploy() { let cudosAccessControl:any - // const AcArts = getContractArtifacts("artifacts/contracts/CudosAccessControls.sol/CudosAccessControls.json"); - // const AcFactory = new ethers.ContractFactory(AcArts.abi, AcArts.bytecode, wallet); - - // console.log("Deploying AccessControl contract...") cudosAccessControl = args["cudos-access-control"]; console.log("Starting Gravity contract deploy"); @@ -246,20 +241,6 @@ async function deploy() { console.log("Gravity deployed at Address - ", gravity.address); await submitGravityAddress(gravity.address); - - await gravity.deployTransaction.wait(10) - console.log("Verifying contract on Etherscan..."); - - await hre.run("verify:verify", { - address: gravity.address, - constructorArguments: [ - gravityId, - vote_power, - eth_addresses, - powers, - cudosAccessControl - ], - }); } function getContractArtifacts(path: string): { bytecode: string; abi: string } { diff --git a/solidity/hardhat.config.ts b/solidity/hardhat.config.ts index 19dcf7579..1383d4bc2 100644 --- a/solidity/hardhat.config.ts +++ b/solidity/hardhat.config.ts @@ -2,7 +2,6 @@ import "@nomiclabs/hardhat-waffle"; import "hardhat-gas-reporter"; import "hardhat-typechain"; import { task } from "hardhat/config"; -import "@nomiclabs/hardhat-etherscan"; task("accounts", "Prints the list of accounts", async (args, hre) => { const accounts = await hre.ethers.getSigners(); @@ -851,7 +850,4 @@ module.exports = { mocha: { timeout: 2000000 }, - etherscan: { - apiKey: "2MD12YN15Z3CKRNJE3RCMAJ1QUN3W1CDXC" - } };