Skip to content

docs(book): versioned-dispatch chapter contradicts the in-place exception in the coding conventions #5619

Open

Description

@shumkov

book/src/contributing/coding-conventions.md allows editing a shipped generation in place when the edit provably cannot modify consensus, with the reason recorded in the PR's "In-place changes to shipped generations" section. book/src/versioning/versioned-dispatch.md still states the absolute rule:

  • line 116: "Both v0 and v1 implementations coexist in the binary. Old code is never deleted …";
  • line 745: "Never modify a shipped generation, not even by threading a parameter …".

#5559 removed a v1 wrapper of verify_state_transition_was_executed_with_proof under the in-place exception, which the dispatch chapter would forbid. Point both paragraphs at the exception so the two chapters agree.

Activity

  1. added this to the v5.1.0 milestone on Oct 28, 2026
  2. added
    documentation
    on Oct 28, 2026
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

    documentation

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions