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

Sort by address.hash column in accountlist API endpoint #6032

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

vbaranov
Copy link
Member

@vbaranov vbaranov commented Sep 1, 2022

Resolves #6023

Motivation

Results of accountlist API endpoint are non-deterministic.

Changelog

Add ascending sorting by address.hash together with address.inserted_at in order making results deterministic.

Checklist for your Pull Request (PR)

@vbaranov vbaranov changed the title Sort by address.hash column in accountlist endpoint Sort by address.hash column in accountlist API endpoint Sep 1, 2022
@vbaranov vbaranov merged commit 3ee24e1 into master Sep 1, 2022
@vbaranov vbaranov deleted the vb-accountlist-sort-by-hash branch September 1, 2022 19:37
sidhujag pushed a commit to syscoin/blockscout that referenced this pull request Sep 2, 2022
…t-by-hash

Sort by address.hash column in accountlist API endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

non-deterministic listaccounts API endpoint
1 participant