aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/deploy/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-09 01:23:44 +0800
committerFabio Berger <me@fabioberger.com>2017-12-09 01:23:44 +0800
commitd5757499bc0f828fbf86ffea2da8ad3941f1c33e (patch)
tree6f429e6f2b3050de6dd7ce16e42c7f387bd5018a /packages/contracts/deploy/test
parent139c8c2e783ffbbf22473604419fe3e5b299be0e (diff)
parentaf8d24d0eb5af781f4731b5559979f2b02579785 (diff)
downloaddexon-sol-tools-d5757499bc0f828fbf86ffea2da8ad3941f1c33e.tar.gz
dexon-sol-tools-d5757499bc0f828fbf86ffea2da8ad3941f1c33e.tar.zst
dexon-sol-tools-d5757499bc0f828fbf86ffea2da8ad3941f1c33e.zip
Merge branch 'feature/addSubproviders' into feature/portal-ledger-support
* feature/addSubproviders: remove console.log Update README.md Fix unit test Add missing params Debug CircleCi failure Update yarn.lock Inline network module Add todo Stop supporting different file extensions in abi-gen Refactor networkId out of web3Wrapper Update connect types in preperation for publishing Add link to random id generator Remove `prebuild` command and add `test:circleci` Fix CI command Address feedback Refactor web3Wrapper to a separate package
Diffstat (limited to 'packages/contracts/deploy/test')
-rw-r--r--packages/contracts/deploy/test/deploy_test.ts2
-rw-r--r--packages/contracts/deploy/test/util/constants.ts4
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/contracts/deploy/test/deploy_test.ts b/packages/contracts/deploy/test/deploy_test.ts
index 28cbd4586..7e7b98f90 100644
--- a/packages/contracts/deploy/test/deploy_test.ts
+++ b/packages/contracts/deploy/test/deploy_test.ts
@@ -19,7 +19,7 @@ const compilerOpts: CompilerOptions = {
optimizerEnabled: constants.optimizerEnabled,
};
const compiler = new Compiler(compilerOpts);
-const deployerOpts: DeployerOptions = {
+const deployerOpts = {
artifactsDir,
networkId: constants.networkId,
jsonrpcPort: constants.jsonrpcPort,
diff --git a/packages/contracts/deploy/test/util/constants.ts b/packages/contracts/deploy/test/util/constants.ts
index 226c5a205..a2de44b63 100644
--- a/packages/contracts/deploy/test/util/constants.ts
+++ b/packages/contracts/deploy/test/util/constants.ts
@@ -1,8 +1,10 @@
+import {BigNumber} from 'bignumber.js';
+
export const constants = {
networkId: 0,
jsonrpcPort: 8545,
optimizerEnabled: 0,
- gasPrice: '20000000000',
+ gasPrice: new BigNumber(20000000000),
timeoutMs: 12000,
zrxTokenAddress: '0xe41d2489571d322189246dafa5ebde1f4699f498',
tokenTransferProxyAddress: '0x8da0d80f5007ef1e431dd2127178d224e32c2ef4',