We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1ccaa7 commit 57d3c51Copy full SHA for 57d3c51
scripts/estimate.js
@@ -75,7 +75,7 @@ function main() {
75
let blockTime = process.argv[4];
76
let blockMs = 0;
77
let secondsPerBlock = 0;
78
- let proposalLeadtime = 0;
+ // let proposalLeadtime = 0;
79
80
if (!cycleCount) {
81
console.error(`ERROR`);
@@ -102,7 +102,7 @@ function main() {
102
block: blockHeight,
103
};
104
if (!secondsPerBlock) {
105
- secondsPerBlock = DashGov.measureSecondsPerBlock(snapshot);
+ secondsPerBlock = DashGov.estimateSecondsPerBlock(snapshot);
106
}
107
let estimates = DashGov.estimateProposalCycles(
108
cycleCount,
0 commit comments