-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: reindex cw20 service ( main ) #277
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
peara
reviewed
Aug 2, 2023
peara
reviewed
Aug 2, 2023
peara
reviewed
Aug 2, 2023
peara
reviewed
Aug 2, 2023
Merged
phamphong9981
changed the title
feat: reindex cw20 service
feat: reindex cw20 service ( main )
Aug 10, 2023
This was referenced Aug 11, 2023
peara
added a commit
that referenced
this pull request
Aug 21, 2023
* docs: cw721 * docs: cw20 * fix: update validator as UNSPECIFIED when not found onchain * fix: remove token and delegator_shares when validator is UNRECOGNIZED * feat: crawl ibc tao * feat: add test for unrecognized validator * feat: crawl genesis ibc tao * feat: add migration to add index time to block, tx * fix: code * fix: code * feat: ibc app * feat: ibc app * fix: allow whitelist query can have depth more than config (#312) * feat: reindex cw20 service ( main ) (#277) * feat: reindex cw20 service * test: test cw20 reindexing * fix: idiot * refactor: code * feat: api admin * refactor: cw20/cw721 index and add relation ( main ) (#306) * refactor: cw20 index and add relation * refactor: code * fix: duplicate latest migrate contract (#304) * test: ibc app * feat: ibc app * feat: ibc app * test: ibc app * fix: review --------- Co-authored-by: Tuan Phan Anh <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> Co-authored-by: Vu Ngoc Quang <[email protected]>
peara
added a commit
that referenced
this pull request
Aug 22, 2023
* docs: cw721 * docs: cw20 * fix: update validator as UNSPECIFIED when not found onchain * fix: remove token and delegator_shares when validator is UNRECOGNIZED * feat: add test for unrecognized validator * feat: add migration to add index time to block, tx * refactor: migrate cw721 activity missing smart contract event * feat: api * test: test params * test: test params * test: test params * test: test params * test: test params * fix: allow whitelist query can have depth more than config (#312) * test: test params * refactor: code * refactor: code * refactor: code * feat: reindex cw20 service ( main ) (#277) * feat: reindex cw20 service * test: test cw20 reindexing * fix: idiot * refactor: code * feat: api admin * refactor: cw20/cw721 index and add relation ( main ) (#306) * refactor: cw20 index and add relation * refactor: code * fix: duplicate latest migrate contract (#304) * refactor: migrate cw721 activity missing smart contract event * feat: api * test: test params * test: test params * test: test params * test: test params * test: test params * test: test params * refactor: code * refactor: code * refactor: code * refactor: code * refactor: code * fix: merge code * fix: merge code * fix: ci --------- Co-authored-by: Tuan Phan Anh <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> Co-authored-by: Vu Ngoc Quang <[email protected]>
peara
added a commit
that referenced
this pull request
Sep 21, 2023
* docs: cw721 * docs: cw20 * fix: update validator as UNSPECIFIED when not found onchain * fix: remove token and delegator_shares when validator is UNRECOGNIZED * feat: crawl ibc tao * feat: add test for unrecognized validator * feat: crawl genesis ibc tao * feat: add migration to add index time to block, tx * fix: code * fix: code * feat: ibc app * feat: ibc app * fix: allow whitelist query can have depth more than config (#312) * feat: reindex cw20 service ( main ) (#277) * feat: reindex cw20 service * test: test cw20 reindexing * fix: idiot * refactor: code * feat: api admin * refactor: cw20/cw721 index and add relation ( main ) (#306) * refactor: cw20 index and add relation * refactor: code * fix: duplicate latest migrate contract (#304) * test: ibc app * fix: review * Feat/statistics (#272) * feat: move statistic feature from v1 to v2 (not tested yet) * feat: change job params so it can aggregate data at a specific date * fix: query fields from exact table * fix: query exact fields * feat: add logger when done * feat: finish statistic jobs (not tested) * feat: create a separate interval job that gets the current date and create statistics jobs with date * feat: update logic using dayjs and lodash lib * feat: update cron jobs logic, move api actions to its service folder * fix: query event from db and group it based on event_id and tx_id * fix: just use a single job to query all daily data * fix: move all queries in daily_stats job into a single Promise all * fix: move dayjs.extend to after import statements * fix: remove _start * fix: only count native token in account_stats job * feat: add api to sync stats from prev dates * fix: support case when user just pass startDate to api * fix: fix whitelist graphql * fix: update column in account_statistic table, update bignum top_tx_sent * fix: remove drop index in modify account statistic table --------- Co-authored-by: AnDQK <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> * refactor: migrate cw721 activity missing smart contract event ( main ) (#322) * refactor: migrate cw721 activity missing smart contract event * feat: api * test: test params * test: test params * test: test params * test: test params * test: test params * test: test params * refactor: code * refactor: code * refactor: code * refactor: code * refactor: code * fix: ci * feat: ibc app ics20 * Fix/account stat with feegrant (#337) * fix: get use_feegrant_grantee if has, other get tx_fee_payer * fix: remove code not used * Update api_gateway.service.ts (#336) * feat: ibc ics20 send * feat: ibc ics20 send * feat: ibc ics20 recv * feat: ibc ics20 recv * feat: handle ics20 ack * feat: handle ics20 timeout * test: test * fix: code * fix: code * feat: ibc app ics20 * feat: ibc ics20 send * feat: ibc ics20 send * feat: ibc ics20 recv * feat: ibc ics20 recv * feat: handle ics20 ack * feat: handle ics20 timeout * test: test * fix: code * fix: code * fix: cw721 activity missing from/to ( main ) (#294) * fix: cw721 activity missing from/to * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * refactor: code * fix: code * refactor: code --------- Co-authored-by: Vu Ngoc Quang <[email protected]> * feat: crawl ibc tao ( main ) (#278) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * refactor: code * fix: test * refactor: code * fix: merge code * refactor: review code * refactor: review code * Fix/lint json file (#359) * fix: display json on multiple lines * fix: update launch.json to debug jest in 1 file; use moleculer.config.ts when debug service * Feat/ibc app ( main ) (#321) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * feat: ibc app * feat: ibc app * test: ibc app * fix: review * refactor: update status * refactor: code --------- Co-authored-by: Tuan Phan Anh <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> Co-authored-by: Vu Ngoc Quang <[email protected]> Co-authored-by: AnDQK <[email protected]>
peara
added a commit
that referenced
this pull request
Sep 22, 2023
* docs: cw721 * docs: cw20 * fix: update validator as UNSPECIFIED when not found onchain * fix: remove token and delegator_shares when validator is UNRECOGNIZED * feat: crawl ibc tao * feat: add test for unrecognized validator * feat: crawl genesis ibc tao * feat: add migration to add index time to block, tx * fix: code * fix: code * feat: ibc app * feat: ibc app * fix: allow whitelist query can have depth more than config (#312) * feat: reindex cw20 service ( main ) (#277) * feat: reindex cw20 service * test: test cw20 reindexing * fix: idiot * refactor: code * feat: api admin * refactor: cw20/cw721 index and add relation ( main ) (#306) * refactor: cw20 index and add relation * refactor: code * fix: duplicate latest migrate contract (#304) * test: ibc app * fix: review * Feat/statistics (#272) * feat: move statistic feature from v1 to v2 (not tested yet) * feat: change job params so it can aggregate data at a specific date * fix: query fields from exact table * fix: query exact fields * feat: add logger when done * feat: finish statistic jobs (not tested) * feat: create a separate interval job that gets the current date and create statistics jobs with date * feat: update logic using dayjs and lodash lib * feat: update cron jobs logic, move api actions to its service folder * fix: query event from db and group it based on event_id and tx_id * fix: just use a single job to query all daily data * fix: move all queries in daily_stats job into a single Promise all * fix: move dayjs.extend to after import statements * fix: remove _start * fix: only count native token in account_stats job * feat: add api to sync stats from prev dates * fix: support case when user just pass startDate to api * fix: fix whitelist graphql * fix: update column in account_statistic table, update bignum top_tx_sent * fix: remove drop index in modify account statistic table --------- Co-authored-by: AnDQK <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> * refactor: migrate cw721 activity missing smart contract event ( main ) (#322) * refactor: migrate cw721 activity missing smart contract event * feat: api * test: test params * test: test params * test: test params * test: test params * test: test params * test: test params * refactor: code * refactor: code * refactor: code * refactor: code * refactor: code * fix: ci * feat: ibc app ics20 * Fix/account stat with feegrant (#337) * fix: get use_feegrant_grantee if has, other get tx_fee_payer * fix: remove code not used * Update api_gateway.service.ts (#336) * feat: ibc ics20 send * feat: ibc ics20 send * feat: ibc ics20 recv * feat: ibc ics20 recv * feat: handle ics20 ack * feat: handle ics20 timeout * test: test * fix: code * fix: code * feat: ibc app ics20 * feat: ibc ics20 send * feat: ibc ics20 send * feat: ibc ics20 recv * feat: ibc ics20 recv * feat: handle ics20 ack * feat: handle ics20 timeout * test: test * fix: code * fix: code * fix: cw721 activity missing from/to ( main ) (#294) * fix: cw721 activity missing from/to * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * refactor: code * fix: code * refactor: code --------- Co-authored-by: Vu Ngoc Quang <[email protected]> * feat: crawl ibc tao ( main ) (#278) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * refactor: code * fix: test * refactor: code * fix: merge code * refactor: review code * refactor: review code * Fix/lint json file (#359) * fix: display json on multiple lines * fix: update launch.json to debug jest in 1 file; use moleculer.config.ts when debug service * Feat/ibc app ( main ) (#321) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * feat: ibc app * feat: ibc app * test: ibc app * fix: review * refactor: update status * refactor: code * fix: excessive data * feat: add memo column --------- Co-authored-by: Tuan Phan Anh <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> Co-authored-by: Vu Ngoc Quang <[email protected]> Co-authored-by: AnDQK <[email protected]>
peara
added a commit
that referenced
this pull request
Sep 28, 2023
* docs: cw721 * docs: cw20 * fix: update validator as UNSPECIFIED when not found onchain * fix: remove token and delegator_shares when validator is UNRECOGNIZED * feat: crawl ibc tao * feat: add test for unrecognized validator * feat: crawl genesis ibc tao * feat: add migration to add index time to block, tx * fix: code * fix: code * feat: ibc app * feat: ibc app * fix: allow whitelist query can have depth more than config (#312) * feat: reindex cw20 service ( main ) (#277) * feat: reindex cw20 service * test: test cw20 reindexing * fix: idiot * refactor: code * feat: api admin * refactor: cw20/cw721 index and add relation ( main ) (#306) * refactor: cw20 index and add relation * refactor: code * fix: duplicate latest migrate contract (#304) * test: ibc app * fix: review * Feat/statistics (#272) * feat: move statistic feature from v1 to v2 (not tested yet) * feat: change job params so it can aggregate data at a specific date * fix: query fields from exact table * fix: query exact fields * feat: add logger when done * feat: finish statistic jobs (not tested) * feat: create a separate interval job that gets the current date and create statistics jobs with date * feat: update logic using dayjs and lodash lib * feat: update cron jobs logic, move api actions to its service folder * fix: query event from db and group it based on event_id and tx_id * fix: just use a single job to query all daily data * fix: move all queries in daily_stats job into a single Promise all * fix: move dayjs.extend to after import statements * fix: remove _start * fix: only count native token in account_stats job * feat: add api to sync stats from prev dates * fix: support case when user just pass startDate to api * fix: fix whitelist graphql * fix: update column in account_statistic table, update bignum top_tx_sent * fix: remove drop index in modify account statistic table --------- Co-authored-by: AnDQK <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> * refactor: migrate cw721 activity missing smart contract event ( main ) (#322) * refactor: migrate cw721 activity missing smart contract event * feat: api * test: test params * test: test params * test: test params * test: test params * test: test params * test: test params * refactor: code * refactor: code * refactor: code * refactor: code * refactor: code * fix: ci * feat: ibc app ics20 * Fix/account stat with feegrant (#337) * fix: get use_feegrant_grantee if has, other get tx_fee_payer * fix: remove code not used * Update api_gateway.service.ts (#336) * feat: ibc ics20 send * feat: ibc ics20 send * feat: ibc ics20 recv * feat: ibc ics20 recv * feat: handle ics20 ack * feat: handle ics20 timeout * test: test * fix: code * fix: code * feat: ibc app ics20 * feat: ibc ics20 send * feat: ibc ics20 send * feat: ibc ics20 recv * feat: ibc ics20 recv * feat: handle ics20 ack * feat: handle ics20 timeout * test: test * fix: code * fix: code * fix: cw721 activity missing from/to ( main ) (#294) * fix: cw721 activity missing from/to * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * refactor: code * fix: code * refactor: code --------- Co-authored-by: Vu Ngoc Quang <[email protected]> * feat: crawl ibc tao ( main ) (#278) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * refactor: code * fix: test * refactor: code * fix: merge code * refactor: review code * refactor: review code * Fix/lint json file (#359) * fix: display json on multiple lines * fix: update launch.json to debug jest in 1 file; use moleculer.config.ts when debug service * Feat/ibc app ( main ) (#321) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * feat: ibc app * feat: ibc app * test: ibc app * fix: review * refactor: update status * fix: smart contract missing label ( main ) (#366) * fix: smart contract missing label * fix: test * fix: test * fix: test * fix: test * refactor: code * fix: excessive data * fix: update msg_index by order in event and log (#327) * fix: update msg_index by order in event and log * feat: add test mapping event and log * feat: add test mapping by authz tx * feat: add test mapping by authz tx * fix: refactor mapping event to log, update unit test * fix: comment set index msg with order, use count attribute to compare * feat: add checkMappingEventToLog after mapped event * fix: check map event log by flatten array * fix: update checking map event log * fix: add null value handle in checkMappingEventToLog * feat: init job re assign msg_index to event * fix: use transaction when update event * fix: use forEach loop in job * fix: sort graph when query db * feat: add unittest for generateListUpdateMsgIndex function * fix: update msg_index in 1 query per tx for each value * fix: fix null when compare value attribute value * fix: fix if tx fail, then no need set msg index * feat: add memo column * feat: health check job ( main ) (#345) * feat: health check job * feat: validator * refactor: code * refactor: performance cw721 media info ( main ) (#369) * refactor: cw721 media info * refactor: code * refactor: code * fix: fix lint and remove resilient, protobuf, upgrade graphql (#380) * fix: fix lint and remove resilient, protobuf, upgrade graphql * fix: add package-lock.json * feat: add timestamp columns * refactor: add start time and finish time * refactor: migration --------- Co-authored-by: Tuan Phan Anh <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> Co-authored-by: Vu Ngoc Quang <[email protected]> Co-authored-by: AnDQK <[email protected]>
peara
added a commit
that referenced
this pull request
Sep 29, 2023
… ) (#390) * docs: cw721 * docs: cw20 * fix: update validator as UNSPECIFIED when not found onchain * fix: remove token and delegator_shares when validator is UNRECOGNIZED * feat: add test for unrecognized validator * feat: add migration to add index time to block, tx * fix: allow whitelist query can have depth more than config (#312) * feat: reindex cw20 service ( main ) (#277) * feat: reindex cw20 service * test: test cw20 reindexing * fix: idiot * refactor: code * feat: api admin * refactor: cw20/cw721 index and add relation ( main ) (#306) * refactor: cw20 index and add relation * refactor: code * fix: duplicate latest migrate contract (#304) * Feat/statistics (#272) * feat: move statistic feature from v1 to v2 (not tested yet) * feat: change job params so it can aggregate data at a specific date * fix: query fields from exact table * fix: query exact fields * feat: add logger when done * feat: finish statistic jobs (not tested) * feat: create a separate interval job that gets the current date and create statistics jobs with date * feat: update logic using dayjs and lodash lib * feat: update cron jobs logic, move api actions to its service folder * fix: query event from db and group it based on event_id and tx_id * fix: just use a single job to query all daily data * fix: move all queries in daily_stats job into a single Promise all * fix: move dayjs.extend to after import statements * fix: remove _start * fix: only count native token in account_stats job * feat: add api to sync stats from prev dates * fix: support case when user just pass startDate to api * fix: fix whitelist graphql * fix: update column in account_statistic table, update bignum top_tx_sent * fix: remove drop index in modify account statistic table --------- Co-authored-by: AnDQK <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> * refactor: migrate cw721 activity missing smart contract event ( main ) (#322) * refactor: migrate cw721 activity missing smart contract event * feat: api * test: test params * test: test params * test: test params * test: test params * test: test params * test: test params * refactor: code * refactor: code * refactor: code * refactor: code * refactor: code * fix: ci * Fix/account stat with feegrant (#337) * fix: get use_feegrant_grantee if has, other get tx_fee_payer * fix: remove code not used * Update api_gateway.service.ts (#336) * fix: cw721 activity missing from/to ( main ) (#294) * fix: cw721 activity missing from/to * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * refactor: code * fix: code * refactor: code --------- Co-authored-by: Vu Ngoc Quang <[email protected]> * feat: crawl ibc tao ( main ) (#278) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * Fix/lint json file (#359) * fix: display json on multiple lines * fix: update launch.json to debug jest in 1 file; use moleculer.config.ts when debug service * refactor: cw721 * Feat/ibc app ( main ) (#321) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * feat: ibc app * feat: ibc app * test: ibc app * fix: review * test: full test * feat: migration * fix: lint * fix: test * fix: test * fix: smart contract missing label ( main ) (#366) * fix: smart contract missing label * fix: test * fix: test * fix: test * fix: test * refactor: test * refactor: code * refactor: test * fix: test * test: code * test: code * fix: update msg_index by order in event and log (#327) * fix: update msg_index by order in event and log * feat: add test mapping event and log * feat: add test mapping by authz tx * feat: add test mapping by authz tx * fix: refactor mapping event to log, update unit test * fix: comment set index msg with order, use count attribute to compare * feat: add checkMappingEventToLog after mapped event * fix: check map event log by flatten array * fix: update checking map event log * fix: add null value handle in checkMappingEventToLog * feat: init job re assign msg_index to event * fix: use transaction when update event * fix: use forEach loop in job * fix: sort graph when query db * feat: add unittest for generateListUpdateMsgIndex function * fix: update msg_index in 1 query per tx for each value * fix: fix null when compare value attribute value * fix: fix if tx fail, then no need set msg index * feat: health check job ( main ) (#345) * feat: health check job * feat: validator * refactor: code * refactor: performance cw721 media info ( main ) (#369) * refactor: cw721 media info * refactor: code * refactor: code * refactor: code * refactor: review * refactor: review * fix: fix lint and remove resilient, protobuf, upgrade graphql (#380) * fix: fix lint and remove resilient, protobuf, upgrade graphql * fix: add package-lock.json * refactor: clean redundance get DB field * refactor: cw721 * test: full test * feat: migration * fix: lint * fix: test * fix: test * refactor: test * refactor: code * refactor: test * fix: test * test: code * test: code * refactor: code * refactor: review * refactor: review * refactor: clean redundance get DB field * fix: handle too much data * fix: migration * fix: migration * fix: migration * fix: code --------- Co-authored-by: Tuan Phan Anh <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> Co-authored-by: Vu Ngoc Quang <[email protected]> Co-authored-by: AnDQK <[email protected]>
peara
added a commit
that referenced
this pull request
Sep 29, 2023
* docs: cw721 * docs: cw20 * fix: update validator as UNSPECIFIED when not found onchain * fix: remove token and delegator_shares when validator is UNRECOGNIZED * feat: crawl ibc tao * feat: add test for unrecognized validator * feat: crawl genesis ibc tao * feat: add migration to add index time to block, tx * fix: code * fix: code * feat: ibc app * feat: ibc app * fix: allow whitelist query can have depth more than config (#312) * feat: reindex cw20 service ( main ) (#277) * feat: reindex cw20 service * test: test cw20 reindexing * fix: idiot * refactor: code * feat: api admin * refactor: cw20/cw721 index and add relation ( main ) (#306) * refactor: cw20 index and add relation * refactor: code * fix: duplicate latest migrate contract (#304) * test: ibc app * fix: review * Feat/statistics (#272) * feat: move statistic feature from v1 to v2 (not tested yet) * feat: change job params so it can aggregate data at a specific date * fix: query fields from exact table * fix: query exact fields * feat: add logger when done * feat: finish statistic jobs (not tested) * feat: create a separate interval job that gets the current date and create statistics jobs with date * feat: update logic using dayjs and lodash lib * feat: update cron jobs logic, move api actions to its service folder * fix: query event from db and group it based on event_id and tx_id * fix: just use a single job to query all daily data * fix: move all queries in daily_stats job into a single Promise all * fix: move dayjs.extend to after import statements * fix: remove _start * fix: only count native token in account_stats job * feat: add api to sync stats from prev dates * fix: support case when user just pass startDate to api * fix: fix whitelist graphql * fix: update column in account_statistic table, update bignum top_tx_sent * fix: remove drop index in modify account statistic table --------- Co-authored-by: AnDQK <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> * refactor: migrate cw721 activity missing smart contract event ( main ) (#322) * refactor: migrate cw721 activity missing smart contract event * feat: api * test: test params * test: test params * test: test params * test: test params * test: test params * test: test params * refactor: code * refactor: code * refactor: code * refactor: code * refactor: code * fix: ci * feat: ibc app ics20 * Fix/account stat with feegrant (#337) * fix: get use_feegrant_grantee if has, other get tx_fee_payer * fix: remove code not used * Update api_gateway.service.ts (#336) * feat: ibc ics20 send * feat: ibc ics20 send * feat: ibc ics20 recv * feat: ibc ics20 recv * feat: handle ics20 ack * feat: handle ics20 timeout * test: test * fix: code * fix: code * feat: ibc app ics20 * feat: ibc ics20 send * feat: ibc ics20 send * feat: ibc ics20 recv * feat: ibc ics20 recv * feat: handle ics20 ack * feat: handle ics20 timeout * test: test * fix: code * fix: code * fix: cw721 activity missing from/to ( main ) (#294) * fix: cw721 activity missing from/to * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * refactor: code * fix: code * refactor: code --------- Co-authored-by: Vu Ngoc Quang <[email protected]> * feat: crawl ibc tao ( main ) (#278) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * refactor: code * fix: test * refactor: code * fix: merge code * refactor: review code * refactor: review code * Fix/lint json file (#359) * fix: display json on multiple lines * fix: update launch.json to debug jest in 1 file; use moleculer.config.ts when debug service * Feat/ibc app ( main ) (#321) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * feat: ibc app * feat: ibc app * test: ibc app * fix: review * refactor: update status * fix: smart contract missing label ( main ) (#366) * fix: smart contract missing label * fix: test * fix: test * fix: test * fix: test * refactor: code * fix: excessive data * fix: update msg_index by order in event and log (#327) * fix: update msg_index by order in event and log * feat: add test mapping event and log * feat: add test mapping by authz tx * feat: add test mapping by authz tx * fix: refactor mapping event to log, update unit test * fix: comment set index msg with order, use count attribute to compare * feat: add checkMappingEventToLog after mapped event * fix: check map event log by flatten array * fix: update checking map event log * fix: add null value handle in checkMappingEventToLog * feat: init job re assign msg_index to event * fix: use transaction when update event * fix: use forEach loop in job * fix: sort graph when query db * feat: add unittest for generateListUpdateMsgIndex function * fix: update msg_index in 1 query per tx for each value * fix: fix null when compare value attribute value * fix: fix if tx fail, then no need set msg index * feat: add memo column * feat: health check job ( main ) (#345) * feat: health check job * feat: validator * refactor: code * refactor: performance cw721 media info ( main ) (#369) * refactor: cw721 media info * refactor: code * refactor: code * fix: fix lint and remove resilient, protobuf, upgrade graphql (#380) * fix: fix lint and remove resilient, protobuf, upgrade graphql * fix: add package-lock.json * feat: add timestamp columns * refactor: add start time and finish time * refactor: migration * fix: migration --------- Co-authored-by: Tuan Phan Anh <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> Co-authored-by: Vu Ngoc Quang <[email protected]> Co-authored-by: AnDQK <[email protected]>
peara
added a commit
that referenced
this pull request
Oct 2, 2023
* docs: cw721 * docs: cw20 * fix: update validator as UNSPECIFIED when not found onchain * fix: remove token and delegator_shares when validator is UNRECOGNIZED * feat: add test for unrecognized validator * feat: add migration to add index time to block, tx * fix: allow whitelist query can have depth more than config (#312) * feat: reindex cw20 service ( main ) (#277) * feat: reindex cw20 service * test: test cw20 reindexing * fix: idiot * refactor: code * feat: api admin * refactor: cw20/cw721 index and add relation ( main ) (#306) * refactor: cw20 index and add relation * refactor: code * fix: duplicate latest migrate contract (#304) * Feat/statistics (#272) * feat: move statistic feature from v1 to v2 (not tested yet) * feat: change job params so it can aggregate data at a specific date * fix: query fields from exact table * fix: query exact fields * feat: add logger when done * feat: finish statistic jobs (not tested) * feat: create a separate interval job that gets the current date and create statistics jobs with date * feat: update logic using dayjs and lodash lib * feat: update cron jobs logic, move api actions to its service folder * fix: query event from db and group it based on event_id and tx_id * fix: just use a single job to query all daily data * fix: move all queries in daily_stats job into a single Promise all * fix: move dayjs.extend to after import statements * fix: remove _start * fix: only count native token in account_stats job * feat: add api to sync stats from prev dates * fix: support case when user just pass startDate to api * fix: fix whitelist graphql * fix: update column in account_statistic table, update bignum top_tx_sent * fix: remove drop index in modify account statistic table --------- Co-authored-by: AnDQK <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> * refactor: migrate cw721 activity missing smart contract event ( main ) (#322) * refactor: migrate cw721 activity missing smart contract event * feat: api * test: test params * test: test params * test: test params * test: test params * test: test params * test: test params * refactor: code * refactor: code * refactor: code * refactor: code * refactor: code * fix: ci * Fix/account stat with feegrant (#337) * fix: get use_feegrant_grantee if has, other get tx_fee_payer * fix: remove code not used * Update api_gateway.service.ts (#336) * fix: cw721 activity missing from/to ( main ) (#294) * fix: cw721 activity missing from/to * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * refactor: code * fix: code * refactor: code --------- Co-authored-by: Vu Ngoc Quang <[email protected]> * feat: crawl ibc tao ( main ) (#278) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * Fix/lint json file (#359) * fix: display json on multiple lines * fix: update launch.json to debug jest in 1 file; use moleculer.config.ts when debug service * Feat/ibc app ( main ) (#321) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * feat: ibc app * feat: ibc app * test: ibc app * fix: review * fix: smart contract missing label ( main ) (#366) * fix: smart contract missing label * fix: test * fix: test * fix: test * fix: test * fix: update msg_index by order in event and log (#327) * fix: update msg_index by order in event and log * feat: add test mapping event and log * feat: add test mapping by authz tx * feat: add test mapping by authz tx * fix: refactor mapping event to log, update unit test * fix: comment set index msg with order, use count attribute to compare * feat: add checkMappingEventToLog after mapped event * fix: check map event log by flatten array * fix: update checking map event log * fix: add null value handle in checkMappingEventToLog * feat: init job re assign msg_index to event * fix: use transaction when update event * fix: use forEach loop in job * fix: sort graph when query db * feat: add unittest for generateListUpdateMsgIndex function * fix: update msg_index in 1 query per tx for each value * fix: fix null when compare value attribute value * fix: fix if tx fail, then no need set msg index * feat: health check job ( main ) (#345) * feat: health check job * feat: validator * refactor: code * refactor: performance cw721 media info ( main ) (#369) * refactor: cw721 media info * refactor: code * refactor: code * fix: fix lint and remove resilient, protobuf, upgrade graphql (#380) * fix: fix lint and remove resilient, protobuf, upgrade graphql * fix: add package-lock.json * Feat/create composite index in partition attribute (#368) * feat: create job to create composite index in event_attribute table * feat: update job create partition with parameter template table * feat: change to create job for each partition * feat: add api to trigger call create composite index * fix: remove createJob when start service create index composite attribute * fix: remove import which not used * feat: update view use new composite index * fix: fix conflict merge main * refactor: ibc message tx hash * refactor: ibc message add tx hash * refactor: ibc message tx hash * refactor: ibc message add tx hash * refactor: ibc message add tx hash --------- Co-authored-by: Tuan Phan Anh <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> Co-authored-by: Vu Ngoc Quang <[email protected]> Co-authored-by: AnDQK <[email protected]>
peara
added a commit
that referenced
this pull request
Oct 5, 2023
* docs: cw721 * docs: cw20 * fix: update validator as UNSPECIFIED when not found onchain * fix: remove token and delegator_shares when validator is UNRECOGNIZED * feat: crawl ibc tao * feat: add test for unrecognized validator * feat: crawl genesis ibc tao * feat: add migration to add index time to block, tx * fix: code * fix: code * feat: ibc app * feat: ibc app * fix: allow whitelist query can have depth more than config (#312) * feat: reindex cw20 service ( main ) (#277) * feat: reindex cw20 service * test: test cw20 reindexing * fix: idiot * refactor: code * feat: api admin * refactor: cw20/cw721 index and add relation ( main ) (#306) * refactor: cw20 index and add relation * refactor: code * fix: duplicate latest migrate contract (#304) * test: ibc app * fix: review * Feat/statistics (#272) * feat: move statistic feature from v1 to v2 (not tested yet) * feat: change job params so it can aggregate data at a specific date * fix: query fields from exact table * fix: query exact fields * feat: add logger when done * feat: finish statistic jobs (not tested) * feat: create a separate interval job that gets the current date and create statistics jobs with date * feat: update logic using dayjs and lodash lib * feat: update cron jobs logic, move api actions to its service folder * fix: query event from db and group it based on event_id and tx_id * fix: just use a single job to query all daily data * fix: move all queries in daily_stats job into a single Promise all * fix: move dayjs.extend to after import statements * fix: remove _start * fix: only count native token in account_stats job * feat: add api to sync stats from prev dates * fix: support case when user just pass startDate to api * fix: fix whitelist graphql * fix: update column in account_statistic table, update bignum top_tx_sent * fix: remove drop index in modify account statistic table --------- Co-authored-by: AnDQK <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> * refactor: migrate cw721 activity missing smart contract event ( main ) (#322) * refactor: migrate cw721 activity missing smart contract event * feat: api * test: test params * test: test params * test: test params * test: test params * test: test params * test: test params * refactor: code * refactor: code * refactor: code * refactor: code * refactor: code * fix: ci * feat: ibc app ics20 * Fix/account stat with feegrant (#337) * fix: get use_feegrant_grantee if has, other get tx_fee_payer * fix: remove code not used * Update api_gateway.service.ts (#336) * feat: ibc ics20 send * feat: ibc ics20 send * feat: ibc ics20 recv * feat: ibc ics20 recv * feat: handle ics20 ack * feat: handle ics20 timeout * test: test * fix: code * fix: code * feat: ibc app ics20 * feat: ibc ics20 send * feat: ibc ics20 send * feat: ibc ics20 recv * feat: ibc ics20 recv * feat: handle ics20 ack * feat: handle ics20 timeout * test: test * fix: code * fix: code * fix: cw721 activity missing from/to ( main ) (#294) * fix: cw721 activity missing from/to * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * fix: fill from/to cw721 activity * refactor: code * fix: code * refactor: code --------- Co-authored-by: Vu Ngoc Quang <[email protected]> * feat: crawl ibc tao ( main ) (#278) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * refactor: code * fix: test * refactor: code * fix: merge code * refactor: review code * refactor: review code * Fix/lint json file (#359) * fix: display json on multiple lines * fix: update launch.json to debug jest in 1 file; use moleculer.config.ts when debug service * Feat/ibc app ( main ) (#321) * feat: crawl ibc tao * feat: crawl genesis ibc tao * fix: code * fix: code * feat: ibc app * feat: ibc app * test: ibc app * fix: review * refactor: update status * fix: smart contract missing label ( main ) (#366) * fix: smart contract missing label * fix: test * fix: test * fix: test * fix: test * refactor: code * fix: excessive data * fix: update msg_index by order in event and log (#327) * fix: update msg_index by order in event and log * feat: add test mapping event and log * feat: add test mapping by authz tx * feat: add test mapping by authz tx * fix: refactor mapping event to log, update unit test * fix: comment set index msg with order, use count attribute to compare * feat: add checkMappingEventToLog after mapped event * fix: check map event log by flatten array * fix: update checking map event log * fix: add null value handle in checkMappingEventToLog * feat: init job re assign msg_index to event * fix: use transaction when update event * fix: use forEach loop in job * fix: sort graph when query db * feat: add unittest for generateListUpdateMsgIndex function * fix: update msg_index in 1 query per tx for each value * fix: fix null when compare value attribute value * fix: fix if tx fail, then no need set msg index * feat: add memo column * feat: health check job ( main ) (#345) * feat: health check job * feat: validator * refactor: code * refactor: performance cw721 media info ( main ) (#369) * refactor: cw721 media info * refactor: code * refactor: code * fix: fix lint and remove resilient, protobuf, upgrade graphql (#380) * fix: fix lint and remove resilient, protobuf, upgrade graphql * fix: add package-lock.json * feat: add timestamp columns * refactor: add start time and finish time * refactor: migration * Feat/create composite index in partition attribute (#368) * feat: create job to create composite index in event_attribute table * feat: update job create partition with parameter template table * feat: change to create job for each partition * feat: add api to trigger call create composite index * fix: remove createJob when start service create index composite attribute * fix: remove import which not used * feat: update view use new composite index * fix: fix conflict merge main * fix: migration * refactor: cw721 ( main ) (#365) * refactor: cw721 * test: full test * feat: migration * fix: lint * fix: test * fix: test * refactor: test * refactor: code * refactor: test * fix: test * test: code * test: code * refactor: code * refactor: review * refactor: review * refactor: clean redundance get DB field * fix: handle too much data * fix: migration * fix: migration * fix: migration * fix: code * Refactor/ibc message add tx hash ( main ) (#392) * refactor: ibc message tx hash * refactor: ibc message add tx hash * refactor: ibc message add tx hash * fix: hotfix ics20 * refactor: resolve conflict * refactor: resolve conflict --------- Co-authored-by: Tuan Phan Anh <[email protected]> Co-authored-by: Phan Anh Tuan <[email protected]> Co-authored-by: Vu Ngoc Quang <[email protected]> Co-authored-by: AnDQK <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.