We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a1828f commit 90a1f8cCopy full SHA for 90a1f8c
lib/deploy.js
@@ -90,6 +90,17 @@ Deploy.prototype.deploy_contracts = function(env) {
90
}
91
92
var contractAddress = receipt.contractAddress;
93
+
94
+ if (web3.eth.getCode(contractAddress) === "0x") {
95
+ console.log("=========");
96
+ console.log("contract was deployed at " + contractAddress + " but doesn't seem to be working");
97
+ console.log("try adjusting your gas values");
98
99
+ }
100
+ else {
101
+ console.log("deployed " + className + " at " + contractAddress);
102
103
104
this.deployedContracts[className] = contractAddress;
105
106
console.log("deployed " + className + " at " + contractAddress);
0 commit comments