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

Correct order for migrated contracts #323

Closed
alpe opened this issue Nov 24, 2020 · 0 comments · Fixed by #497
Closed

Correct order for migrated contracts #323

alpe opened this issue Nov 24, 2020 · 0 comments · Fixed by #497
Assignees
Labels
bug Something isn't working
Milestone

Comments

@alpe
Copy link
Contributor

alpe commented Nov 24, 2020

Currently we use the ContractInfo.Created marker as source for sorting. When a contract is migrate to a new code id the list contract by code id query should use the migration date instead.

With the GetContractByCreatedSecondaryIndexKey second index this can be implemented easily

@alpe alpe added the bug Something isn't working label Dec 14, 2020
@alpe alpe added this to the v0.16.0 milestone Jan 29, 2021
@alpe alpe self-assigned this Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant