diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-05-30 02:22:57 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-05-31 08:11:31 +0800 |
commit | 8f2fd9b603f74aa8a44dc0e8c3b845d497f9b279 (patch) | |
tree | da8c19511a2f193a3ddd08f6ce86936ca1c0dbcd /packages/dev-utils/src/web3_factory.ts | |
parent | d625b65a095381c3fa8dd3192ee2115ee739cc07 (diff) | |
download | dexon-0x-contracts-8f2fd9b603f74aa8a44dc0e8c3b845d497f9b279.tar dexon-0x-contracts-8f2fd9b603f74aa8a44dc0e8c3b845d497f9b279.tar.gz dexon-0x-contracts-8f2fd9b603f74aa8a44dc0e8c3b845d497f9b279.tar.bz2 dexon-0x-contracts-8f2fd9b603f74aa8a44dc0e8c3b845d497f9b279.tar.lz dexon-0x-contracts-8f2fd9b603f74aa8a44dc0e8c3b845d497f9b279.tar.xz dexon-0x-contracts-8f2fd9b603f74aa8a44dc0e8c3b845d497f9b279.tar.zst dexon-0x-contracts-8f2fd9b603f74aa8a44dc0e8c3b845d497f9b279.zip |
Rename Signer to Wallet, rename GAS_ESTIMATE to GAS_LIMIT
Diffstat (limited to 'packages/dev-utils/src/web3_factory.ts')
-rw-r--r-- | packages/dev-utils/src/web3_factory.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/dev-utils/src/web3_factory.ts b/packages/dev-utils/src/web3_factory.ts index 98fccd835..c273035da 100644 --- a/packages/dev-utils/src/web3_factory.ts +++ b/packages/dev-utils/src/web3_factory.ts @@ -28,7 +28,7 @@ export const web3Factory = { if (!hasAddresses) { provider.addProvider(new EmptyWalletSubprovider()); } - provider.addProvider(new FakeGasEstimateSubprovider(constants.GAS_ESTIMATE)); + provider.addProvider(new FakeGasEstimateSubprovider(constants.GAS_LIMIT)); const logger = { log: (arg: any) => { fs.appendFileSync('ganache.log', `${arg}\n`); @@ -41,7 +41,7 @@ export const web3Factory = { } provider.addProvider( new GanacheSubprovider({ - gasLimit: constants.GAS_ESTIMATE, + gasLimit: constants.GAS_LIMIT, logger, verbose: env.parseBoolean(EnvVars.VerboseGanache), port: 8545, |