diff --git a/test/feralfile_exhibition_v4.js b/test/feralfile_exhibition_v4.js index 869be7c..4b64473 100644 --- a/test/feralfile_exhibition_v4.js +++ b/test/feralfile_exhibition_v4.js @@ -260,7 +260,7 @@ contract("FeralfileExhibitionV4", async (accounts) => { ], true ], - { from: accounts[5], value: 0 } + { from: accounts[5], value: 0 } // itx relay ); const ownerOfToken0 = await this.exhibition.ownerOf(1000000); const ownerOfToken1 = await this.exhibition.ownerOf(1000001); @@ -281,19 +281,19 @@ contract("FeralfileExhibitionV4", async (accounts) => { ( BigInt(acc3BalanceAfter) - BigInt(acc3BalanceBefore) ).toString(), - BigInt((0.23 * 1e18 * 80) / 100).toString() + BigInt(((0.25 - 0.02) * 1e18 * 80) / 100).toString() ); assert.equal( ( BigInt(acc4BalanceAfter) - BigInt(acc4BalanceBefore) ).toString(), - BigInt((0.23 * 1e18 * 20) / 100).toString() + BigInt(((0.25 - 0.02) * 1e18 * 20) / 100).toString() ); // Check vault contract balance assert.equal( BigInt(vaultBalanceAfter).toString(), - BigInt(0.25 * 1e18).toString() + BigInt((0.5 - 0.25) * 1e18).toString() ); } catch (err) { console.log(err);