-
Notifications
You must be signed in to change notification settings - Fork 170
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
Integrate wasmd #324
Integrate wasmd #324
Conversation
8acc694
to
7b868c4
Compare
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.
Mostly a few questions:
app/app.go
Outdated
// The last arguments can contain custom message handlers, and custom query handlers, | ||
// if we want to allow any custom callbacks | ||
// See https://github.com/CosmWasm/cosmwasm/blob/main/docs/CAPABILITIES-BUILT-IN.md | ||
availableCapabilities := "iterator,staking,stargate,cosmwasm_1_1,cosmwasm_1_2" |
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.
Can we define this to a more visible place?
Further, what's the reasoning behind the decision to enable those?
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.
iterator
seems like really basic feature to have (it enables iteration over keystore in smart contract)
stargate
is IBC so seems useful
cosmwasm_1_1,cosmwasm_1_2
are just some new feature added to cosmwasm, so it is probably be good to be up to date
One thing which is debatable is staking
.
In general, I can create some ADR which describes all capabilities first and then we may talk it out on some eng meeting. Current version is just reasonable default. I will left TODO here.
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.
Sounds good to me, let's nail down the capabilities we want to have enabled
5f1089a
to
ef416fa
Compare
Initial integration with wasmd.
Currently it uses this commit of wasmd repo - https://github.com/CosmWasm/wasmd/tree/7e936c7fffb6f489ed9ecb797a7a2823a032b10b
There will be at least one follow up task - #335