-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
CosmWasmVM #1430
CosmWasmVM #1430
Conversation
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.
Thanks a lot for the application. In general, this looks really interesting. I would like to understand better what functionality will be supported after you submit your first milestone. Will I be able to deploy a cosmwasm smart contract on this (see https://docs.cosmwasm.com/docs/1.0/smart-contracts/contract-semantics) on your pallet?
First milestone is basically functional parity with Cosmwasm according to the official spec, and usable for developers and other parachains, however with poor DX from a contract authors perspective. (No React contract bindings and other goodies). So yes, production-ready contract deployment is the goal 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.
@KaiserKarel Thanks for the super quick reply. Sounds very good. Could you try to integrate this into the milestone 1 table, which basically shows the requirements of the contract, and we will use it to evaluate the delivery? It would be nice actually to deploy such a smart contract as part of milestone 1 for testing, or is there a potential test tool or something similar that we can use to evaluate the functional parity with Cosmwasm?
Yeah I'll edit the milestone. The deliverable showcase will be: A local network setup running a substrate chain with the pallet and a contract showing the functionality described in the milestones, so that it can be inspected and called through Polkadotjs.org. |
Great. Let me know once you have updated it. |
Applied the suggestion from @Noc2 as requested by @KaiserKarel |
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.
Thanks for the update. I'm happy to go ahead with it and share it with the rest of the team.
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.
Looks good!
Congratulations and welcome to the Web3 Foundation Grants Program! Please refer to our Milestone Delivery repository for instructions on how to submit milestones and invoices, our FAQ for frequently asked questions and the support section of our README for more ways to find answers to your questions. |
Hi @martin-kiss & @KaiserKarel, would you mind sharing an update on the project? |
pinging @martin-kiss |
@martin-kiss and I have left Composable, as have other principal engineers. I suggest contacting the current CEO. The original authors of the CosmwasmVM are no longer employed there, so I am unsure if the current status. |
Thanks for the info, @KaiserKarel. Pinging @hussein-aitlahcen, @dzmitry-lahoda and @mina86 then. Do you know what the status of the project and the first milestone is? |
pinged Jafar from Composable. he works on proposals |
Hello @semuelle @keeganquigley, just a quick update on our development progress. For milestone 1:
For milestone 2:
|
I have forked and made no_std support for more CW code (+2 repos with relevant prs and updates to 2 previous forks) to make CW contracts no_std enabled, to allow use of no_std wasm SP crates with CW crates in same contract, and updated CW+wasmi to latest version. So it it just enables possible XCM/extrinsics integration, but not does it per ce. CW things to have no_std with 2.0 in September 2023. |
Thanks for the update, @JafarAz & @dzmitry-lahoda. Happy to hear things are progressing. Can you please review the timeline you have provided in the application and, if there is much further delay, please submit an amendment? |
@JafarAz @dzmitry-lahoda are you able to provide an update? |
There are 2 project are built on top of CW in Picasso, one is pure on chain defi protocol, other I am on is multichain swap. We use this https://github.com/ComposableFi/composable/blob/main/docs/docs/products/cosmwasm/deploy-and-run-cosmwasm-contracts-with-pdjs.md <- this is how it works with PD.js app. https://github.com/ComposableFi/composable/tree/main/code/parachain/frame/cosmwasm/cli This is how it works via Cosmos like CLI. We wrap pallets into precompiles which look like contracts (pallet id -> account = contract address). Example of usage 145 We done https://github.com/ComposableFi/composable/blob/main/rfcs/0015-one-signature-multihop-transfer-solution-ibc-xcm.md IBC XCM multi chain transfers, and doing IBC XCM swaps (here will use XCM and IBC and other pallets precompiles). I guess in couple of weeks we have at least one solution running on CW in Substrate connecting ecosystems. |
Thanks @dzmitry-lahoda for the development update. Does this mean you plan to submit a delivery within the next couple weeks? If it's any longer than that I would agree with @semuelle that an amendment would be needed. Thanks! |
@keeganquigley sure we can amend the duration on the proposal. |
@JafarAz thanks much appreciated! Yep, feel free to change the timeline on the original proposal and create a pull request. The PR will need 3 approvals, but this should happen rather quickly, and will take the pressure off. |
Hi @JafarAz do you still plan to submit an amendment? |
Hi @keeganquigley apologies for the delay. Will get to it this week |
Here is overview of Milestone 1 delivery https://github.com/ComposableFi/composable/blob/main/docs/docs/internal/cosmwasm.md . From Milestone 2, mostly done. I see from what remaining. Article - do we have one? AFAIK we have published product documents explaining these things? PolkadotJS interacts well with contracts to execute transactions, but for query we lack seems (need to make it easy using PD.js via storage tab or via CLI parameter --query raw to dump whole state like in Cosmos SDK). |
Hey @dzmitry-lahoda, we are still waiting to hear back from @JafarAz on the contract amendment linked above. Can you look into it? |
Hi @martin-kiss for the sake of transparency, would you possibly be able to confirm these comments regarding change in personnel? Thanks. EDIT: I see this was already addressed above, so we should be okay to proceed with the milestone evaluation. |
Project Abstract
Composable Finance focuses on trustless, cross-chain communications between Polkadot and other ecosystems. We are developing the first CosmWasm VM implementation in Substrate for the Polkadot and Kusama ecosystems.
In this case, a CosmWasm VM is a supplementary component to onboarding a new developer community and a widely adopted smart contract framework.
Our target audience consists of parachain builders, and dApps in the Dotsama ecosystem that want to leverage a WASM based smart contracting framework.
Grant level
Application Checklist
project_name.md
).@_______:matrix.org
(change the homeserver if you use a different one)