diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-31 08:54:12 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-31 13:27:07 +0800 |
commit | a6d669453f9af7993bdd132862fa5d2da18a62f7 (patch) | |
tree | d1055e37ec01349334768f2fa843b67e02c74881 /packages/contracts/test | |
parent | 064608a8ef5c332e09fefaadd3b4c1155d4853c9 (diff) | |
download | dexon-0x-contracts-a6d669453f9af7993bdd132862fa5d2da18a62f7.tar dexon-0x-contracts-a6d669453f9af7993bdd132862fa5d2da18a62f7.tar.gz dexon-0x-contracts-a6d669453f9af7993bdd132862fa5d2da18a62f7.tar.bz2 dexon-0x-contracts-a6d669453f9af7993bdd132862fa5d2da18a62f7.tar.lz dexon-0x-contracts-a6d669453f9af7993bdd132862fa5d2da18a62f7.tar.xz dexon-0x-contracts-a6d669453f9af7993bdd132862fa5d2da18a62f7.tar.zst dexon-0x-contracts-a6d669453f9af7993bdd132862fa5d2da18a62f7.zip |
Pass in a provider and instantiate a new web3Wrapper in token_registry_wrapper
Diffstat (limited to 'packages/contracts/test')
-rw-r--r-- | packages/contracts/test/token_registry.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/test/token_registry.ts b/packages/contracts/test/token_registry.ts index 1cc519c53..9faa67e20 100644 --- a/packages/contracts/test/token_registry.ts +++ b/packages/contracts/test/token_registry.ts @@ -34,7 +34,7 @@ describe('TokenRegistry', () => { owner = accounts[0]; notOwner = accounts[1]; tokenReg = await TokenRegistryContract.deployFrom0xArtifactAsync(artifacts.TokenRegistry, provider, txDefaults); - tokenRegWrapper = new TokenRegWrapper(tokenReg); + tokenRegWrapper = new TokenRegWrapper(tokenReg, provider); }); beforeEach(async () => { await blockchainLifecycle.startAsync(); |