Skip to content

Commit

Permalink
Merge pull request #977 from permaweb/jfrain99/remove-ao-spawn-success
Browse files Browse the repository at this point in the history
chore(mu): remove ao-spawn-sucess from mu #926
  • Loading branch information
jfrain99 authored Aug 28, 2024
2 parents b16381e + 05f7bcc commit e316872
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
8 changes: 1 addition & 7 deletions servers/mu/src/domain/lib/build-success-tx.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@ export function buildSuccessTxWith ({ buildAndSign, logger }) {
* by an aos Handler
*/
{ name: 'Process', value: ctx.processTx },
{ name: 'Action', value: 'Spawned' },
/**
* The id of the newly spawned Process
*
* TODO: Maybe be able to remove later, kept for backwards compat.
*/
{ name: 'AO-Spawn-Success', value: ctx.processTx }
{ name: 'Action', value: 'Spawned' }
]))
.chain(fromPromise((tags) => buildAndSign({
processId: ctx.cachedSpawn.processId,
Expand Down
3 changes: 1 addition & 2 deletions servers/mu/src/domain/lib/build-success-tx.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ describe('buildSuccessTx', () => {
{ name: 'Variant', value: 'ao.TN.1' },
{ name: 'Type', value: 'Message' },
{ name: 'Process', value: 'pid-2' },
{ name: 'Action', value: 'Spawned' },
{ name: 'AO-Spawn-Success', value: 'pid-2' }
{ name: 'Action', value: 'Spawned' }
]
)
return {
Expand Down

0 comments on commit e316872

Please sign in to comment.