From 7775541eed0b965006f663f55a900d7e3ce8ffda Mon Sep 17 00:00:00 2001 From: Lawrence Forman Date: Thu, 26 Mar 2020 12:09:14 -0400 Subject: [PATCH] `@0x/contracts-integrations`: Update `ERC20BridgeSampler` tests --- contracts/integrations/CHANGELOG.json | 9 +++++++++ .../test/bridge_sampler/bridge_sampler_mainnet_test.ts | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/contracts/integrations/CHANGELOG.json b/contracts/integrations/CHANGELOG.json index 8755b0ee48..8f92bfe090 100644 --- a/contracts/integrations/CHANGELOG.json +++ b/contracts/integrations/CHANGELOG.json @@ -1,4 +1,13 @@ [ + { + "version": "2.5.2", + "changes": [ + { + "note": "Update `ERC20BridgeSampler` tests", + "pr": 2531 + } + ] + }, { "timestamp": 1583220306, "version": "2.5.1", diff --git a/contracts/integrations/test/bridge_sampler/bridge_sampler_mainnet_test.ts b/contracts/integrations/test/bridge_sampler/bridge_sampler_mainnet_test.ts index 171c2fd666..d0c4f108cc 100644 --- a/contracts/integrations/test/bridge_sampler/bridge_sampler_mainnet_test.ts +++ b/contracts/integrations/test/bridge_sampler/bridge_sampler_mainnet_test.ts @@ -1,5 +1,5 @@ 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'; blockchainTests.fork.resets('Mainnet Sampler Tests', env => { @@ -10,6 +10,7 @@ blockchainTests.fork.resets('Mainnet Sampler Tests', env => { env.provider, { ...env.txDefaults, from: '0x6cc5f688a315f3dc28a7781717a9a798a59fda7b' }, {}, + constants.NULL_ADDRESS, ); });