Skip to content

Split root package into common/ and simplex/ packages#404

Merged
yacovm merged 1 commit into
mainfrom
movepackages
Jun 12, 2026
Merged

Split root package into common/ and simplex/ packages#404
yacovm merged 1 commit into
mainfrom
movepackages

Conversation

@yacovm

@yacovm yacovm commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Split root package into common/ and simplex/ packages

Move the files that lived at the repository root into dedicated
packages and update all import paths and package declarations to match.
No behavioral changes — this is a pure relocation/refactor.

  • common/: shared protocol types and helpers (api, blacklist, encoding, global, metadata, msg, notarization) plus their tests.
  • simplex/: the Simplex protocol implementation (epoch, block scheduler, monitor, replication, requestor, sched, timeout handler, util) plus their tests and the long-running/fuzz/recovery/pos test suites. Will now be instantiated as: "simplex.Epoch" as it should.

Update references in the msm, testutil, and wal packages to point at the
new locations.

Split root package into common/ and simplex/ packages

  Move the files that lived at the repository root into dedicated
  packages and update all import paths and package declarations to match.
  No behavioral changes — this is a pure relocation/refactor.

  - common/: shared protocol types and helpers (api, blacklist, encoding,
    global, metadata, msg, notarization) plus their tests.
  - simplex/: the Simplex protocol implementation (epoch, block scheduler, monitor,
    replication, requestor, sched, timeout handler, util) plus their tests
    and the long-running/fuzz/recovery/pos test suites.
    Will now be instantiated as: "simplex.Epoch" as it should.

  Update references in the msm, testutil, and wal packages to point at the
  new locations.

Signed-off-by: Yacov Manevich <yacov.manevich@avalabs.org>
@yacovm yacovm merged commit 1a092b6 into main Jun 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants