aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-utils
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-05-23 00:57:03 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-05-31 08:11:30 +0800
commit18ebed3c5db781f25c6ae8147dbe9cc0302718e0 (patch)
treed0edf49fd80811b991ad8d8e9cf6b7b09d1a6011 /packages/dev-utils
parent822e319efea9c862702ddf589eb2344ff02e5bc5 (diff)
downloaddexon-sol-tools-18ebed3c5db781f25c6ae8147dbe9cc0302718e0.tar
dexon-sol-tools-18ebed3c5db781f25c6ae8147dbe9cc0302718e0.tar.gz
dexon-sol-tools-18ebed3c5db781f25c6ae8147dbe9cc0302718e0.tar.bz2
dexon-sol-tools-18ebed3c5db781f25c6ae8147dbe9cc0302718e0.tar.lz
dexon-sol-tools-18ebed3c5db781f25c6ae8147dbe9cc0302718e0.tar.xz
dexon-sol-tools-18ebed3c5db781f25c6ae8147dbe9cc0302718e0.tar.zst
dexon-sol-tools-18ebed3c5db781f25c6ae8147dbe9cc0302718e0.zip
Increase block gas limit
Diffstat (limited to 'packages/dev-utils')
-rw-r--r--packages/dev-utils/src/constants.ts2
-rw-r--r--packages/dev-utils/src/web3_factory.ts1
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/dev-utils/src/constants.ts b/packages/dev-utils/src/constants.ts
index 05bcc1638..48efd62cc 100644
--- a/packages/dev-utils/src/constants.ts
+++ b/packages/dev-utils/src/constants.ts
@@ -1,6 +1,6 @@
export const constants = {
RPC_URL: 'http://localhost:8545',
RPC_PORT: 8545,
- GAS_ESTIMATE: 5000000,
+ GAS_ESTIMATE: 8000000,
TESTRPC_FIRST_ADDRESS: '0x5409ed021d9299bf6814279a6a1411a7e866a631',
};
diff --git a/packages/dev-utils/src/web3_factory.ts b/packages/dev-utils/src/web3_factory.ts
index 5b32d3930..98fccd835 100644
--- a/packages/dev-utils/src/web3_factory.ts
+++ b/packages/dev-utils/src/web3_factory.ts
@@ -41,6 +41,7 @@ export const web3Factory = {
}
provider.addProvider(
new GanacheSubprovider({
+ gasLimit: constants.GAS_ESTIMATE,
logger,
verbose: env.parseBoolean(EnvVars.VerboseGanache),
port: 8545,