Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated methods from (Signed)BlockContainer #7700

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

StefanBratanov
Copy link
Contributor

@StefanBratanov StefanBratanov commented Nov 14, 2023

PR Description

  • Remove deprecated getters from SignedBlockContainer and BlockContainer
  • Add onCompletedBlockAndBlobSidecars to BlobSidecarPool

Fixed Issue(s)

helps with block production/publishing flow for #7654

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

@@ -250,7 +250,7 @@

private void blobSidecarsImportedSuccessfully(
final SignedBeaconBlock block, final List<BlobSidecarOld> blobSidecars) {
verify(blobSidecarPool).onCompletedBlockAndBlobSidecars(block, blobSidecars);
verify(blobSidecarPool).onCompletedBlockAndBlobSidecarsOld(block, blobSidecars);

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BlobSidecarPool.onCompletedBlockAndBlobSidecarsOld
should be avoided because it has been deprecated.
Copy link
Contributor

@mehdi-aouadi mehdi-aouadi left a comment

Choose a reason for hiding this comment

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

LGTM
Just a small nit

@StefanBratanov StefanBratanov enabled auto-merge (squash) November 14, 2023 19:02
@StefanBratanov StefanBratanov merged commit 708788f into Consensys:master Nov 14, 2023
3 checks passed
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.

2 participants