Skip to content

Commit

Permalink
fix: enable sourcemap logging for browser based scenarios
Browse files Browse the repository at this point in the history
Since algosdk sends requests with msgpack format hardcoded we need to output it in console as well allowing users to manually get the traces from browser to then debug with avm debug adapter extension
  • Loading branch information
aorumbayev committed Oct 25, 2024
1 parent cfa6518 commit 2f5a9b8
Show file tree
Hide file tree
Showing 15 changed files with 66 additions and 22 deletions.
10 changes: 5 additions & 5 deletions docs/code/classes/testing.TestLogger.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Logger.debug

#### Defined in

[src/testing/test-logger.ts:79](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L79)
[src/testing/test-logger.ts:93](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L93)

___

Expand All @@ -158,7 +158,7 @@ Logger.error

#### Defined in

[src/testing/test-logger.ts:63](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L63)
[src/testing/test-logger.ts:77](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L77)

___

Expand Down Expand Up @@ -219,7 +219,7 @@ Logger.info

#### Defined in

[src/testing/test-logger.ts:71](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L71)
[src/testing/test-logger.ts:85](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L85)

___

Expand All @@ -244,7 +244,7 @@ Logger.verbose

#### Defined in

[src/testing/test-logger.ts:75](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L75)
[src/testing/test-logger.ts:89](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L89)

___

Expand All @@ -269,4 +269,4 @@ Logger.warn

#### Defined in

[src/testing/test-logger.ts:67](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L67)
[src/testing/test-logger.ts:81](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L81)
2 changes: 1 addition & 1 deletion docs/code/classes/types_composer.default.md
Original file line number Diff line number Diff line change
Expand Up @@ -1209,4 +1209,4 @@ The binary encoded transaction note

#### Defined in

