Skip to content

Commit

Permalink
Zkapp in search tx (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-iohk authored Oct 16, 2024
1 parent e715cf8 commit 2382ce8
Show file tree
Hide file tree
Showing 11 changed files with 1,004 additions and 54 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions sql/indexer_zkapp_commands.sql
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ WITH
zc.memo,
zc.hash,
pk_fee_payer.value AS fee_payer,
pk_update_body.value AS pk_update_body,
zfpb.fee,
zfpb.valid_until,
zfpb.nonce,
bzc.sequence_no,
bzc.status,
bzc.status AS "status: TransactionStatus",
zaub.account_identifier_id,
zaub.update_id,
zaub.balance_change,
Expand All @@ -58,8 +59,8 @@ WITH
zaub.zkapp_valid_while_precondition_id,
zaub.use_full_commitment,
zaub.implicit_account_creation_fee,
zaub.may_use_token,
zaub.authorization_kind,
zaub.may_use_token AS "may_use_token: MayUseToken",
zaub.authorization_kind AS "authorization_kind: AuthorizationKindType",
zaub.verification_key_hash_id,
bzc.block_id,
b.state_hash,
Expand Down Expand Up @@ -153,7 +154,9 @@ FROM
id,
sequence_no
LIMIT
5
$8
OFFSET
$9
) AS ids
INNER JOIN zkapp_commands_info AS zc ON ids.id=zc.id
AND ids.block_id=zc.block_id
Expand Down
Loading

0 comments on commit 2382ce8

Please sign in to comment.