From 2f4cc80e2ac888d16fb63672e68b04d17948bab7 Mon Sep 17 00:00:00 2001 From: Peng Wang Date: Fri, 24 Nov 2017 13:08:41 -0800 Subject: [PATCH] Fix 'Error: exceeds block gas limit' when running 'truffle migrate' --- truffle.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/truffle.js b/truffle.js index 2491c7c..71719f7 100644 --- a/truffle.js +++ b/truffle.js @@ -3,7 +3,8 @@ module.exports = { development: { host: "localhost", port: 8545, - network_id: "*" // Match any network id + network_id: "*", // Match any network id + gas: 4600000 } } };