Skip to content

LogSnapshotConfig

Defined in: src/testing/types.ts:140

Configuration for preparing a captured log snapshot. This helps ensure that the provided configuration items won’t appear with random values in the log snapshot, but rather will get substituted with predictable ids.

optional accounts: (string | Address | MultisigAccount | AddressWithTransactionSigner | LogicSigAccount)[]

Defined in: src/testing/types.ts:144

Any accounts/addresses to replace the address for predictably


optional apps: (string | number | bigint)[]

Defined in: src/testing/types.ts:146

Any app IDs to replace predictably


optional filterPredicate: (log) => boolean

Defined in: src/testing/types.ts:148

Optional filter predicate to filter out logs

string

boolean


optional transactions: (string | Transaction)[]

Defined in: src/testing/types.ts:142

Any transaction IDs or transactions to replace the ID for predictably