Skip to content

security: Separate modules for non-core code #193

Open

Description

@thanethomson

At present, we have several sub-programs within the repository that are not critical to the functioning of the core software, but whose dependencies are tracked as part of the main project's module. This means that it's harder for us to track which dependencies are really necessary for the core code, and this makes it harder to assess the security risk associated with those dependencies.

For instance:

  • test/e2e contains our E2E tests, but these are not built into a CometBFT binary
  • test/loadtime contains a tool to assist us with QA, but also is not built into the CometBFT binary

We should create separate Go modules for each of these "sub-programs" so as to reduce the number of dependencies in the core go.mod file for CometBFT.

Activity

  1. added
    dependencies
    P:tech-debt
    on Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P:tech-debtdependenciessecurity

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions