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

style: lint stableswap the same as the rest of osmosis #5105

Merged
merged 3 commits into from
May 7, 2023

Conversation

faddat
Copy link
Member

@faddat faddat commented May 7, 2023

What is the purpose of the change

This PR applies the same linting standards to x/stableswap as are applied to the rest of Osmosis overall.

Brief Changelog

There was a good deal of code in the "main functions" that was only being used for tests. This PR moves that code into the tests, so that there's no longer warnings about it being unused.

Testing and Verifying

This change is a trivial rework / code cleanup without any test coverage.

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes? no
  • Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? yes
  • How is the feature or change documented? not applicable

@github-actions github-actions bot added C:x/gamm Changes, features and bugs related to the gamm module. T:CI labels May 7, 2023
@faddat faddat mentioned this pull request May 7, 2023
@faddat faddat added V:state/compatible/backport State machine compatible PR, should be backported A:backport/v15.x backport patches to v15.x branch labels May 7, 2023
Copy link
Member

@pysel pysel left a comment

Choose a reason for hiding this comment

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

LGTM!

@czarcas7ic czarcas7ic merged commit c1c96f4 into main May 7, 2023
@czarcas7ic czarcas7ic deleted the faddat/treat-stableswap-same branch May 7, 2023 15:10
mergify bot pushed a commit that referenced this pull request May 7, 2023
* sync

* lint stableswap in the same manner as any other component of Osmosis

* add changelog entry

(cherry picked from commit c1c96f4)

# Conflicts:
#	CHANGELOG.md
#	go.sum
#	tests/cl-go-client/go.mod
#	tests/cl-go-client/go.sum
faddat added a commit that referenced this pull request May 9, 2023
* sync

* lint stableswap in the same manner as any other component of Osmosis

* add changelog entry
pysel pushed a commit that referenced this pull request Jun 6, 2023
* sync

* lint stableswap in the same manner as any other component of Osmosis

* add changelog entry
@github-actions github-actions bot mentioned this pull request Mar 1, 2024
@github-actions github-actions bot mentioned this pull request May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:backport/v15.x backport patches to v15.x branch C:x/gamm Changes, features and bugs related to the gamm module. T:CI V:state/compatible/backport State machine compatible PR, should be backported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants