@0x/contracts-integrations: Update ERC20BridgeSampler tests

This commit is contained in:
Lawrence Forman 2020-03-26 12:09:14 -04:00
parent 5029be4c83
commit 7775541eed
2 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,13 @@
[ [
{
"version": "2.5.2",
"changes": [
{
"note": "Update `ERC20BridgeSampler` tests",
"pr": 2531
}
]
},
{ {
"timestamp": 1583220306, "timestamp": 1583220306,
"version": "2.5.1", "version": "2.5.1",

View File

@ -1,5 +1,5 @@
import { artifacts, ERC20BridgeSamplerContract } from '@0x/contracts-erc20-bridge-sampler'; import { artifacts, ERC20BridgeSamplerContract } from '@0x/contracts-erc20-bridge-sampler';
import { blockchainTests, describe, expect, toBaseUnitAmount } from '@0x/contracts-test-utils'; import { blockchainTests, constants, describe, expect, toBaseUnitAmount } from '@0x/contracts-test-utils';
import { BigNumber } from '@0x/utils'; import { BigNumber } from '@0x/utils';
blockchainTests.fork.resets('Mainnet Sampler Tests', env => { blockchainTests.fork.resets('Mainnet Sampler Tests', env => {
@ -10,6 +10,7 @@ blockchainTests.fork.resets('Mainnet Sampler Tests', env => {
env.provider, env.provider,
{ ...env.txDefaults, from: '0x6cc5f688a315f3dc28a7781717a9a798a59fda7b' }, { ...env.txDefaults, from: '0x6cc5f688a315f3dc28a7781717a9a798a59fda7b' },
{}, {},
constants.NULL_ADDRESS,
); );
}); });