-
Notifications
You must be signed in to change notification settings - Fork 522
App v2 update #1373
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
base: app_v2
Are you sure you want to change the base?
App v2 update #1373
Conversation
alpe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good start, let's add the module to app_v2_config.go and remove setup and legacy registration from app_v2.go
x/wasm/module.go
Outdated
| depinject.Out | ||
|
|
||
| Module appmodule.AppModule | ||
| WasmKeeper *Keeper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice, if we can setup and return the scopedWasmKeeper as well.
x/wasm/module.go
Outdated
| WasmKeeper *Keeper | ||
| } | ||
|
|
||
| func provideModule(in wasmInputs) wasmOutputs { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this function needs to be public or will cause an error on DI
| func provideModule(in wasmInputs) wasmOutputs { | |
| func ProvideModule(in wasmInputs) wasmOutputs { |
x/wasm/module.go
Outdated
| depinject.Out | ||
|
|
||
| Module appmodule.AppModule | ||
| WasmKeeper *Keeper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
app_v2.go expects as value of the wasm Keeper. Either change it there or here
See #1286
Blocked on ibc-go