Skip to content

Commit

Permalink
fix config and add compile to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
sirnicolaz committed Nov 10, 2023
1 parent 971849d commit 69242cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const config: HardhatUserConfig = {
accounts: [POLYGON_PRIVATE_KEY],
},
tevmos: {
url: "https://eth.bd.evmos.dev:8545",
url: "https://evmos-testnet.lava.build",
accounts: [TEVMOS_PRIVATE_KEY],
},
evmos: {
Expand Down
5 changes: 3 additions & 2 deletions tasks/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ import { question } from "../lib/utils";
const MULTISIG_MAINNET = "0xd232121c41EF9ad4e4d0251BdCbe60b9F3D20758";
const MULTISIG_TESTNET = "0x7549fe2ED3c16240f97FE736146347409C6dD81D";

task("deploy", "Deploy DAO")
task("deploy:dao", "Deploy DAO")
.addFlag("verify", "Verify contracts")
.addFlag("restart", "Start a new deployment from scratch")
.setAction(
async ({ verify, restart }: { verify: boolean; restart: boolean }, hre) => {
await hre.run("compile", { force: true });
const neokingdom = await NeokingdomDAOHardhat.initialize(hre, {
verifyContracts: verify,
verbose: true,
Expand All @@ -28,7 +29,7 @@ task("deploy", "Deploy DAO")
}
);

task("setup", "Set up the DAO")
task("setup:dao", "Set up the DAO")
.addFlag("mainnet", "Go to Mainnet")
.setAction(async ({ mainnet }: { mainnet: boolean }, hre) => {
let sequence = SETUP_SEQUENCE_TESTNET;
Expand Down

0 comments on commit 69242cc

Please sign in to comment.