Skip to content

chore(examples): upgrade all examples from cougr-core 1.0.0 to 1.1.0 #219

Description

@salazarsebas

Background

The workspace crate is version 1.1.0, yet 32 examples continue to pin cougr-core = "1.0.0". This version skew prevents examples from exercising APIs introduced in the 1.1.0 release and creates inconsistency between documentation snippets and declared dependencies.

Objective

Update dependency declarations across all affected examples and resolve any resulting compilation or WASM build failures.

In scope

Update Cargo.toml in the following examples:

angry_birds, arkanoid, asteroids, ai_dungeon_master_arena, battleship, bomberman, checkers, chess, connect_four, cross_asset_racing_league, flappy_bird, geometry_dash, guild_arena, guild_treasury_wars, memory_match, minesweeper, murdoku, pac_man, pokemon_mini, pong, proof_of_hunt, reversi, rock_paper_scissors, shadow_draft_card_game, snake, space_invaders, sudoku, tap_battle, tetris, tower_defense, trading_card_game, treasure_hunt

Per example:

  1. Set cougr-core = "1.1.0" and soroban-sdk = "25.1.0".
  2. Resolve compilation errors arising from API changes.
  3. Verify stellar contract build produces a valid WASM artifact.
  4. Regenerate Cargo.lock where dependency resolution changes.

Out of scope

  • README rewrites, module restructuring, or API migrations beyond what is required for compilation.
  • Changes to public contract function signatures.

Definition of done

  • rg 'cougr-core = "1.0.0"' examples/ returns no matches.
  • All affected example CI workflows pass on main.
  • No undocumented breaking changes to public contract APIs.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programexampleNew game example contracttech-debtReducing technical debt

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions