Skip to content
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

Coin transfer #482

Merged
merged 5 commits into from
Nov 20, 2023
Merged

Coin transfer #482

merged 5 commits into from
Nov 20, 2023

Conversation

peara
Copy link
Member

@peara peara commented Nov 10, 2023

No description provided.

@peara peara added the develop label Nov 16, 2023
* feat: crawl coin transfer

* feat: crawl coin transfer

* feat: add config for job coin transfer

* fix: revert crawl tx to old logic

* feat: test unit and fix bug for coin transfer

* feat: test unit and fix bug for coin transfer

* feat: test unit and fix bug for coin transfer

* feat: test unit and fix bug for coin transfer

* fix: refactor query coin transfer

* fix: refactor query coin transfer
.orderBy('id', 'ASC');
if (transactions.length === 0) return [];

const transactionsWithId: any = [];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dùng lodash keyBy là được
transactionsWithId = _.keyBy(transactions,'id')

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mà thôi, vẫn còn câu khởi tạo events

@peara peara merged commit 7b38f55 into develop Nov 20, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants