Comment last test

This commit is contained in:
Andy Tudhope 2019-04-11 17:31:07 +02:00
parent 8079458531
commit 849787cb71
No known key found for this signature in database
GPG Key ID: 02A3DFA93BF26AD2
1 changed files with 2 additions and 4 deletions

View File

@ -625,10 +625,8 @@ contract("DAppStore", function () {
assert.ok(returned <= votes_minted);
})
// Change the variable in the contract so you can stake 78% or more, and see BancorFormula fail to
// find a suitable position in the exponent array.
// This test currently fails because you're trying to stake more than is allowed, so you can alternatively
// remove that require in _createDApp to test the BancorFormula
// Comment out line 253 in the contract to run this test properly and see
// the BancorFormula fail to find a suitable position in the maxExponentArray
it("should prove we have the highest safeMax allowed for by Bancor's power approximation", async function () {
let id = "0x0000000000000000000000000000000000000000000000000000000000000002";
let max = await DAppStore.methods.max().call();