Skip to content

Commit

Permalink
chore(evolve): update script to return the ID
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler authored and dtfiedler committed Aug 5, 2024
1 parent 88d5413 commit d89917e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/evolve.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ const wallet = JSON.parse(process.env.WALLET);
const signer = createAoSigner(new ArweaveSigner(wallet));
const networkProcess = new AOProcess({ processId });

const evolveResult = await networkProcess.send({
const { id } = await networkProcess.send({
tags: [{ name: 'Action', value: 'Eval' }],
data: constants.BUNDLED_AOS_LUA,
signer,
});
console.log(`Evolve result: ${evolveResult}`);
console.log(`Evolve result tx: ${id}`);

0 comments on commit d89917e

Please sign in to comment.