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

De-duplicate range references in BlobSidecarsByRange #3162

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

dapplion
Copy link
Collaborator

Reference unique range definition to prevent specifying it multiple times. No strong opinion here, happy to stick to current dev if language is clearer

Copy link
Contributor

@djrtwo djrtwo left a comment

Choose a reason for hiding this comment

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

slightly prefer definitely it with a variable -- e.g. "Let blobs_serve_range be [max(GENESIS_EPOCH, current_epoch - MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS), current_epoch]" above all three statements and then just reference as "the range blobs_serve_range"

Not a strong opinion here though

@hwwhww hwwhww added the Deneb was called: eip-4844 label Feb 9, 2023
@hwwhww hwwhww force-pushed the eip4844-dedup-range branch from a924b5b to 0eda0cc Compare February 10, 2023 02:33
@dapplion dapplion force-pushed the eip4844-dedup-range branch from 0eda0cc to 939ebe6 Compare March 10, 2023 03:07
@dapplion dapplion changed the title De-duplicate range references in BlobsSidecarsByRange De-duplicate range references in BlobSidecarsByRange Mar 10, 2023
@dapplion dapplion force-pushed the eip4844-dedup-range branch 2 times, most recently from 599c1a6 to c01409b Compare March 10, 2023 03:09
@dapplion dapplion force-pushed the eip4844-dedup-range branch from c01409b to 21cf61e Compare March 10, 2023 03:10
Copy link
Contributor

@hwwhww hwwhww left a comment

Choose a reason for hiding this comment

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

the refactoring lgtm

@hwwhww hwwhww added the general:presentation Presentation (as opposed to content) label Jun 8, 2023
@hwwhww hwwhww merged commit 76214c7 into ethereum:dev Jun 8, 2023
@dapplion dapplion deleted the eip4844-dedup-range branch June 9, 2023 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deneb was called: eip-4844 general:presentation Presentation (as opposed to content)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants