Skip to content

op-e2e: Reduce max game depth for super cannon games. #16218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

ajsutton
Copy link
Contributor

@ajsutton ajsutton commented Jun 2, 2025

Description

Reduce the max depth and split depth for super dispute games so that e2e tests run faster. The new depths match what is used for the pre-interop games in op-e2e.

interopgen now sets the flag to allow custom dispute game params to avoid the deployment reverting. It's only used by tests so hard coding to true simplifies things.

@ajsutton ajsutton force-pushed the aj/reduce-super-game-max-depth branch from a50bb63 to e53e58d Compare June 2, 2025 01:20
Copy link

codecov bot commented Jun 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.50%. Comparing base (618694a) to head (6aa168b).

❗ There is a different number of reports uploaded between BASE (618694a) and HEAD (6aa168b). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (618694a) HEAD (6aa168b)
cannon-go-tests-64 1 0
contracts-bedrock-tests 1 0
Additional details and impacted files
@@                   Coverage Diff                   @@
##           aj/fix-super-tests   #16218       +/-   ##
=======================================================
- Coverage               46.68%   15.50%   -31.18%     
=======================================================
  Files                    1347        8     -1339     
  Lines                  107529      690   -106839     
=======================================================
- Hits                    50196      107    -50089     
+ Misses                  53765      571    -53194     
+ Partials                 3568       12     -3556     
Flag Coverage Δ
cannon-go-tests-64 ?
contracts-bedrock-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1347 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.

@ajsutton ajsutton force-pushed the aj/reduce-super-game-max-depth branch 2 times, most recently from df198ae to 377847a Compare June 2, 2025 02:56
@ajsutton ajsutton force-pushed the aj/reduce-super-game-max-depth branch from 377847a to 63d45cd Compare June 2, 2025 03:37
Base automatically changed from aj/fix-super-tests to develop June 2, 2025 15:08
@Inphi
Copy link
Contributor

Inphi commented Jun 2, 2025

Note that the OPCM deployment script expects standard game parameter values -

require(game.splitDepth() == 30, "DPG-90");

@ajsutton
Copy link
Contributor Author

ajsutton commented Jun 2, 2025

Yeah but you can disable those checks by setting the AllowCustomDisputeParameters flag. :)

Somewhat surprisingly, this doesn't actually seem to be speeding up the cannon tests though.

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