Comment last test

This commit is contained in:
Andy Tudhope 2019-04-11 17:28:49 +02:00
parent 55ad0385ce
commit 8079458531
No known key found for this signature in database
GPG Key ID: 02A3DFA93BF26AD2
1 changed files with 4 additions and 0 deletions

View File

@ -625,6 +625,10 @@ 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
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();