Enhanced integration & optimized testing

This commit is contained in:
PedroCailleret
2023-02-14 18:40:02 -03:00
parent 4c8016080d
commit 8310e013f6
40 changed files with 1516 additions and 649 deletions

View File

@@ -3,11 +3,10 @@ import "@nomiclabs/hardhat-etherscan";
import { BigNumber } from "ethers";
import * as fs from "fs";
import { ethers, network } from "hardhat";
import hre from "hardhat";
import { Deploys } from "../test/utils/fixtures";
import hre from "hardhat";
let deploysJson: Deploys;
const supply: BigNumber = ethers.utils.parseEther("20000000");
@@ -54,4 +53,4 @@ main()
.catch(error => {
console.log(error);
process.exit(1);
});
});

View File

@@ -2,11 +2,10 @@ import "@nomiclabs/hardhat-ethers";
import "@nomiclabs/hardhat-etherscan";
import * as fs from "fs";
import { ethers, network } from "hardhat";
import hre from "hardhat";
import { Deploys } from "../test/utils/fixtures";
import hre from "hardhat";
let deploysJson: Deploys;
const main = async () => {
@@ -53,10 +52,9 @@ const main = async () => {
//verify
await hre.run("verify:verify", {
address: p2pix.address,
constructorArguments:
[
10,
deploysJson.signers,
constructorArguments: [
10,
deploysJson.signers,
reputation.address,
[deploysJson.token],
[true],
@@ -73,4 +71,4 @@ main()
.catch(error => {
console.log(error);
process.exit(1);
});
});