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

Integrate wasmd #324

Merged
merged 5 commits into from
Mar 29, 2023
Merged

Integrate wasmd #324

merged 5 commits into from
Mar 29, 2023

Conversation

KonradStaniec
Copy link
Collaborator

@KonradStaniec KonradStaniec commented Mar 13, 2023

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

@KonradStaniec KonradStaniec force-pushed the integrate-wasmd branch 2 times, most recently from 8acc694 to 7b868c4 Compare March 24, 2023 12:28
@KonradStaniec KonradStaniec marked this pull request as ready for review March 24, 2023 13:34
Copy link
Member

@vitsalis vitsalis left a 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 Show resolved Hide resolved
app/app.go Show resolved Hide resolved
app/app.go Show resolved Hide resolved
app/app.go Outdated Show resolved Hide resolved
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"
Copy link
Member

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?

Copy link
Collaborator Author

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.

Copy link
Member

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

app/app.go Show resolved Hide resolved
app/app.go Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
contrib/images/babylond-dlv/Dockerfile Show resolved Hide resolved
@KonradStaniec KonradStaniec merged commit 2681179 into dev Mar 29, 2023
@KonradStaniec KonradStaniec deleted the integrate-wasmd branch March 29, 2023 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants