Remove moved RevertErrors
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
import { blockchainTests, constants, expect } from '@0x/contracts-test-utils';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { AuthorizableRevertErrors, BigNumber, OwnableRevertErrors } from '@0x/utils';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import AuthorizableRevertErrors = require('../src/authorizable_revert_errors');
|
||||
import OwnableRevertErrors = require('../src/ownable_revert_errors');
|
||||
|
||||
import { artifacts } from './artifacts';
|
||||
import { TestAuthorizableContract } from './wrappers';
|
||||
|
||||
|
@@ -1,11 +1,9 @@
|
||||
import { chaiSetup, provider, randomAddress, txDefaults, web3Wrapper } from '@0x/contracts-test-utils';
|
||||
import { BlockchainLifecycle } from '@0x/dev-utils';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { BigNumber, LibAddressArrayRevertErrors } from '@0x/utils';
|
||||
import * as chai from 'chai';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import LibAddressArrayRevertErrors = require('../src/lib_address_array_revert_errors');
|
||||
|
||||
import { artifacts } from './artifacts';
|
||||
import { TestLibAddressArrayContract } from './wrappers';
|
||||
|
||||
|
@@ -1,11 +1,9 @@
|
||||
import { blockchainTests, constants, expect } from '@0x/contracts-test-utils';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { BigNumber, LibBytesRevertErrors } from '@0x/utils';
|
||||
import BN = require('bn.js');
|
||||
import * as ethUtil from 'ethereumjs-util';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import LibBytesRevertErrors = require('../src/lib_bytes_revert_errors');
|
||||
|
||||
import { artifacts } from './artifacts';
|
||||
import { TestLibBytesContract } from './wrappers';
|
||||
|
||||
|
@@ -1,9 +1,8 @@
|
||||
import { blockchainTests, constants, describe, expect } from '@0x/contracts-test-utils';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { BigNumber, SafeMathRevertErrors } from '@0x/utils';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import * as ReferenceFunctions from '../src/reference_functions';
|
||||
import SafeMathRevertErrors = require('../src/safe_math_revert_errors');
|
||||
|
||||
import { artifacts } from './artifacts';
|
||||
import { TestLibSafeMathContract } from './wrappers';
|
||||
|
@@ -1,6 +1,5 @@
|
||||
import { blockchainTests, constants, expect, filterLogsToArguments } from '@0x/contracts-test-utils';
|
||||
|
||||
import OwnableRevertErrors = require('../src/ownable_revert_errors');
|
||||
import { OwnableRevertErrors } from '@0x/utils';
|
||||
|
||||
import { artifacts } from './artifacts';
|
||||
import { IOwnableEvents, IOwnableOwnershipTransferredEventArgs, TestOwnableContract } from './wrappers';
|
||||
|
@@ -3,7 +3,7 @@ import { BlockchainLifecycle } from '@0x/dev-utils';
|
||||
import * as chai from 'chai';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import ReentrancyGuardRevertErrors = require('../src/reentrancy_guard_revert_errors');
|
||||
import { ReentrancyGuardRevertErrors } from '@0x/utils';
|
||||
|
||||
import { artifacts } from './artifacts';
|
||||
import { TestReentrancyGuardContract } from './wrappers';
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { constants, describe, expect } from '@0x/contracts-test-utils';
|
||||
import { SafeMathRevertErrors } from '@0x/utils';
|
||||
|
||||
import { safeAdd, safeDiv, safeMul, safeSub } from '../src/reference_functions';
|
||||
import SafeMathRevertErrors = require('../src/safe_math_revert_errors');
|
||||
|
||||
describe('Reference Functions', () => {
|
||||
const { ONE_ETHER, MAX_UINT256, ZERO_AMOUNT } = constants;
|
||||
|
Reference in New Issue
Block a user