From 18ebed3c5db781f25c6ae8147dbe9cc0302718e0 Mon Sep 17 00:00:00 2001 From: Amir Bandeali Date: Tue, 22 May 2018 09:57:03 -0700 Subject: Increase block gas limit --- packages/dev-utils/src/constants.ts | 2 +- packages/dev-utils/src/web3_factory.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3