Remove moved RevertErrors
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { blockchainTests, constants, expect, filterLogsToArguments } from '@0x/contracts-test-utils';
|
||||
import { AuthorizableRevertErrors } from '@0x/contracts-utils';
|
||||
import { BigNumber, StringRevertError } from '@0x/utils';
|
||||
import { BigNumber, StakingRevertErrors, StringRevertError } from '@0x/utils';
|
||||
|
||||
import { constants as stakingConstants } from '../src/constants';
|
||||
import StakingRevertErrors = require('../src/staking_revert_errors');
|
||||
|
||||
import { artifacts } from './artifacts';
|
||||
import {
|
||||
|
@@ -1,9 +1,9 @@
|
||||
import { ERC20Wrapper } from '@0x/contracts-asset-proxy';
|
||||
import { blockchainTests, constants, expect } from '@0x/contracts-test-utils';
|
||||
import { StakingRevertErrors } from '@0x/utils';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import { constants as stakingConstants } from '../src/constants';
|
||||
import StakingRevertErrors = require('../src/staking_revert_errors');
|
||||
|
||||
import { MakerActor } from './actors/maker_actor';
|
||||
import { PoolOperatorActor } from './actors/pool_operator_actor';
|
||||
|
@@ -1,9 +1,8 @@
|
||||
import { ERC20Wrapper } from '@0x/contracts-asset-proxy';
|
||||
import { blockchainTests, constants, describe, expect, shortZip } from '@0x/contracts-test-utils';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { BigNumber, StakingRevertErrors } from '@0x/utils';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import StakingRevertErrors = require('../src/staking_revert_errors');
|
||||
import { DelegatorsByPoolId, OperatorByPoolId, StakeInfo, StakeStatus } from '../src/types';
|
||||
|
||||
import { FinalizerActor } from './actors/finalizer_actor';
|
||||
|
@@ -1,9 +1,8 @@
|
||||
import { ERC20Wrapper } from '@0x/contracts-asset-proxy';
|
||||
import { blockchainTests, describe } from '@0x/contracts-test-utils';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { BigNumber, StakingRevertErrors } from '@0x/utils';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import StakingRevertErrors = require('../src/staking_revert_errors');
|
||||
import { StakeInfo, StakeStatus } from '../src/types';
|
||||
|
||||
import { StakerActor } from './actors/staker_actor';
|
||||
|
@@ -2,7 +2,7 @@ import { blockchainTests, expect } from '@0x/contracts-test-utils';
|
||||
import { AuthorizableRevertErrors } from '@0x/contracts-utils';
|
||||
import { LogWithDecodedArgs, TransactionReceiptWithDecodedLogs } from 'ethereum-types';
|
||||
|
||||
import StakingRevertErrors = require('../../src/staking_revert_errors');
|
||||
import { StakingRevertErrors } from '../../src';
|
||||
|
||||
import { artifacts } from '../artifacts';
|
||||
import {
|
||||
|
@@ -11,8 +11,8 @@ import { BigNumber } from '@0x/utils';
|
||||
import { LogEntry } from 'ethereum-types';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import { StakingRevertErrors } from '../../src';
|
||||
import { constants as stakingConstants } from '../../src/constants';
|
||||
import StakingRevertErrors = require('../../src/staking_revert_errors');
|
||||
|
||||
import { artifacts } from '../artifacts';
|
||||
import { assertIntegerRoughlyEquals, getRandomInteger, toBaseUnitAmount } from '../utils/number_utils';
|
||||
|
@@ -3,7 +3,7 @@ import { BigNumber } from '@0x/utils';
|
||||
import { Decimal } from 'decimal.js';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import FixedMathRevertErrors = require('../../src/fixed_math_revert_errors');
|
||||
import { FixedMathRevertErrors } from '../../src';
|
||||
import { assertRoughlyEquals, fromFixed, toDecimal, toFixed } from '../utils/number_utils';
|
||||
|
||||
import { artifacts } from '../artifacts';
|
||||
|
@@ -2,8 +2,8 @@ import { blockchainTests, constants, expect, verifyEventsFromLogs } from '@0x/co
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { LogWithDecodedArgs } from 'ethereum-types';
|
||||
|
||||
import { StakingRevertErrors } from '../../src';
|
||||
import { constants as stakingConstants } from '../../src/constants';
|
||||
import StakingRevertErrors = require('../../src/staking_revert_errors');
|
||||
|
||||
import { artifacts } from '../artifacts';
|
||||
import {
|
||||
|
@@ -11,7 +11,7 @@ import { BigNumber } from '@0x/utils';
|
||||
import { LogEntry } from 'ethereum-types';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import StakingRevertErrors = require('../../src/staking_revert_errors');
|
||||
import { StakingRevertErrors } from '../../src';
|
||||
|
||||
import { artifacts } from '../artifacts';
|
||||
import {
|
||||
|
@@ -12,7 +12,7 @@ import {
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import StakingRevertErrors = require('../../src/staking_revert_errors');
|
||||
import { StakingRevertErrors } from '../../src';
|
||||
import { StakeStatus } from '../../src/types';
|
||||
|
||||
import { artifacts } from '../artifacts';
|
||||
|
@@ -11,8 +11,8 @@ import {
|
||||
TestStakingProxyUnitContract,
|
||||
} from '../wrappers';
|
||||
|
||||
import { StakingRevertErrors } from '../../src';
|
||||
import { constants as stakingConstants } from '../../src/constants';
|
||||
import StakingRevertErrors = require('../../src/staking_revert_errors');
|
||||
|
||||
blockchainTests.resets('StakingProxy unit tests', env => {
|
||||
const testString = 'Hello, World!';
|
||||
|
@@ -13,8 +13,8 @@ import { RevertReason } from '@0x/types';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import { TransactionReceiptWithDecodedLogs } from 'ethereum-types';
|
||||
|
||||
import { StakingRevertErrors } from '../../src';
|
||||
import { constants as stakingConstants } from '../../src/constants';
|
||||
import StakingRevertErrors = require('../../src/staking_revert_errors');
|
||||
|
||||
import { artifacts } from '../artifacts';
|
||||
import {
|
||||
|
Reference in New Issue
Block a user