Skip to content

SC-W5-029: add get_version_info endpoint for backend negotiation#331

Merged
mxllv merged 2 commits into
OpSoll:mainfrom
yasinmuhd:sc-w5-029-031-032-033-upgrade-safety
May 31, 2026
Merged

SC-W5-029: add get_version_info endpoint for backend negotiation#331
mxllv merged 2 commits into
OpSoll:mainfrom
yasinmuhd:sc-w5-029-031-032-033-upgrade-safety

Conversation

@yasinmuhd
Copy link
Copy Markdown
Contributor

@yasinmuhd yasinmuhd commented May 30, 2026

  • Add VersionInfo contracttype combining storage_version, result_schema_version, needs_migration, is_paused, and contract_name in a single read
  • Add get_version_info() bypassing check_version so it's callable pre-migration
  • Add 7 tests: happy path, paused/unpaused reflection, determinism, calc invariance, uninitialized panic, and post-migrate state
  • Extend offchain helpers (governanceConsistency, readCostRegression, eventSizeRegression) with SC-W5-029 version negotiation coverage

Closes #230
Closes #231
Closes #232
Closes #233

yasinmuhd and others added 2 commits May 30, 2026 12:18
- Add VersionInfo contracttype combining storage_version, result_schema_version,
  needs_migration, is_paused, and contract_name in a single read
- Add get_version_info() bypassing check_version so it's callable pre-migration
- Add 7 tests: happy path, paused/unpaused reflection, determinism, calc invariance,
  uninitialized panic, and post-migrate state
- Extend offchain helpers (governanceConsistency, readCostRegression,
  eventSizeRegression) with SC-W5-029 version negotiation coverage

Closes OpSoll#230
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 31, 2026

@yasinmuhd Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mxllv mxllv merged commit dea1ac6 into OpSoll:main May 31, 2026
0 of 3 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

2 participants