From 1e56ed94818324136ce96e8f17e1d668e50aee63 Mon Sep 17 00:00:00 2001 From: Jo D Date: Thu, 16 Jul 2026 09:46:52 -0400 Subject: [PATCH] fix(world-cup): pin codama to stop IDL drift The scheduled `Just` workflow always failed at `check-generated`. codama floated within 0.9.x, so CI regenerated idl/world_cup.json (adds `constants: []`, spec version 1.0.0 -> 1.6.0) and the committed IDL no longer matched. Pin codama to =0.9.3 and commit the regenerated IDL so the check is deterministic. --- games/world-cup/pinocchio/Cargo.toml | 2 +- games/world-cup/pinocchio/idl/world_cup.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/games/world-cup/pinocchio/Cargo.toml b/games/world-cup/pinocchio/Cargo.toml index 74009c325..4d167a435 100644 --- a/games/world-cup/pinocchio/Cargo.toml +++ b/games/world-cup/pinocchio/Cargo.toml @@ -25,7 +25,7 @@ unexpected_cfgs = { level = "warn", check-cfg = [ ] } [workspace.dependencies] -codama = "0.9.2" +codama = "=0.9.3" const-crypto = "0.3" pinocchio = { version = "0.11.1", features = ["cpi", "copy"] } pinocchio-system = "0.6.1" diff --git a/games/world-cup/pinocchio/idl/world_cup.json b/games/world-cup/pinocchio/idl/world_cup.json index bfca3f67c..5fa140b40 100644 --- a/games/world-cup/pinocchio/idl/world_cup.json +++ b/games/world-cup/pinocchio/idl/world_cup.json @@ -318,6 +318,7 @@ } } ], + "constants": [], "definedTypes": [ { "kind": "definedTypeNode", @@ -1795,5 +1796,5 @@ "version": "0.1.0" }, "standard": "codama", - "version": "1.0.0" + "version": "1.6.0" }