Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Dec 18, 2024
1 parent b85e97e commit e23d803
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/createVault.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ const createVault = async (containerName, agoricNet, commandTimeout, userKey, wa

try {
console.log(`Executing: ${executeCreateVaultCommand}`);
const { stdout: createVaultOutput } = await execa.command(executeCreateVaultCommand);
const { stdout: createVaultOutput } = await execa(executeCreateVaultCommand);
console.log('Vault creation output:', createVaultOutput);

console.log('Executing broadcast command...');
const broadcastCommand = `timeout ${commandTimeout} ${agops} perf satisfaction --executeOffer /tmp/want-ist.json --from ${userKey} --keyring-backend=test`;
const executeBroadcastCommand = `docker exec ${containerName} bash -c "env AGORIC_NET=${agoricNet} ${broadcastCommand}"`;

const { stdout: broadcastOutput } = await execa.command(executeBroadcastCommand);
const { stdout: broadcastOutput } = await execa(executeBroadcastCommand);
console.log('Broadcast output:', broadcastOutput);
} catch (error) {
console.error('Error during vault creation:', error);
Expand Down

0 comments on commit e23d803

Please sign in to comment.