Skip to content

LogSnapshotConfig

@algorandfoundation/algokit-utils / types/testing / LogSnapshotConfig

types/testing.LogSnapshotConfig

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 | MultisigAccount | default | SigningAccount | Address | TransactionSignerAccount | LogicSigAccount)[]

Any accounts/addresses to replace the address for predictably

src/types/testing.ts:141


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

Any app IDs to replace predictably

src/types/testing.ts:143


Optional filterPredicate: (log: string) => boolean

Optional filter predicate to filter out logs

▸ (log): boolean

NameType
logstring

boolean

src/types/testing.ts:145


Optional transactions: (string | Transaction)[]

Any transaction IDs or transactions to replace the ID for predictably

src/types/testing.ts:139