Skip to content

op-challenger: Remove TraceType and just use GameType.#18433

Merged
ajsutton merged 1 commit intodevelopfrom
aj/remove-trace-type
Dec 2, 2025
Merged

op-challenger: Remove TraceType and just use GameType.#18433
ajsutton merged 1 commit intodevelopfrom
aj/remove-trace-type

Conversation

@ajsutton
Copy link
Copy Markdown
Contributor

Description
Remove TraceType and just use GameType.

Rename --trace-type to --game-types with an alias to preserve backwards compatibility.

Each trace type already directly maps to a GameType and the concept of a "trace" only exists for fault dispute games.

Tests

Mostly covered by existing tests with a couple added to ensure GameType has a suitable String() implementation and that the --trace-type alias works correctly.

Additional context

Builds on #18432

Metadata

#18321

@ajsutton ajsutton requested review from a team, pauldowman and teddyknox and removed request for a team November 28, 2025 00:48
@ajsutton ajsutton force-pushed the aj/remove-trace-type branch from 4c43ed2 to 85d930e Compare November 28, 2025 00:56
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.58%. Comparing base (2a7cc9c) to head (85d930e).

❗ There is a different number of reports uploaded between BASE (2a7cc9c) and HEAD (85d930e). Click for more details.

HEAD has 5 uploads less than BASE
Flag BASE (2a7cc9c) HEAD (85d930e)
contracts-bedrock-tests 5 0
Additional details and impacted files
@@                  Coverage Diff                  @@
##           aj/move-game-type   #18433      +/-   ##
=====================================================
- Coverage              75.22%   66.58%   -8.64%     
=====================================================
  Files                    187       55     -132     
  Lines                  11199     4031    -7168     
=====================================================
- Hits                    8424     2684    -5740     
+ Misses                  2631     1203    -1428     
  Partials                 144      144              
Flag Coverage Δ
cannon-go-tests-64 66.58% <ø> (ø)
contracts-bedrock-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 132 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Rename --trace-type to --game-types with an alias to preserve backwards compatibility.

Each trace type already directly maps to a GameType and the concept of a "trace" only exists for fault dispute games.
@ajsutton ajsutton force-pushed the aj/remove-trace-type branch from 85d930e to 17adccf Compare December 1, 2025 21:29
@ajsutton ajsutton added this pull request to the merge queue Dec 2, 2025
Merged via the queue into develop with commit 78350ca Dec 2, 2025
82 checks passed
@ajsutton ajsutton deleted the aj/remove-trace-type branch December 2, 2025 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants