Skip to content

refactor: governance dto compat - #4000

Draft
SimonRastikian wants to merge 8 commits into
mainfrom
3903-pr5-governance-dto-compat
Draft

refactor: governance dto compat#4000
SimonRastikian wants to merge 8 commits into
mainfrom
3903-pr5-governance-dto-compat

Conversation

@SimonRastikian

Copy link
Copy Markdown
Contributor

closes partly #3903.
This PR introduces the governance threshold terminology in the smart contract. This implied changing the smart contract which could affect migration. Thus we introduced Compat structs

SimonRastikian and others added 8 commits July 23, 2026 11:44
- Rename test `validate_threshold__should_not_produce_empty_window_for_small_n`
  -> `validate_governance_threshold__should_...` so the system-under-test
  prefix matches the renamed function.
- Update the stale `validate_threshold` references in
  docs/design/domain-separation.md to `validate_domain_reconstruction_threshold`:
  in that doc `validate_threshold` validates a key's reconstruction threshold,
  so it maps to the reconstruction validator, not the governance one.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rename the Threshold/ThresholdParameters type family to the Governance*
family across all crates (except threshold-signatures). Type-name-only
change; serde uses field names and borsh is positional, so no wire
change. Regenerates borsh + ABI schema snapshots (definition names +
alphabetical order only; field names unchanged).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@SimonRastikian

Copy link
Copy Markdown
Contributor Author

The TODO(XXXX) will be added once the PR is validated

@SimonRastikian
SimonRastikian marked this pull request as draft July 29, 2026 08:41
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.

1 participant