Coordinate CosmWasm schema migration before upgrading schemars beyond 0.8 #1508

Closed
opened 2026-10-15 05:40:57 +00:00 by PlasticDigits · 1 comment
Owner

PR #1486 proposed schemars 0.9 independently of the CosmWasm 1.5 schema stack. Local validation reproduced two failures: cargo check --workspace --locked requires a missing lockfile update, and the unlocked build fails E0277 in dex-common/src/route_tax.rs:46 because CosmWasm Addr implements schemars 0.8's JsonSchema, not 0.9's trait.

The merge reconciliation retains schemars 0.8.22 and constrains Renovate to <0.9 for compatibility. A future update must coordinate CosmWasm std/schema, cw dependencies and external treasury/wrap-mapper message types, regenerate lockfiles and exported schemas, and pass contract workspace and schema compatibility checks. Remove the Renovate constraint only when that coordinated migration builds successfully. This is implementation work, not a verification-only hold. CI was skipped at the user's request.

PR #1486 proposed schemars 0.9 independently of the CosmWasm 1.5 schema stack. Local validation reproduced two failures: `cargo check --workspace --locked` requires a missing lockfile update, and the unlocked build fails E0277 in `dex-common/src/route_tax.rs:46` because CosmWasm `Addr` implements schemars 0.8's `JsonSchema`, not 0.9's trait. The merge reconciliation retains schemars 0.8.22 and constrains Renovate to `<0.9` for compatibility. A future update must coordinate CosmWasm std/schema, cw dependencies and external treasury/wrap-mapper message types, regenerate lockfiles and exported schemas, and pass contract workspace and schema compatibility checks. Remove the Renovate constraint only when that coordinated migration builds successfully. This is implementation work, not a verification-only hold. CI was skipped at the user's request.
Author
Owner

Merged PR #1486 as a compatibility repair: the workspace now declares schemars 0.8.22 and Renovate excludes >=0.9. The original 0.9 proposal was executed locally and failed, including E0277 for CosmWasm Addr at dex-common/src/route_tax.rs:46; this was not merely an unexecuted verification gate. The compatible combined workspace passes all 999 contract tests. CI was intentionally skipped. This follow-up remains open for the coordinated schema-stack implementation described above; the original PR is closed as merged.

Merged PR #1486 as a compatibility repair: the workspace now declares schemars 0.8.22 and Renovate excludes >=0.9. The original 0.9 proposal was executed locally and failed, including E0277 for CosmWasm Addr at dex-common/src/route_tax.rs:46; this was not merely an unexecuted verification gate. The compatible combined workspace passes all 999 contract tests. CI was intentionally skipped. This follow-up remains open for the coordinated schema-stack implementation described above; the original PR is closed as merged.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code/cl8y-dex-terraclassic#1508
No description provided.