BigNumber comparison improved (#1581)
* signing prefix added * Minor improvement * Successfully tested * Minor improvements * Minor improvements * Revert "Dangling commas are now required. (#1359)" This reverts commita6889776f4. * updates * fixes #1404 * approve failing test * suggested changes done * ISafeERC20 removed * conflict fixes * added examples * fixes #706 * linting * fixes #204 * file fixing * deep bignumber comparison removed * Update SafeERC20Helper.sol * Update IERC20.sol * Update SafeERC20.sol * Update package-lock.json * Revert "deep bignumber comparison removed" This reverts commit230b27214f.
This commit is contained in:
committed by
Francisco Giordano
parent
63ce358f30
commit
350aae09d2
@ -3,8 +3,8 @@ const MathMock = artifacts.require('MathMock');
|
||||
const { BigNumber } = require('../helpers/setup');
|
||||
|
||||
contract('Math', function () {
|
||||
const min = 1234;
|
||||
const max = 5678;
|
||||
const min = new BigNumber(1234);
|
||||
const max = new BigNumber(5678);
|
||||
|
||||
beforeEach(async function () {
|
||||
this.math = await MathMock.new();
|
||||
|
||||
Reference in New Issue
Block a user