Skip to content

Refactor validator server naming and modules#2231

Open
sergerad wants to merge 1 commit into
sergerad-validator-startupfrom
sergerad-validator-modules
Open

Refactor validator server naming and modules#2231
sergerad wants to merge 1 commit into
sergerad-validator-startupfrom
sergerad-validator-modules

Conversation

@sergerad

@sergerad sergerad commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Stacked PR.

Creates clearer separation between validator server scaffolding (ValidatorServer) and api impl / business logic (Validator).

  • Validator renamed to ValidatorServer (has ValidatorServer::serve()) and ValidatorServer renamed to Validator
  • validator module added to validator server module
  • error renamed to ValidatorError

From

server/
    mod.rs
    sign_block.rs
    validate_block.rs
    ...

To

server/
    mod.rs
    validator/
        *.rs

@sergerad sergerad added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant