Skip to content

Conversation

@geoknee
Copy link
Contributor

@geoknee geoknee commented Jan 28, 2025

Closes #13981

@geoknee geoknee requested a review from a team as a code owner January 28, 2025 16:30
@geoknee geoknee requested a review from axelKingsley January 28, 2025 16:30
@geoknee geoknee changed the title op-service: add RequestsHash to RPCHeader op-service: add RequestsHash to RPCHeader Jan 28, 2025
@codecov
Copy link

codecov bot commented Jan 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.63%. Comparing base (7d6d154) to head (42f0bd8).
Report is 39 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #14022      +/-   ##
===========================================
- Coverage    46.90%   42.63%   -4.28%     
===========================================
  Files          974      809     -165     
  Lines        81670    72359    -9311     
  Branches       759        0     -759     
===========================================
- Hits         38307    30847    -7460     
+ Misses       40377    38794    -1583     
+ Partials      2986     2718     -268     
Flag Coverage Δ
cannon-go-tests-32 ?
cannon-go-tests-64 ?
contracts-bedrock-tests ?

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

Files with missing lines Coverage Δ
op-service/sources/types.go 64.24% <100.00%> (+0.40%) ⬆️

... and 174 files with indirect coverage changes

Copy link
Contributor

@protolambda protolambda left a comment

Choose a reason for hiding this comment

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

Need the omitempty tag to not end up with a null json attribute when encoding.

@tynes tynes added this pull request to the merge queue Jan 28, 2025
Merged via the queue into develop with commit 026199a Jan 28, 2025
44 checks passed
@tynes tynes deleted the gk/7685 branch January 28, 2025 18:54
@geoknee geoknee added the H-l1-pectra-defense Softfork: change is a paret of upgrade 12 label Jan 31, 2025
Rjected pushed a commit to paradigmxyz/optimism that referenced this pull request Feb 25, 2025
* add RequestsHash to op-service RPCHeader type

* sources.RPCHeader.RequestsHash needs "requestsHash" json struct tag

not "requestsHash" as in geth

* remove comment

This was fixed upstream ethereum/go-ethereum#30926

* add comment

* Update op-service/sources/types.go

Co-authored-by: protolambda <[email protected]>

---------

Co-authored-by: protolambda <[email protected]>
QuentinI pushed a commit to EspressoSystems/optimism-espresso-integration that referenced this pull request Mar 7, 2025
* add RequestsHash to op-service RPCHeader type

* sources.RPCHeader.RequestsHash needs "requestsHash" json struct tag

not "requestsHash" as in geth

* remove comment

This was fixed upstream ethereum/go-ethereum#30926

* add comment

* Update op-service/sources/types.go

Co-authored-by: protolambda <[email protected]>

---------

Co-authored-by: protolambda <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

H-l1-pectra-defense Softfork: change is a paret of upgrade 12

Projects

None yet

Development

Successfully merging this pull request may close these issues.

op-serivce: adaptation for Ethereum Pectra upgrade EIP-7685

4 participants