git.delta.rocks / unique-network / refs/commits / fa4a1bb25304

difftreelog

test increase eth target fee tolerance

Yaroslav Bolyukin2022-03-01parent: #4d2b99d.patch.diff
in: master

1 file changed

modifiedtests/src/eth/base.test.tsdiffbeforeafterboth
3939
40 const fee = Number(cost) / Number(UNIQUE);40 const fee = Number(cost) / Number(UNIQUE);
41 const expectedFee = 0.15;41 const expectedFee = 0.15;
42 const tolerance = 0.00001;42 const tolerance = 0.00002;
4343
44 expect(Math.abs(fee - expectedFee)).to.be.lessThan(tolerance);44 expect(Math.abs(fee - expectedFee)).to.be.lessThan(tolerance);
45 });45 });