@gooddollar/goodprotocol 1.0.6 → 1.0.7-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -197,7 +197,7 @@ describe("ClaimersDistribution", () => {
|
|
|
197
197
|
expect(endCount).to.be.equal(startCount.add(2));
|
|
198
198
|
});
|
|
199
199
|
|
|
200
|
-
it("should not cost alot of gas to claim with reputation distribution", async () => {
|
|
200
|
+
it("should not cost alot of gas to claim with reputation distribution [@skip-on-coverage]", async () => {
|
|
201
201
|
let totalGas = 0;
|
|
202
202
|
for (let i = 0; i < 31; i++) {
|
|
203
203
|
await increaseTime(60 * 60 * 24);
|
|
@@ -205,6 +205,6 @@ describe("ClaimersDistribution", () => {
|
|
|
205
205
|
totalGas += tx.gasUsed.toNumber();
|
|
206
206
|
console.log({ totalGas }, tx.gasUsed.toNumber());
|
|
207
207
|
}
|
|
208
|
-
expect(totalGas / 30).lt(
|
|
208
|
+
expect(totalGas / 30).lt(310000);
|
|
209
209
|
});
|
|
210
210
|
});
|