-
Couldn't load subscription status.
- Fork 13
Add receiver address to the query result. #37
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
base: main
Are you sure you want to change the base?
Conversation
|
hey @0xSasaPrsic are we checking for duplicates before returning? |
There is no duplicate check. |
|
@0xSasaPrsic we should add one, before returning imo, lemme know if you'd want to understand, how there will be duplicates in the first place |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs better pagination, please remove immutable from cache header when the data can change in the future.
| let ethereum_sends_results = eth_send_query | ||
| .select(EthereumSend::as_select()) | ||
| .order_by(schema::ethereum_sends::source_timestamp.desc()) | ||
| .limit(state.transactions_result_max_size.into()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please implement pagination with offset and integrate with endpoint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This simplifies ui
| let avail_sends_results = avail_send_query | ||
| .select(AvailSend::as_select()) | ||
| .order_by(schema::avail_sends::source_timestamp.desc()) | ||
| .limit(state.transactions_result_max_size.into()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
3209cf9 to
7c3c6e5
Compare
7c3c6e5 to
869da22
Compare
Add receiver address transactions that match the query.
Add a var to control the limit of the query.