[src/types/composer.ts:1365](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/composer.ts#L1365)
[src/types/composer.ts:1370](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/composer.ts#L1370)
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Testing framework agnostic handler method to run after each test to reset the lo

#### Defined in

[src/types/testing.ts:114](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/testing.ts#L114)
[src/types/testing.ts:115](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/testing.ts#L115)

___

Expand All @@ -53,7 +53,7 @@ Testing framework agnostic handler method to run before each test to prepare the

#### Defined in

[src/types/testing.ts:110](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/testing.ts#L110)
[src/types/testing.ts:111](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/testing.ts#L111)

## Accessors

Expand All @@ -69,4 +69,4 @@ The test logger instance for the current test

#### Defined in

[src/types/testing.ts:106](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/testing.ts#L106)
[src/types/testing.ts:107](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/testing.ts#L107)
11 changes: 11 additions & 0 deletions docs/code/interfaces/types_testing.LogSnapshotConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This helps ensure that the provided configuration items won't appear

- [accounts](types_testing.LogSnapshotConfig.md#accounts)
- [apps](types_testing.LogSnapshotConfig.md#apps)
- [filterSimulateTrace](types_testing.LogSnapshotConfig.md#filtersimulatetrace)
- [transactions](types_testing.LogSnapshotConfig.md#transactions)

## Properties
Expand Down Expand Up @@ -42,6 +43,16 @@ Any app IDs to replace predictably

___

### filterSimulateTrace

`Optional` **filterSimulateTrace**: `boolean`

#### Defined in

[src/types/testing.ts:102](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/testing.ts#L102)

___

### transactions

`Optional` **transactions**: (`string` \| `Transaction`)[]
Expand Down
16 changes: 8 additions & 8 deletions docs/code/modules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ the estimated rate.

#### Defined in

[src/transaction/transaction.ts:879](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L879)
[src/transaction/transaction.ts:886](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L886)

___

Expand Down Expand Up @@ -621,7 +621,7 @@ Allows for control of fees on a `Transaction` or `SuggestedParams` object

#### Defined in

[src/transaction/transaction.ts:904](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L904)
[src/transaction/transaction.ts:911](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L911)

___

Expand Down Expand Up @@ -948,7 +948,7 @@ Converts `bigint`'s for Uint's < 64 to `number` for easier use.

#### Defined in

[src/transaction/transaction.ts:729](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L729)
[src/transaction/transaction.ts:736](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L736)

___

Expand Down Expand Up @@ -1931,7 +1931,7 @@ Returns the array of transactions currently present in the given `AtomicTransact

#### Defined in

[src/transaction/transaction.ts:940](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L940)
[src/transaction/transaction.ts:947](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L947)

___

Expand Down Expand Up @@ -2318,7 +2318,7 @@ Returns suggested transaction parameters from algod unless some are already prov

#### Defined in

[src/transaction/transaction.ts:929](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L929)
[src/transaction/transaction.ts:936](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L936)

___

Expand Down Expand Up @@ -2635,7 +2635,7 @@ Performs a dry run of the transactions loaded into the given AtomicTransactionCo

#### Defined in

[src/transaction/transaction.ts:755](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L755)
[src/transaction/transaction.ts:762](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L762)

___

Expand Down Expand Up @@ -2957,7 +2957,7 @@ Signs and sends a group of [up to 16](https://developer.algorand.org/docs/get-de

#### Defined in

[src/transaction/transaction.ts:775](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L775)
[src/transaction/transaction.ts:782](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L782)

___

Expand Down Expand Up @@ -3230,4 +3230,4 @@ Throws an error if the transaction is not confirmed or rejected in the next `tim

#### Defined in

[src/transaction/transaction.ts:820](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L820)
[src/transaction/transaction.ts:827](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/transaction/transaction.ts#L827)
3 changes: 2 additions & 1 deletion src/__snapshots__/app-deploy.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ INFO: Existing app test found by creator ACCOUNT_1, with app id APP_1 and versio
INFO: Detected a TEAL update in app APP_1 for creator ACCOUNT_1
WARN: App is not updatable but onUpdate=UpdateApp, will attempt to update app, update will most likely fail
INFO: Updating existing test app for ACCOUNT_1 to version 2.0.
ERROR: Received error executing Atomic Transaction Composer and debug flag enabled; attempting simulation to get more information | [{"cause":{"response":{"body":{"data":{"app-index":APP_1,"eval-states":[{"stack":[0]}],"group-index":0,"pc":948},"message":"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=948. Details: app=APP_1, pc=948, opcodes=assert; intc 4 // 0; assert"},"status":400,"text":"{\\"data\\":{\\"app-index\\":APP_1,\\"eval-states\\":[{\\"stack\\":[0]}],\\"group-index\\":0,\\"pc\\":948},\\"message\\":\\"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=948. Details: app=APP_1, pc=948, opcodes=assert; intc 4 // 0; assert\\"}\\n","ok":false},"name":"URLTokenBaseHTTPError","status":400},"response":{"body":{"data":{"app-index":APP_1,"eval-states":[{"stack":[0]}],"group-index":0,"pc":948},"message":"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=948. Details: app=APP_1, pc=948, opcodes=assert; intc 4 // 0; assert"},"status":400,"text":"{\\"data\\":{\\"app-index\\":APP_1,\\"eval-states\\":[{\\"stack\\":[0]}],\\"group-index\\":0,\\"pc\\":948},\\"message\\":\\"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=948. Details: app=APP_1, pc=948, opcodes=assert; intc 4 // 0; assert\\"}\\n","ok":false},"name":"URLTokenBaseHTTPError","traces":[]}]"
ERROR: Received error executing Atomic Transaction Composer and debug flag enabled; attempting simulation to get more information | [{"cause":{"response":{"body":{"data":{"app-index":APP_1,"eval-states":[{"stack":[0]}],"group-index":0,"pc":948},"message":"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=948. Details: app=APP_1, pc=948, opcodes=assert; intc 4 // 0; assert"},"status":400,"text":"{\\"data\\":{\\"app-index\\":APP_1,\\"eval-states\\":[{\\"stack\\":[0]}],\\"group-index\\":0,\\"pc\\":948},\\"message\\":\\"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=948. Details: app=APP_1, pc=948, opcodes=assert; intc 4 // 0; assert\\"}\\n","ok":false},"name":"URLTokenBaseHTTPError","status":400},"response":{"body":{"data":{"app-index":APP_1,"eval-states":[{"stack":[0]}],"group-index":0,"pc":948},"message":"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=948. Details: app=APP_1, pc=948, opcodes=assert; intc 4 // 0; assert"},"status":400,"text":"{\\"data\\":{\\"app-index\\":APP_1,\\"eval-states\\":[{\\"stack\\":[0]}],\\"group-index\\":0,\\"pc\\":948},\\"message\\":\\"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=948. Details: app=APP_1, pc=948, opcodes=assert; intc 4 // 0; assert\\"}\\n","ok":false},"name":"URLTokenBaseHTTPError","traces":[]}]
INFO: (Optional) Save content to your local file system to use with AlgoKit AVM Debugger."
`;

exports[`deploy-app Deploy update to updatable updated app 1`] = `
Expand Down
1 change: 1 addition & 0 deletions src/app-deploy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ describe('deploy-app', () => {
accounts: [testAccount],
transactions: [result1.transaction, logicError!.txId],
apps: [result1.appId],
filterSimulateTrace: true,
}),
).toMatchSnapshot()
}
Expand Down
18 changes: 16 additions & 2 deletions src/testing/test-logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,33 @@ export class TestLogger implements Logger {
* @returns The snapshotted logs.
*/
getLogSnapshot(config?: LogSnapshotConfig) {
const { transactions: transactionIds, accounts, apps } = config ?? {}
let snapshot = this.capturedLogs.join('\n')
const { transactions: transactionIds, accounts, apps, filterSimulateTrace } = config ?? {}

// Filter logs if needed
let logs = this.capturedLogs
if (filterSimulateTrace) {
logs = logs.filter((log) => !log.includes('eval-overrides'))
}

let snapshot = logs.join('\n')

// Replace transaction IDs
transactionIds?.forEach(
(txn, id) => (snapshot = snapshot.replace(new RegExp(typeof txn === 'string' ? txn : txn.txID(), 'g'), `TXID_${id + 1}`)),
)

// Replace account addresses
accounts?.forEach(
(sender, id) =>
(snapshot = snapshot.replace(
new RegExp(typeof sender === 'string' ? sender : 'addr' in sender ? sender.addr : sender.address(), 'g'),
`ACCOUNT_${id + 1}`,
)),
)

// Replace app IDs
apps?.forEach((app, id) => (snapshot = snapshot.replace(new RegExp(`\\b${app.toString()}\\b(?! bytes)`, 'g'), `APP_${id + 1}`)))

return snapshot
}

Expand Down
7 changes: 7 additions & 0 deletions src/transaction/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,10 @@ export const sendAtomicTransactionComposer = async function (atcSend: AtomicTran
if (Config.debug && Config.traceAll) {
// Dump the traces to a file for use with AlgoKit AVM debugger
const simulateResponse = await performAtomicTransactionComposerSimulate(atc, algod)

Config.logger.info('(Optional) Save content to your local file system to use with AlgoKit AVM Debugger.')
Config.logger.info(JSON.stringify(simulateResponse.get_obj_for_encoding(), null, 2))

await Config.events.emitAsync(EventType.TxnGroupSimulated, {
simulateResponse,
})
Expand Down Expand Up @@ -682,6 +686,9 @@ export const sendAtomicTransactionComposer = async function (atcSend: AtomicTran
const simulate = await performAtomicTransactionComposerSimulate(atc, algod)
if (Config.debug && !Config.traceAll) {
// Emit the event only if traceAll: false, as it should have already been emitted above
Config.logger.info('(Optional) Save content to your local file system to use with AlgoKit AVM Debugger.')
Config.logger.info(JSON.stringify(simulate.get_obj_for_encoding(), null, 2))

await Config.events.emitAsync(EventType.TxnGroupSimulated, {
simulateResponse: simulate,
})
Expand Down
3 changes: 2 additions & 1 deletion src/types/__snapshots__/app-client.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ exports[`application-client Errors Display nice error messages when there is a l
INFO: App TestingApp not found in apps created by ACCOUNT_1; deploying app with version 1.0.
VERBOSE: Sent transaction ID TXID_1 appl from ACCOUNT_1
DEBUG: App created by ACCOUNT_1 with ID APP_1 via transaction TXID_1
ERROR: Received error executing Atomic Transaction Composer and debug flag enabled; attempting simulation to get more information | [{"cause":{"response":{"body":{"data":{"app-index":APP_1,"eval-states":[{"stack":[0]}],"group-index":0,"pc":885},"message":"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert"},"status":400,"text":"{\\"data\\":{\\"app-index\\":APP_1,\\"eval-states\\":[{\\"stack\\":[0]}],\\"group-index\\":0,\\"pc\\":885},\\"message\\":\\"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert\\"}\\n","ok":false},"name":"URLTokenBaseHTTPError","status":400},"response":{"body":{"data":{"app-index":APP_1,"eval-states":[{"stack":[0]}],"group-index":0,"pc":885},"message":"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert"},"status":400,"text":"{\\"data\\":{\\"app-index\\":APP_1,\\"eval-states\\":[{\\"stack\\":[0]}],\\"group-index\\":0,\\"pc\\":885},\\"message\\":\\"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert\\"}\\n","ok":false},"name":"URLTokenBaseHTTPError","traces":[]}]"
ERROR: Received error executing Atomic Transaction Composer and debug flag enabled; attempting simulation to get more information | [{"cause":{"response":{"body":{"data":{"app-index":APP_1,"eval-states":[{"stack":[0]}],"group-index":0,"pc":885},"message":"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert"},"status":400,"text":"{\\"data\\":{\\"app-index\\":APP_1,\\"eval-states\\":[{\\"stack\\":[0]}],\\"group-index\\":0,\\"pc\\":885},\\"message\\":\\"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert\\"}\\n","ok":false},"name":"URLTokenBaseHTTPError","status":400},"response":{"body":{"data":{"app-index":APP_1,"eval-states":[{"stack":[0]}],"group-index":0,"pc":885},"message":"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert"},"status":400,"text":"{\\"data\\":{\\"app-index\\":APP_1,\\"eval-states\\":[{\\"stack\\":[0]}],\\"group-index\\":0,\\"pc\\":885},\\"message\\":\\"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert\\"}\\n","ok":false},"name":"URLTokenBaseHTTPError","traces":[]}]
INFO: (Optional) Save content to your local file system to use with AlgoKit AVM Debugger."
`;
3 changes: 2 additions & 1 deletion src/types/__snapshots__/app-factory-and-client.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ exports[`ARC32: app-factory-and-app-client Errors Display nice error messages wh
INFO: App TestingApp not found in apps created by ACCOUNT_1; deploying app with version 1.0.
VERBOSE: Sent transaction ID TXID_1 appl from ACCOUNT_1
DEBUG: App created by ACCOUNT_1 with ID APP_1 via transaction TXID_1
ERROR: Received error executing Atomic Transaction Composer and debug flag enabled; attempting simulation to get more information | [{"cause":{"response":{"body":{"data":{"app-index":APP_1,"eval-states":[{"stack":[0]}],"group-index":0,"pc":885},"message":"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert"},"status":400,"text":"{\\"data\\":{\\"app-index\\":APP_1,\\"eval-states\\":[{\\"stack\\":[0]}],\\"group-index\\":0,\\"pc\\":885},\\"message\\":\\"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert\\"}\\n","ok":false},"name":"URLTokenBaseHTTPError","status":400},"response":{"body":{"data":{"app-index":APP_1,"eval-states":[{"stack":[0]}],"group-index":0,"pc":885},"message":"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert"},"status":400,"text":"{\\"data\\":{\\"app-index\\":APP_1,\\"eval-states\\":[{\\"stack\\":[0]}],\\"group-index\\":0,\\"pc\\":885},\\"message\\":\\"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert\\"}\\n","ok":false},"name":"URLTokenBaseHTTPError","traces":[]}]"
ERROR: Received error executing Atomic Transaction Composer and debug flag enabled; attempting simulation to get more information | [{"cause":{"response":{"body":{"data":{"app-index":APP_1,"eval-states":[{"stack":[0]}],"group-index":0,"pc":885},"message":"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert"},"status":400,"text":"{\\"data\\":{\\"app-index\\":APP_1,\\"eval-states\\":[{\\"stack\\":[0]}],\\"group-index\\":0,\\"pc\\":885},\\"message\\":\\"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert\\"}\\n","ok":false},"name":"URLTokenBaseHTTPError","status":400},"response":{"body":{"data":{"app-index":APP_1,"eval-states":[{"stack":[0]}],"group-index":0,"pc":885},"message":"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert"},"status":400,"text":"{\\"data\\":{\\"app-index\\":APP_1,\\"eval-states\\":[{\\"stack\\":[0]}],\\"group-index\\":0,\\"pc\\":885},\\"message\\":\\"TransactionPool.Remember: transaction TXID_2: logic eval error: assert failed pc=885. Details: app=APP_1, pc=885, opcodes=proto 0 0; intc_0 // 0; assert\\"}\\n","ok":false},"name":"URLTokenBaseHTTPError","traces":[]}]
INFO: (Optional) Save content to your local file system to use with AlgoKit AVM Debugger."
`;
1 change: 1 addition & 0 deletions src/types/app-client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ describe('application-client', () => {
accounts: [testAccount],
transactions: app.operationPerformed === 'create' ? [app.transaction, e.led.txId] : [],
apps: [app.appId],
filterSimulateTrace: true,
}),
).toMatchSnapshot()
}
Expand Down
1 change: 1 addition & 0 deletions src/types/app-factory-and-client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ describe('ARC32: app-factory-and-app-client', () => {
accounts: [testAccount],
transactions: app.operationPerformed === 'create' ? [app.transaction, e.led.txId] : [],
apps: [app.appId],
filterSimulateTrace: true,
}),
).toMatchSnapshot()
}
Expand Down
Loading

0 comments on commit 2f5a9b8

Please sign in to comment.