Skip to content

Conversation

@LukaszRozmej
Copy link
Member

Changes

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)

Testing

Requires testing

  • Yes

If yes, did you write tests?

  • Yes


public Task<ResultWrapper<IEnumerable<BlobAndProofV1?>>> HandleAsync(byte[][] request)
{
if (chainHeadSpecProvider.GetCurrentHeadSpec().IsEip7594Enabled)
Copy link
Member Author

Choose a reason for hiding this comment

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

Is this best way to check for Osaka here?


Metrics.GetBlobsRequestsSuccessTotal++;
return ResultWrapper<IEnumerable<BlobAndProofV2>?>.Success(response.ToList());
return ResultWrapper<IEnumerable<BlobAndProofV2>?>.Success(response);
Copy link
Member Author

Choose a reason for hiding this comment

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

You can put disposables into response and they will be disposed.

Btw this wasn't disposed on success earlier at all!

@LukaszRozmej LukaszRozmej merged commit cc43c93 into master Sep 24, 2025
79 checks passed
@LukaszRozmej LukaszRozmej deleted the feature/get-blobs-v1-unsupported-fork branch September 24, 2025 12:18
stdevMac pushed a commit that referenced this pull request Sep 25, 2025
* Make eth_getBlobsV1 return UnsupportedFork post Osaka

* whitespace
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