Since cosmwasmAPIGeneratorImpl was added in #41, and it is not good that cosmwasmAPIImpl and cosmwasmAPIGeneratorImpl coexist, I think it would be better to abolish cosmwasmAPIImpl and define it as a higher-order function and use that.
|
type cosmwasmAPIImpl struct { |
|
keeper *Keeper |
|
ctx *sdk.Context |
|
} |
Since
cosmwasmAPIGeneratorImplwas added in #41, and it is not good thatcosmwasmAPIImplandcosmwasmAPIGeneratorImplcoexist, I think it would be better to abolishcosmwasmAPIImpland define it as a higher-order function and use that.wasmd/x/wasmplus/keeper/api.go
Lines 13 to 16 in d6ea9ec