Signer info saving command modification (#36)

This commit is contained in:
Kithmini Gunawardhana
2024-04-03 09:31:35 +05:30
committed by GitHub
parent 670b280745
commit 4e87ee11f5
3 changed files with 4 additions and 4 deletions

View File

@@ -105,7 +105,7 @@ async function deploy(contractPath, options) {
signers.push(signerInfo);
const disparatePath = `${CONSTANTS.bundleMount}/${CONSTANTS.disparateDir}/${i + 1}`;
executeOnManagementContainer(`mkdir -p ${disparatePath} && echo '${JSON.stringify(signerInfo, null, 2).replace(/"/g, '\\"')}' > ${disparatePath}/${options.masterAddr}.key`);
executeOnManagementContainer(`mkdir -p ${disparatePath} && echo '${JSON.stringify(signerInfo).replace(/"/g, '\\"')}' | jq . > ${disparatePath}/${options.masterAddr}.key`);
}
await evernode.Defaults.useNetwork(appenv.network);

4
npm/package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "hpdevkit",
"version": "0.6.7",
"version": "0.6.8",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "hpdevkit",
"version": "0.6.7",
"version": "0.6.8",
"hasInstallScript": true,
"license": "SEE LICENSE IN https://raw.githubusercontent.com/EvernodeXRPL/evernode-resources/main/license/evernode-license.pdf",
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "hpdevkit",
"version": "0.6.7",
"version": "0.6.8",
"license": "SEE LICENSE IN https://raw.githubusercontent.com/EvernodeXRPL/evernode-resources/main/license/evernode-license.pdf",
"description": "Developer toolkit for HotPocket smart contract development",
"scripts": {