-
Notifications
You must be signed in to change notification settings - Fork 25
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
Use Vertex
from protobuf everywhere
#151
Comments
Hello @d-roak Can I work on this issue? I would like to help, I have knowledge in full stack and I would like to contribute. Thanks for the opportunity |
Hey @CristopherAguilar10! |
Assigned! If you have any questions, feel free to join our community channels: |
Taking the assignment. No updates for more than 1 week and other person interested |
Would be great if I can attempt this! |
Hey @cwkang1998! |
Re-use exisiting protobuf Vertex definition for `packages/object`, removing the need to maintain a separate TS typedef. This is done by re-exporting the protobuf-gen typedef with the same name. Since protobuf makes all its field optional by default since proto3, to address the undefined warning, a few modification is done: 1. `addToFrontier` now returns a Vertex with a defined `operation` field. 2. `merge` now ignores vertex with an undefined operation field. Alternatively we can make `merge` throw or log an error when vertex with undefined operation is received. Closes drp-tech#151.
Currently in the HashGraph we have a
Vertex
interface, should be replaced with the protobuf definitionThe text was updated successfully, but these errors were encountered: