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
apps
• Optional
apps: (string
| number
| bigint
)[]
Any app IDs to replace predictably
Defined in
filterPredicate
• Optional
filterPredicate: (log
: string
) => boolean
Optional filter predicate to filter out logs
Type declaration
▸ (log
): boolean
Parameters
Name | Type |
---|---|
log | string |
Returns
boolean
Defined in
transactions
• Optional
transactions: (string
| Transaction
)[]
Any transaction IDs or transactions to replace the ID for predictably