10000 Remove numbers.ParseList sorting side effect · Issue #2011 · ignite/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove numbers.ParseList sorting side effect #2011

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

Closed
ivanovpetr opened this issue Jan 24, 2022 · 0 comments · Fixed by #2031
Closed

Remove numbers.ParseList sorting side effect #2011

ivanovpetr opened this issue Jan 24, 2022 · 0 comments · Fixed by #2031
Assignees
Labels
Milestone

Comments

@ivanovpetr
Copy link
Contributor
ivanovpetr commented Jan 24, 2022

Package tendermint/starport/starport/pkg/numbers has function ParseList which is used for parsing list of numbers provided as a string. It sorts numbers as a side effect. It could lead to unexpected behaviour as package clients my rely on order of provided number list.

numbers.ParseList should not sort its argument and should have deterministic way of preserving list' order.

@ivanovpetr ivanovpetr added the type:request Feature request. label Jan 24, 2022
@ivanovpetr ivanovpetr self-assigned this Jan 24, 2022
@ilgooz ilgooz added this to the Next milestone Jan 25, 2022
@ivanovpetr ivanovpetr modified the milestones: Next, Network Jan 26, 2022
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 a pull request may close this issue.

2 participants
0