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

Make osmoutils store + module account tests not import osmosis #3775

Merged
merged 2 commits into from
Dec 19, 2022

Conversation

ValarDragon
Copy link
Member

No description provided.

@ValarDragon ValarDragon added V:state/compatible/backport State machine compatible PR, should be backported A:backport/v13.x backport patches to v13.x branch labels Dec 17, 2022
@ValarDragon
Copy link
Member Author

ValarDragon commented Dec 18, 2022

Woah, I wrote a description for this PR. Must have had some issue with it not getting into github, sorry about that

Thank you for the review w/ that issue present!

Rewrote the PR desc for future ref:

This PR is part of moving osmoutils into its own go.mod. osmoutils depended on the osmosis app for wiring an auth keeper, and a custom store w/ a ctx.

This PR makes helpers to make ctxs' more easily with no integrated osmosis app. Its expected to be able to use this in x/epochs and x/downtime-detector as well. unfortunately to wire the auth keeper, we also had to wire params, which took many lines of code.

What remains to migrate osmoutils:

  • move osmoassert into an osmoutils sub-folder
  • Change the twaptypes import in tests, to be any other proto message in SDK, thats not "sdk.ProtoDec"

@ValarDragon ValarDragon merged commit 793bb50 into main Dec 19, 2022
@ValarDragon ValarDragon deleted the dev/make_osmoutils_tests_not_integrated branch December 19, 2022 15:25
mergify bot pushed a commit that referenced this pull request Dec 19, 2022
* Satisfy store_helper code

* Make osmoutils tests not integrated

(cherry picked from commit 793bb50)
ValarDragon added a commit that referenced this pull request Dec 19, 2022
#3789)

* Satisfy store_helper code

* Make osmoutils tests not integrated

(cherry picked from commit 793bb50)

Co-authored-by: Dev Ojha <[email protected]>
nicolaslara pushed a commit that referenced this pull request Dec 19, 2022
* Satisfy store_helper code

* Make osmoutils tests not integrated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:backport/v13.x backport patches to v13.x branch V:state/compatible/backport State machine compatible PR, should be backported
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants