aboutsummaryrefslogtreecommitdiffstats
path: root/packages/testnet-faucets
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-17 02:15:17 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-17 02:15:17 +0800
commitdbf5be6c217b49c4b768a9ea9969d44d70fb3dcc (patch)
treea93d0d6864c3e0f37c2663a6ba9ae0d3e7813fe9 /packages/testnet-faucets
parentd268e19124f086128aa293c5fe847f81891f7121 (diff)
parent72f5719b3412da7840a7b85e4dce512ecbaece4d (diff)
downloaddexon-sol-tools-dbf5be6c217b49c4b768a9ea9969d44d70fb3dcc.tar
dexon-sol-tools-dbf5be6c217b49c4b768a9ea9969d44d70fb3dcc.tar.gz
dexon-sol-tools-dbf5be6c217b49c4b768a9ea9969d44d70fb3dcc.tar.bz2
dexon-sol-tools-dbf5be6c217b49c4b768a9ea9969d44d70fb3dcc.tar.lz
dexon-sol-tools-dbf5be6c217b49c4b768a9ea9969d44d70fb3dcc.tar.xz
dexon-sol-tools-dbf5be6c217b49c4b768a9ea9969d44d70fb3dcc.tar.zst
dexon-sol-tools-dbf5be6c217b49c4b768a9ea9969d44d70fb3dcc.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/move-features-over-from-zrx-buyer
Diffstat (limited to 'packages/testnet-faucets')
-rw-r--r--packages/testnet-faucets/src/ts/handler.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/testnet-faucets/src/ts/handler.ts b/packages/testnet-faucets/src/ts/handler.ts
index be42ebde8..5cc52e489 100644
--- a/packages/testnet-faucets/src/ts/handler.ts
+++ b/packages/testnet-faucets/src/ts/handler.ts
@@ -65,7 +65,10 @@ export class Handler {
const web3Wrapper = new Web3Wrapper(providerObj);
// tslint:disable-next-line:custom-no-magic-numbers
const networkId = parseInt(networkIdString, 10);
- const contractWrappers = new ContractWrappers(providerObj, { networkId });
+ const contractWrappersConfig = {
+ networkId,
+ };
+ const contractWrappers = new ContractWrappers(providerObj, contractWrappersConfig);
const dispatchQueue = new DispatchQueue();
this._networkConfigByNetworkId[networkId] = {
dispatchQueue,
@@ -172,7 +175,7 @@ export class Handler {
makerAssetData,
takerAssetData,
salt: generatePseudoRandomSalt(),
- exchangeAddress: networkConfig.contractWrappers.exchange.getContractAddress(),
+ exchangeAddress: networkConfig.contractWrappers.exchange.address,
feeRecipientAddress: NULL_ADDRESS,
senderAddress: NULL_ADDRESS,
// tslint:disable-next-line:custom-no-magic-numbers