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
Section titled “Table of contents”Properties
Section titled “Properties”Properties
Section titled “Properties”accounts
Section titled “accounts”• Optional accounts: (string | MultisigAccount | default | SigningAccount | Address | TransactionSignerAccount | LogicSigAccount)[]
Any accounts/addresses to replace the address for predictably
Defined in
Section titled “Defined in”• Optional apps: (string | number | bigint)[]
Any app IDs to replace predictably
Defined in
Section titled “Defined in”filterPredicate
Section titled “filterPredicate”• Optional filterPredicate: (log: string) => boolean
Optional filter predicate to filter out logs
Type declaration
Section titled “Type declaration”▸ (log): boolean
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
log | string |
Returns
Section titled “Returns”boolean
Defined in
Section titled “Defined in”transactions
Section titled “transactions”• Optional transactions: (string | Transaction)[]
Any transaction IDs or transactions to replace the ID for predictably