From 8079458531506a281d1d8d9c1304ff0991a1e90c Mon Sep 17 00:00:00 2001 From: Andy Tudhope Date: Thu, 11 Apr 2019 17:28:49 +0200 Subject: [PATCH] Comment last test --- test/dappstore_spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/dappstore_spec.js b/test/dappstore_spec.js index 5408b60..9203123 100644 --- a/test/dappstore_spec.js +++ b/test/dappstore_spec.js @@ -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();