Skip to content

Commit

Permalink
fix: add numLogs to txn-fields to fix unsupported member access error
Browse files Browse the repository at this point in the history
  • Loading branch information
boblat committed Jan 20, 2025
1 parent 2b456a6 commit 15cb7cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/awst_build/eb/transactions/txn-fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@ export const applicationCallTxnFields = {
* The id of the created application
*/
createdApp: [TxnField.CreatedApplicationID, applicationPType] as const,

/**
* Number of logs
*/
numLogs: [TxnField.NumLogs, uint64PType] as const,
} satisfies Record<string, readonly [TxnField, PType]>

export const anyTxnFields = {
Expand Down

0 comments on commit 15cb7cd

Please sign in to comment.