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

feat(osmoutils): coin math helpers #6427

Merged
merged 4 commits into from
Sep 18, 2023
Merged

feat(osmoutils): coin math helpers #6427

merged 4 commits into from
Sep 18, 2023

Conversation

p0mvn
Copy link
Member

@p0mvn p0mvn commented Sep 18, 2023

Closes: #XXX

What is the purpose of the change

Reimplemented the same functionality 3 times while working on volume splitting.

Realized that upstream SDK supports a subset of these but not all.

I think it still makes sense to have them in our osmoutils for the speed of iteration and exhaustive support

Testing and Verifying

  • Added tests

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes?
  • Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

  • Specification (x/{module}/README.md)
  • Osmosis documentation site
  • Code comments?
  • N/A

@github-actions
Copy link
Contributor

Important Notice

This PR modifies an in-repo Go module. It is one of:

  • osmomath
  • osmoutils
  • x/ibc-hooks
  • x/epochs

The dependent Go modules, especially the root one, will have to be
updated to reflect the changes. Failing to do so might cause e2e to fail.

Please follow the instructions below:

  1. Open https://github.com/osmosis/osmosis/actions/workflows/go-mod-auto-bump.yml
  2. Provide the current branch name
  3. On success, confirm if an automated commit corretly updated the go.mod and go.sum files

Please let us know if you need any help.

@p0mvn p0mvn added V:state/compatible/backport State machine compatible PR, should be backported A:backport/v19.x backport patches to v19.x branch labels Sep 18, 2023
@p0mvn
Copy link
Member Author

p0mvn commented Sep 18, 2023

Merging with one ACK since helpers are simple and the majority of the diff is stemming from code duplication of similar helpers

@p0mvn p0mvn merged commit d00cb3e into main Sep 18, 2023
1 check passed
@p0mvn p0mvn deleted the roman/coin-math-helpers branch September 18, 2023 21:18
mergify bot pushed a commit that referenced this pull request Sep 18, 2023
* feat(osmoutils): coin math helpers

* updates

* go mod

(cherry picked from commit d00cb3e)

# Conflicts:
#	CHANGELOG.md
#	go.mod
#	go.sum
p0mvn added a commit that referenced this pull request Sep 19, 2023
p0mvn added a commit that referenced this pull request Sep 20, 2023
p0mvn added a commit that referenced this pull request Sep 20, 2023
p0mvn added a commit that referenced this pull request Sep 20, 2023
* feat(osmoutils): coin math helpers (backport #6427)

* go mod

* updates

---------

Co-authored-by: roman <roman@osmosis.team>
@github-actions github-actions bot mentioned this pull request Mar 15, 2024
@github-actions github-actions bot mentioned this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:backport/v19.x backport patches to v19.x branch V:state/compatible/backport State machine compatible PR, should be backported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants