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.
Properties
Section titled “Properties”accounts?
Section titled “accounts?”
optionalaccounts: (string|Address|MultisigAccount|AddressWithTransactionSigner|LogicSigAccount)[]
Defined in: src/testing/types.ts:144
Any accounts/addresses to replace the address for predictably
optionalapps: (string|number|bigint)[]
Defined in: src/testing/types.ts:146
Any app IDs to replace predictably
filterPredicate()?
Section titled “filterPredicate()?”
optionalfilterPredicate: (log) =>boolean
Defined in: src/testing/types.ts:148
Optional filter predicate to filter out logs
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
transactions?
Section titled “transactions?”
optionaltransactions: (string|Transaction)[]
Defined in: src/testing/types.ts:142
Any transaction IDs or transactions to replace the ID for predictably