@0x/contracts-asset-proxy: Rebase and use @0x/types.AssetProxyId.

This commit is contained in:
Lawrence Forman 2019-09-30 17:13:15 -07:00
parent bb87c8e7b5
commit 35daecd5ae

View File

@ -10,6 +10,7 @@ import {
randomAddress, randomAddress,
TransactionHelper, TransactionHelper,
} from '@0x/contracts-test-utils'; } from '@0x/contracts-test-utils';
import { AssetProxyId } from '@0x/types';
import { BigNumber } from '@0x/utils'; import { BigNumber } from '@0x/utils';
import { DecodedLogs } from 'ethereum-types'; import { DecodedLogs } from 'ethereum-types';
import * as _ from 'lodash'; import * as _ from 'lodash';
@ -123,7 +124,7 @@ blockchainTests.resets.only('Eth2DaiBridge unit tests', env => {
} }
it('returns magic bytes on success', async () => { it('returns magic bytes on success', async () => {
const BRIDGE_SUCCESS_RETURN_DATA = '0xdc1600f3'; const BRIDGE_SUCCESS_RETURN_DATA = AssetProxyId.ERC20Bridge;
const { result } = await withdrawToAsync(); const { result } = await withdrawToAsync();
expect(result).to.eq(BRIDGE_SUCCESS_RETURN_DATA); expect(result).to.eq(BRIDGE_SUCCESS_RETURN_DATA);
}); });