genlayer 0.35.0 → 0.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20078,7 +20078,7 @@ var require_cli_table3 = __commonJS({
|
|
|
20078
20078
|
import { program } from "commander";
|
|
20079
20079
|
|
|
20080
20080
|
// package.json
|
|
20081
|
-
var version = "0.35.
|
|
20081
|
+
var version = "0.35.1";
|
|
20082
20082
|
var package_default = {
|
|
20083
20083
|
name: "genlayer",
|
|
20084
20084
|
version,
|
|
@@ -54913,9 +54913,11 @@ var DeployAction = class extends BaseAction {
|
|
|
54913
54913
|
status: TransactionStatus.ACCEPTED
|
|
54914
54914
|
});
|
|
54915
54915
|
this.log("Deployment Receipt:", result);
|
|
54916
|
+
const contractAddress = result.data?.contract_address ?? // localnet/studio
|
|
54917
|
+
result.txDataDecoded?.contractAddress;
|
|
54916
54918
|
this.succeedSpinner("Contract deployed successfully.", {
|
|
54917
54919
|
"Transaction Hash": hash3,
|
|
54918
|
-
"Contract Address":
|
|
54920
|
+
"Contract Address": contractAddress
|
|
54919
54921
|
});
|
|
54920
54922
|
} catch (error) {
|
|
54921
54923
|
this.failSpinner("Error deploying contract", error);
|