Skip to content

Commit

Permalink
feat(@embark/deployment): output transaction hash of contract deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
0x-r4bbit authored and iurimatias committed Dec 7, 2018
1 parent 5a375d9 commit 3099894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/modules/deployment/contract_deployer.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class ContractDeployer {
}
return next(new Error("error deploying =" + contract.className + "= due to error: " + error.message));
}
self.logFunction(contract)(contract.className.bold.cyan + " " + __("deployed at").green + " " + receipt.contractAddress.bold.cyan + " " + __("using").green + " " + receipt.gasUsed + " " + __("gas").green);
self.logFunction(contract)(`${contract.className.bold.cyan} ${__('deployed at').green} ${receipt.contractAddress.bold.cyan} ${__("using").green} ${receipt.gasUsed} ${__("gas").green} (txHash: ${receipt.transactionHash.bold.cyan})`);
contract.deployedAddress = receipt.contractAddress;
contract.transactionHash = receipt.transactionHash;
receipt.className = contract.className;
Expand Down

0 comments on commit 3099894

Please sign in to comment.