op-challenger: Remove TraceType and just use GameType.#18433
Merged
op-challenger: Remove TraceType and just use GameType.#18433
Conversation
4c43ed2 to
85d930e
Compare
Codecov Report✅ All modified and coverable lines are covered by tests.
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
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This was referenced Nov 30, 2025
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.
85d930e to
17adccf
Compare
Inphi
approved these changes
Dec 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-typealias works correctly.Additional context
Builds on #18432
Metadata
#18321