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

Remove repeated get in GetTotalShares #5849

Merged
merged 6 commits into from
Jul 28, 2023
Merged

Conversation

ValarDragon
Copy link
Member

This PR removes a repeated get in GetTotalShares, and the error that would occur.

As a consequence, enables a very mild optimization in one of the callers as well.

This is covered by existing tests. Its left as a draft PR until the parent PR gets in.

@ValarDragon ValarDragon added the V:state/breaking State machine breaking PR label Jul 15, 2023
Base automatically changed from dev/make_accum_package_ptrs to main July 18, 2023 11:06
@ValarDragon ValarDragon marked this pull request as ready for review July 28, 2023 16:36
Copy link
Member

@czarcas7ic czarcas7ic left a comment

Choose a reason for hiding this comment

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

👍

@ValarDragon ValarDragon merged commit 8bb2ab1 into main Jul 28, 2023
@ValarDragon ValarDragon deleted the dev/remove_repeated_accum_gets branch July 28, 2023 18:08
VitalyV1337 pushed a commit to VitalyV1337/osmosis-1 that referenced this pull request Jul 31, 2023
* Make accumulator objects more consistently pointers throughout

* Update go mod

* Remove repeated get in GetTotalShares

* fix osmoutils version

* changelog update
@github-actions github-actions bot mentioned this pull request Apr 1, 2024
@github-actions github-actions bot mentioned this pull request Apr 15, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants