Skip to content

Conversation

@ajsutton
Copy link
Contributor

Description

Integrate the super node trace provider into op-challenger. Since we plan to remove op-supervisor support as soon as all the tests are migrated, this is setup to replace it with a simple config toggle to choose between supervisor and super node. That requires significantly fewer changes to the config/cli validation code which would just be thrown out again when removing op-supervisor support. If needed we can add a hidden CLI flag to set the toggle as well, but there's a pretty good chance the supervisor tests can be updated without needing it.

There's still some places that create a supervisor client and trace provider directly like in op-e2e and vm runner. We'll need to switch them over in follow up PRs.

Metadata

#18524

@ajsutton ajsutton requested review from a team as code owners December 22, 2025 00:47
@codecov
Copy link

codecov bot commented Dec 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.58%. Comparing base (1294a28) to head (8eb6579).

❗ There is a different number of reports uploaded between BASE (1294a28) and HEAD (8eb6579). Click for more details.

HEAD has 6 uploads less than BASE
Flag BASE (1294a28) HEAD (8eb6579)
contracts-bedrock-tests 6 0
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #18668      +/-   ##
===========================================
- Coverage    73.54%   66.58%   -6.96%     
===========================================
  Files          189       55     -134     
  Lines        11244     4031    -7213     
===========================================
- Hits          8269     2684    -5585     
+ Misses        2831     1203    -1628     
  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 134 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.

Add a config option to switch to super node.
Interface values are only nil if the type and value are nil - in our case the type is always non-nil so superNodeProvider == nil is always false causing panics.
@ajsutton ajsutton force-pushed the aj/integrate-supernode branch from 88c74ff to 16cb91b Compare January 5, 2026 00:03
Usage: "Provider URL for supervisor RPC",
EnvVars: prefixEnvVars("SUPERVISOR_RPC"),
SuperRpcFlag = &cli.StringFlag{
Name: "super-rpc",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Although super-rpc here refers to both supervisor and supernode, we might as well change this now to supernode-rpc since that's what we'll be using in the end. Using supernode-rpc will be confusing only to humans outside of proofs, but I expect we'd have fully migrated to using op-supernode for anyone else to care.

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.

3 participants