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

Refactoring so that it can be implemented like a higher-order function without using coswasmAPIImpl #42

Open
da1suk8 opened this issue Apr 28, 2023 · 0 comments

Comments

@da1suk8
Copy link
Member

da1suk8 commented Apr 28, 2023

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
}

@da1suk8 da1suk8 changed the title Refactoring so that it can be implemented like a function without using coswasmAPIImpl Refactoring so that it can be implemented like a higher-order function without using coswasmAPIImpl Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant