gear
gear copied to clipboard
feat(pallet-gear): Add compatibility check for code instrumentation
Implement a try_state function that verifies all stored program codes can be successfully instrumented with the current schedule before runtime upgrades.
- Iterates through all codes in
OriginalCodeStorage - Re-instrument all codes ignoring known incompatibilities
Successor to https://github.com/gear-tech/gear/pull/4598
@gear-tech/dev
Changed Files
| File | Status |
|---|---|
| Unsupported file format | |
@codex review
Codex Review: Didn't find any major issues. Keep it up!
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting
- @codex fix this CI failure
- @codex address that feedback