Skip to content

Commit

Permalink
Fix/add missing tx id merge staging (#919)
Browse files Browse the repository at this point in the history
* fix: add missing tx_id when handle cw20 activity

* fix: update naming tx_id
  • Loading branch information
fibonacci998 authored Oct 4, 2024
1 parent ce63cd1 commit e29df3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ select_permissions:
- from
- sender
- to
- tx_hash
- cw20_contract_id
- height
- id
- smart_contract_event_id
- amount
- tx_hash
- tx_id
filter: {}
limit: 100
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ select_permissions:
- from
- sender
- to
- tx_hash
- cw20_contract_id
- height
- id
- smart_contract_event_id
- amount
- tx_hash
- tx_id
filter: {}
limit: 100
3 changes: 2 additions & 1 deletion src/services/cw20/cw20.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ export default class Cw20Service extends BullableService {
'smart_contract.id as smart_contract_id',
'smart_contract_event.id as smart_contract_event_id',
'event:transaction.hash',
'event:transaction.height'
'event:transaction.height',
'smart_contract_event.tx_id'
)
.orderBy('smart_contract_event.id', 'asc');
}
Expand Down

0 comments on commit e29df3b

Please sign in to comment.