mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-27 12:50:43 +00:00
feat(@embark/deployment): output transaction hash of contract deployment
This commit is contained in:
parent
5a375d9a5e
commit
3099894ed7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user