Skip to content

feat: storage schema versioning, migrate() entrypoints and pinned upg… - #156

Merged
dami-005 merged 2 commits into
Zenith-options:mainfrom
ubermensh-323:feat/schema-versioning-migrations
Sep 30, 2026
Merged

dami-005 merged 2 commits into
Zenith-options:mainfrom
ubermensh-323:feat/schema-versioning-migrations

Conversation

@ubermensh-323

Copy link
Copy Markdown

Closes #122
Closes #121
Closes #123
Closes #120

…rades

- common: zenith_common::migrations (SchemaVersion, ordered migrate(from, to),
  paginated migrate_batch(cursor, limit), MigrationInProgress guard) and
  zenith_common::upgrade (pinned multisig, hash-bound action ids)
- params, governor, staking, streams, grants_escrow: fully wired
- price_oracle, vault: upgrade / upgrade_via_multisig (pinned) and migrate
  entrypoints; options_market, timelock: migrate entrypoints
- multisig: unanimous (N-of-N) self-upgrade with a 3-day delay
- docs/migrations.md authoring guide and README upgrade section
- migration harness tests in common, wiring tests in params
@drips-wave

drips-wave Bot commented Sep 30, 2026

Copy link
Copy Markdown

@ubermensh-323 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

…ing-migrations

# Conflicts:
#	common/Cargo.toml
#	governor/Cargo.toml
#	grants_escrow/Cargo.toml
#	multisig/Cargo.toml
#	multisig/src/error.rs
#	params/Cargo.toml
#	staking/Cargo.toml
#	streams/Cargo.toml
@dami-005
dami-005 merged commit 23b97be into Zenith-options:main Sep 30, 2026
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