2021-04-22 18:30:51 +00:00
|
|
|
import { run } from "hardhat";
|
2021-04-14 23:14:13 +00:00
|
|
|
import "@nomiclabs/hardhat-ethers";
|
2021-04-22 18:30:51 +00:00
|
|
|
import deploy from "../common/deployment";
|
2021-04-14 23:04:28 +00:00
|
|
|
|
|
|
|
async function main() {
|
|
|
|
await run("compile");
|
2021-04-22 18:30:51 +00:00
|
|
|
|
|
|
|
await deploy({
|
|
|
|
reward: 100,
|
|
|
|
minStake: 5000,
|
|
|
|
voteWindowTime: 5,
|
|
|
|
randomizeStake: false,
|
|
|
|
maxStake: 0, // don't use this deployment feature
|
|
|
|
actualStake: 5000,
|
2021-04-27 15:52:28 +00:00
|
|
|
nodeCount: 4,
|
2021-04-27 18:10:40 +00:00
|
|
|
logging: true,
|
|
|
|
minStakeForDisputeVotes: 100
|
2021-04-22 18:30:51 +00:00
|
|
|
});
|
2021-04-14 23:04:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
main()
|
|
|
|
.then(() => process.exit(0))
|
|
|
|
.catch((error) => {
|
|
|
|
console.error(error);
|
|
|
|
process.exit(1);
|
|
|
|
});
|