-
Notifications
You must be signed in to change notification settings - Fork 589
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
AutoCLI Tracking Issue #3499
Comments
Why does CLI have any need for simulation? |
for the purpose of demonstrating that it works. I should have clarified that, my bad |
it will only be there while it is draft, I will remove it prior to merging |
@ValarDragon splice into the osmosis-sdk, or work on a v47 upgrade? Getting reports currently that bringing autocli into sdk v45, will cause breakages when Osmosis moves to cosmos-sdk v0.47.* Today's workshop is on autocli again, so we're all poking at it currently. What doesn't work
|
I'd say autocli does not work due to app-wiring absence in sdk45 of osmosis |
Okay, let's do what the SDK team recommended, and table this for a little bit. Let's keep your research at the ready and thank you so much for really digging deep into this. Oh and one more thanks for finishing up my half written issue. That's kind of a habit of mine, I... anyway thank you before I start another half written issue. :) |
Should we close this for now, in favor of |
Draft PR: #3485
Abstract
Due to the fact that
autocli
is already implemented in SDK (even though it does not provide much functionality yet), the main goal is to follow SDK's approach to make the same thing possible for Osmosis.Checklist for implementing SDK's features
client/v2
folder (aka api types)/runtime
module to Osmosis's SDK forkAuto CLI commands checklist by module
* Will create PR for each module
Possible Problems
Osmosis's SDK fork has drastically fallen behind original SDK. Because of that a lot of additions to the current Osmosis's SDK are required. In addition, a lot of api changes will be needed because of that. At this point, I do not know wether it would be better to continue mimicking SDK's
AutoCLI
approach or rewrite it from scratch the way we need it.Dependency Injection. As to my knowledge, Osmosis does not wish to deal with
depinject
package. This may also require to rewriteAutoCLI
as we want, because SDK's approach usesdepinject
. However:AppConfig
(application configurations of every module) intoAppOptions
(application options for every module, which are needed during cobra commands generations)depinject
These are the only problems I can think of currently.
Will be updating this issue in time.
The text was updated successfully, but these errors were encountered: