Conversation
|
Thanks for delivering the milestone, we will look into it as soon as possible. |
|
Hi. Sorry for the late reply. I started to look into your project and have a few questions/comments:
|
|
Hello! Thank you very much for your comments on our milestone on Github. Regarding your questions:
(1) Convert the Distaff VM from a binary project to a library project and make it as a native module of the Substrate node. Then make the verification function accessible via the rpc/rpc-api interface in the client directory. Right now the submitted milestone include steps (1), (2) and (3). We were working on step (4) by the time we made the milestone submission (as we understood we must submit something within one month). We were progressing a bit late than we expected, partly because of the Chinese national holiday (almost 10 days off for everyone). In addition, step (5) may involve the rewrite of related cryptographic libraries using no_std Rust. It will probably involve some research into these libraries and it is much more difficult than we expected. We are almost sure we cannot cover it within the timeframe/resource available in this open grant and we may need some external help for this. So indeed, I think we should have divided what we wanted to do/deliver with this item in more details in our open grant proposal. And for this open grant milestone, we will finish step (4) to keep only the verifier part of the VM in Substrate.
Hopefully this clarifies some of your questions. |
|
Thanks for your detailed response. As I wrote in my email, we don’t enforce the timeline in this case and give you sufficient time to integrate these changes. Could you ping me once you integrated it and also create an amendment/PR to update the original contract, reflecting those changes: https://github.com/w3f/Open-Grants-Program/blob/master/applications/starks_network.md Regarding 5, just for clarification, so currently there is nothing actually stored on-chain, correct? |
Thank you for your response. We will make the integrations needed and submit the changes later on. Concerning 5, yes, at this moment nothing will be stored on-chain yet. |
|
@Noc2 Hello! We have updated the milestone delivery. Please check it out. Regarding previous questions:
We have also modified the open grant proposal to reflect the actual work we have done at this stage. The PR to change the proposal is here. Please feel free to commenting in case of any questions. Thank you! |
|
@xz-cn Thanks for the update. Now that the amendment is merged, I took another look at your delivery, but it seems the distaff vm pallet isn’t integrated into the runtime (e.g. it neither shows up under chainstate nor under extrinsics in polkadot.js). Also the inline documentation is still based on the template here. Could you improve this? |
@Noc2 Thank you for your comments. Yes we can further integrate the pallet into the runtime. |
|
@Noc2 We have integrated the vm pallet into the node runtime and now it is visible under extrinsics in polkadot.js UI. The inline documentation have also been improved. Please have a look. Thank you! |
|
Thanks for fixing everything. I’m happy to confirm that this milestone is a pass! I made some notes regarding the evaluation here and I will forward your invoice internally. |
|
@Noc2 Thank you very much for your review and support! |
Substrate startkit GUI Grant application revision
Milestone Delivery Checklist
Link to the application pull request: w3f/Grants-Program#55