Skip to content

op-supervisor: Add cross-safe L1 block to SuperRootResponse#13951

Merged
Inphi merged 1 commit intodevelopfrom
inphi/supervisor-rpc
Jan 28, 2025
Merged

op-supervisor: Add cross-safe L1 block to SuperRootResponse#13951
Inphi merged 1 commit intodevelopfrom
inphi/supervisor-rpc

Conversation

@Inphi
Copy link
Copy Markdown
Contributor

@Inphi Inphi commented Jan 23, 2025

Add the L1 block that a super root can be considered cross-safe. This is the earliest block that indicates cross-safety in the super root.

It'll be used later by the challenger to determine when its view of the chain is synchronized enough to participate in dispute games.

Fixes #13890

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 23, 2025

Codecov Report

Attention: Patch coverage is 18.42105% with 31 lines in your changes missing coverage. Please review.

Project coverage is 45.54%. Comparing base (2537f35) to head (56879fb).
Report is 23 commits behind head on develop.

Files with missing lines Patch % Lines
op-supervisor/supervisor/backend/backend.go 0.00% 19 Missing ⚠️
op-service/eth/super_root.go 0.00% 5 Missing ⚠️
op-supervisor/supervisor/backend/syncnode/rpc.go 0.00% 4 Missing ⚠️
op-node/rollup/interop/managed/system.go 62.50% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #13951      +/-   ##
===========================================
- Coverage    46.77%   45.54%   -1.23%     
===========================================
  Files          972      915      -57     
  Lines        81029    76383    -4646     
  Branches       756      756              
===========================================
- Hits         37898    34791    -3107     
+ Misses       40212    38810    -1402     
+ Partials      2919     2782     -137     
Flag Coverage Δ
cannon-go-tests-32 ?
cannon-go-tests-64 ?
contracts-bedrock-tests 90.58% <ø> (+2.79%) ⬆️

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

Files with missing lines Coverage Δ
op-node/rollup/interop/managed/api.go 92.85% <100.00%> (+0.54%) ⬆️
op-node/rollup/interop/managed/system.go 58.70% <62.50%> (+1.07%) ⬆️
op-supervisor/supervisor/backend/syncnode/rpc.go 0.00% <0.00%> (ø)
op-service/eth/super_root.go 48.31% <0.00%> (-1.12%) ⬇️
op-supervisor/supervisor/backend/backend.go 32.50% <0.00%> (-1.35%) ⬇️

... and 81 files with indirect coverage changes

@Inphi Inphi force-pushed the inphi/supervisor-rpc branch 2 times, most recently from aac3254 to 3b9297d Compare January 24, 2025 17:15
@Inphi Inphi force-pushed the inphi/supervisor-rpc branch from 3b9297d to 56879fb Compare January 24, 2025 17:18
@Inphi Inphi marked this pull request as ready for review January 24, 2025 17:19
@Inphi Inphi requested review from a team, protolambda and tynes January 24, 2025 17:19
Copy link
Copy Markdown
Contributor

@ajsutton ajsutton left a comment

Choose a reason for hiding this comment

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

Makes sense to me but would ideally like someone more familiar with op-supervisor to take a look. Will see if I can chase someone up in discord.

Comment thread op-supervisor/supervisor/backend/backend.go
@Inphi Inphi enabled auto-merge January 28, 2025 22:31
@Inphi Inphi added this pull request to the merge queue Jan 28, 2025
Merged via the queue into develop with commit d83cefb Jan 28, 2025
@Inphi Inphi deleted the inphi/supervisor-rpc branch January 28, 2025 22:37
Rjected pushed a commit to paradigmxyz/optimism that referenced this pull request Feb 25, 2025
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.

op-supervisor: Add field to super root response that reports the L1 block that the super root became cross safe

3 participants