-
Notifications
You must be signed in to change notification settings - Fork 528
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
zk-plonk delivery milestone 1 #326
Conversation
Thanks for the delivery, @noctrlz. We will look into it as soon as possible. |
Hi again @noctrlz! I've started looking into your delivery and so far it looks mostly good. dependencies
I don't understand why renaming Examples
Please let me know once you've address the above issues & comments, so we can proceed further, and thanks for all the great work so far! |
Hi @mmagician DependenciesI changed the dependencies name as following.
Previous crates were yanked.
The reason why I re-export the
The Examples
I removed the Question
How did you test with Thank you for the polite review! |
But do you really need to publish to crates.io? Regarding local testing: I followed your tutorial to add the pallet to a substrate-node-template, see my previous comment. You should be able to clone my repo and test locally too. I'm not sure deleting types.json is the best solution - there are some custom types and users should be able to use them from whatever client they choose (e.g. the Polkadot-js API will need types definition). |
Thank you for the fast reply!
In the case that When we publish the crate with Github dependencies, the following error happens.
I think in my tutorial, there is no description about
Yeah, I think that type definition should be in |
So I'm saying - don't publish it :) just keep it on github, and developers can use it as described here: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories
No, of course not. But in their own
Absolutely nothing wrong with that! As a reference, you can see how some of Polkadot's dependencies are specified: https://github.com/paritytech/polkadot/blob/master/runtime/parachains/Cargo.toml#L21
No, there isn't. It's just what I used for testing a minimal chain with your pallet, which is not a unit test. I don't have any script, I just tried to run my chain locally and interact with its pallets via polkadot-js/apps. Otherwise, I can't really test it properly, since, as I said, the tests you provide are only unit tests and cannot be used to substitute a full integration test. Btw, here are some minor improvements to the tutorial: |
Aha that makes sense!
I think this grant project purpose is to implement plonk pallet which can be referred from other pallet as api.
hahaha cool! |
Yeah, fair. The deliveries clearly state just unit tests.
Sure. |
I fixed the dependencies according to your review!
I found the issue about I would appreciate it if you could confirm the chages! |
Hmm yeah I've seen this PR some time ago. However, I'm using the latest version of polkadot-js and still seeing this. Thanks for updating the dependencies, will check on it soon. |
I would like to know how you submitted transaction. |
@noctrlz any updates? Were you able to reproduce the error? |
@mmagician Sorry for late... |
@noctrlz I'll put this milestone on hold for now, as it seems the issue hasn't been resolved yet. |
Hi @mmagician |
Hi @mmagician |
@noctrlz apologies for the delay. So far I haven't managed to review your changes. I will do my best next week and if not, ask another colleague to help out. Thanks for the patience! |
@mmagician |
@noctrlz I'll take a look at this. In your application, you describe this sequence of steps to build a circuit. Could you provide documentation covering all the steps? I haven't followed the tutorial you provide, but it seems to be quite a different process from that. Also, where can I review the circuit template library you mention? Besides, could you make sure your project complies with the dusk-network plonk license? If you're using files from it, you must preserve copyright and license notices. You also need to add a license to your repository. |
@noctrlz friendly reminder. |
Hi @alxs !
As we told here, this grant scope was to implement pallet, and how to deploy and interact with node is described as substrate documentation.
The custom circuit is following.
Exactly! |
The application also lists the following as in scope for this milestone, and I can't find either:
|
Thank you for the review! @alxs
This is described in following section.
This is described in following section.
This question seems the same question as above. |
Yeah ok, I fundamentally misunderstood what was being delivered here. The delivery looks good. I was confused by the wording at places, such as this being called a "circuit template library" (though what it provides are rather components with which to build a circuit) and the multiple mentions of this allowing a developer to build their own circuit, while that's really the PLONK library's feat and you're "just" integrating it. Nevertheless, this is irrelevant to the implementation and I was able to successfully test a simple trusted setup. I'm happy to tell you that the milestone is a pass. You can find my evaluation notes here. I'll notify the operations team to pay out your invoice. |
Hi @alxs
Yeah the zk has a lot of terminologies so kind of a hard. |
Hi @alxs |
Hi @noctrlz Many thanks. |
Hi @meldien |
Hi @noctrlz |
hi @noctrlz we transferred the payment today. thanks! |
Hi @RouvenP |
Milestone Delivery Checklist
Link to the application pull request: w3f/Grants-Program#454