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.

Table of contents

Properties

Properties

accounts

Optional accounts: (string | MultisigAccount | default | SigningAccount | Address | TransactionSignerAccount | LogicSigAccount)[]

Any accounts/addresses to replace the address for predictably

Defined in

src/types/testing.ts:141


apps

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

Any app IDs to replace predictably

Defined in

src/types/testing.ts:143


filterPredicate

Optional filterPredicate: (log: string) => boolean

Optional filter predicate to filter out logs

Type declaration

▸ (log): boolean

Parameters
NameType
logstring
Returns

boolean

Defined in

src/types/testing.ts:145


transactions

Optional transactions: (string | Transaction)[]

Any transaction IDs or transactions to replace the ID for predictably

Defined in

src/types/testing.ts:139