Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

test (supervisor/rpc): supervisor_finalizedL1 and supervisor_superRootAtTimestamp#2395

Merged
itschaindev merged 5 commits intomainfrom
jk/e2e-finalizedl1-dependencyset
Jul 11, 2025
Merged

test (supervisor/rpc): supervisor_finalizedL1 and supervisor_superRootAtTimestamp#2395
itschaindev merged 5 commits intomainfrom
jk/e2e-finalizedl1-dependencyset

Conversation

@itschaindev
Copy link
Copy Markdown
Collaborator

Closes #2383 , #2384

  • Skipped testing for supervisor_syncStatus because that is being tested checking the chain progress.
  • Skipped supervisor_dependencySetV1 because we need QueryAPI in Go implementation to implement the end-point so that we can test it using devstack.

Changes

  • The serialize and deserialize implemented for ChainID is now generic for u64 because I needed it at other places as well.
  • Due to the way Go unmarshalls the response, I needed to add the response objects SuperRootOutputRpc and ChainRootInfoRpc, which are essentially the same as SuperRootOutput and ChainRootInfo used before. The fields timestamp, version and chainID needed to be compatible with hexutil.Uint64 and hexutil.Bytes`. Hence all the modifications.

Tested locally, all tests including e2e tests are passing as expected.

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 11, 2025

Codecov Report

Attention: Patch coverage is 40.57971% with 41 lines in your changes missing coverage. Please review.

Project coverage is 82.2%. Comparing base (de0c12d) to head (589e076).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
crates/supervisor/core/src/rpc/server.rs 0.0% 29 Missing ⚠️
crates/supervisor/core/src/supervisor.rs 0.0% 6 Missing ⚠️
crates/supervisor/types/src/hex_string_u64.rs 55.5% 4 Missing ⚠️
crates/supervisor/rpc/src/response.rs 92.0% 2 Missing ⚠️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@itschaindev itschaindev enabled auto-merge July 11, 2025 19:18
@itschaindev itschaindev added this pull request to the merge queue Jul 11, 2025
Merged via the queue into main with commit a1bd96d Jul 11, 2025
24 of 25 checks passed
@itschaindev itschaindev deleted the jk/e2e-finalizedl1-dependencyset branch July 11, 2025 19:48
theochap pushed a commit that referenced this pull request Jul 15, 2025
…RootAtTimestamp` (#2395)

Closes #2383 , #2384 

- Skipped testing for `supervisor_syncStatus` because that is being
tested checking the chain progress.
- Skipped `supervisor_dependencySetV1` because we need `QueryAPI` in Go
implementation to implement the end-point so that we can test it using
devstack.

#### Changes

- The serialize and deserialize implemented for `ChainID` is now generic
for `u64` because I needed it at other places as well.
- Due to the way Go unmarshalls the response, I needed to add the
response objects `SuperRootOutputRpc` and `ChainRootInfoRpc`, which are
essentially the same as `SuperRootOutput` and `ChainRootInfo` used
before. The fields `timestamp`, `version` and `chainID` needed to be
compatible with `hexutil.Uint64` and hexutil.Bytes`. Hence all the
modifications.

Tested locally, all tests including e2e tests are passing as expected.
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
…RootAtTimestamp` (op-rs/kona#2395)

Closes op-rs/kona#2383 , op-rs/kona#2384 

- Skipped testing for `supervisor_syncStatus` because that is being
tested checking the chain progress.
- Skipped `supervisor_dependencySetV1` because we need `QueryAPI` in Go
implementation to implement the end-point so that we can test it using
devstack.

#### Changes

- The serialize and deserialize implemented for `ChainID` is now generic
for `u64` because I needed it at other places as well.
- Due to the way Go unmarshalls the response, I needed to add the
response objects `SuperRootOutputRpc` and `ChainRootInfoRpc`, which are
essentially the same as `SuperRootOutput` and `ChainRootInfo` used
before. The fields `timestamp`, `version` and `chainID` needed to be
compatible with `hexutil.Uint64` and hexutil.Bytes`. Hence all the
modifications.

Tested locally, all tests including e2e tests are passing as expected.
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 14, 2026
…RootAtTimestamp` (op-rs/kona#2395)

Closes #2383 , #2384 

- Skipped testing for `supervisor_syncStatus` because that is being
tested checking the chain progress.
- Skipped `supervisor_dependencySetV1` because we need `QueryAPI` in Go
implementation to implement the end-point so that we can test it using
devstack.

#### Changes

- The serialize and deserialize implemented for `ChainID` is now generic
for `u64` because I needed it at other places as well.
- Due to the way Go unmarshalls the response, I needed to add the
response objects `SuperRootOutputRpc` and `ChainRootInfoRpc`, which are
essentially the same as `SuperRootOutput` and `ChainRootInfo` used
before. The fields `timestamp`, `version` and `chainID` needed to be
compatible with `hexutil.Uint64` and hexutil.Bytes`. Hence all the
modifications.

Tested locally, all tests including e2e tests are passing as expected.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test (supervisor/rpc): e2e for supervisor_finalizedL1 and supervisor_dependencySetV1

2 participants