Deliverable: Research Feasibility of a Java Host#735
Conversation
Signed-off-by: Daniel-K-Ivanov <daniel.k.ivanov95@gmail.com>
…va-host Java Host Research Outcome
Signed-off-by: Daniel-K-Ivanov <daniel.k.ivanov95@gmail.com>
…va-host format(deliverable): link specific commit
Signed-off-by: Daniel-K-Ivanov <daniel.k.ivanov95@gmail.com>
Signed-off-by: Daniel-K-Ivanov <daniel.k.ivanov95@gmail.com>
Signed-off-by: Daniel-K-Ivanov <daniel.k.ivanov95@gmail.com>
Signed-off-by: Daniel-K-Ivanov <daniel.k.ivanov95@gmail.com>
|
Thanks for the delivery, @Daniel-K-Ivanov. I will look into it as soon as possible. |
bhargavbh
left a comment
There was a problem hiding this comment.
Overall Evaluation:
The feasibility research has been performed in sufficient detail with clear findings (positive/negative) for each of the subcomponents. The report is well structured and is a good starting point for teams to build a Java node implementation, and nicely complements the spec.
As mentioned in the grant application, a PoC for testing the performance and compatibility of a Wasm Runtime within Java has been delivered. The performance on small-scale benchmarks are promising. Milestones outlined in the application have been satisfactorily delivered.
I have looked into the light client design in details and here are a few comments.
Evaluation of Java Light Client Design:
-
Network: Are there any optimisations/ tunings planned for peer discovery of light-clients in comparison to Full nodes. The requirements and settings are different, and I would assume implementing the same peer discovery for both cases would lose out on intent-specific optimisations. By design, light-clients peer with fewer nodes in comparison to full nodes. In optimal cases, syncing with a single honest node is sufficient. However, it usually has to sync with at least a few when initially joining the network (due to weak subjectivity).
-
Database: could you please add more details on how you plan to use the persistence layer to store checkpoints and reliable nodes to sync with? This might be a potential attack surface. Our current light-client architecture does not provide a channel to report equivocation back to the network, which means the full nodes can attempt to mislead the light-client without being reported.
-
Host Configuration: The Diagram in the document has a sub-component called
Host Configuration. What are the parameters of this configuration? Why does it sit between thenetworkandcorelayers? I was unable to find any details in the text.
|
Hi @bhargavbh, thanks for the feedback and the comments. I'll try to address them here:
We're open to suggestion for any of these points. Even though we've conducted a thorough research into the inner workings of the host, we're still far from the knowledge that people at Parity or the host's core developers have. Our team hopes that one day we'll be at the tip of the knowledge in the Polkadot community as well. |
|
Hey @bhargavbh, @semuelle. Have you managed to take a look at our reply to your comments? Do we need to update the reasearch outcome documents or the discussion will be kept here? |
|
hi @vikinatora thank your for the replies. Of course, comments-1&2 were exploratory, however, i would suggest integrating your clarification on Host Config in the research doc. My colleague @FlorianFranzen is evaluating the PoC WASM environment deliverable, and will reply here soon. Cheers |
|
Thanks for the info @bhargavbh, I updated the Light Client design document to have information about the Host Configuration module. Looking forward to hearing from you. |
Noc2
left a comment
There was a problem hiding this comment.
Sorry for the delay here. I'm finally happy to tell you that the milestone is approved and I will forward your invoice internally. See our notes here
|
Congratulations on completing the first milestone of this grant! As part of the Grants Program, we want to help grant recipients acknowledge their grants publicly. To that end, we’ve created a badge for projects that successfully deliver their first milestone. Please use the badge only in reference to the work that has been completed as part of this grant, so please do not display it on your team or project's homepage unless accompanied by a short description of the grant. Furthermore, you're now welcome to announce the grant publicly. Please remember to observe the foundation’s guidelines in doing so. If you haven't already, reach out to grantsPR@web3.foundation for feedback on your announcement and cross-promotion. |
|
We noticed that this is the last milestone of your project. Congratulations on completing your grant! |
|
Hi @vikinatora, Can you please let us know in which currency you want to be paid in? Many thanks, |
|
Hi @fededubbi, Address is eth:0x1F7683228Ee9Bc65335374eA5c92B81C74131404 (USDC/USDT/DAI). Thank you, |
|
Hi @vikinatora, Yes, but which of these 3 currencies you prefer to be paid in? Many thanks, |
|
Hey @fededubbi, DAI is preferred. Thanks, |
|
hi @vikinatora we transferred the payment today. we had to do the transfer in USDC due to liquidity constraints. thanks! |
Milestone Delivery Checklist
Link to the application pull request: w3f/Grants-Program#1353