Skip to content

feat: share protobuf definitions in sub-module with nwaku #2410

@adklempner

Description

@adklempner

Description

Currently, we manually make updates to the protobuf definitions. This introduces potential incompatibility errors with nwaku (or any other project that uses the protocol).

User Story

As a developer, I want to be able to sync changes to the protobuf definitions without it affecting the repositories code-generation tools.

Proposed Solution / Feature Design

Have a shared repo for just protobuf files as a sub-module in js-waku and nwaku. Use a separate branch for each that can be manually synced using git. Both groups of maintainers can verify that the projects are using the same exact set of protobuf files by using the same commit hash (and vice versa, detect when the protobuf files are out of sync).

Optional: Diagram or Draft of Design

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions