Skip to content

feat: EIP7045 increase max att inclusion slot#12565

Merged
terencechain merged 11 commits intodeneb-integrationfrom
eip7045
Jul 22, 2023
Merged

feat: EIP7045 increase max att inclusion slot#12565
terencechain merged 11 commits intodeneb-integrationfrom
eip7045

Conversation

@terencechain
Copy link
Collaborator

This PR implements EIP7045

@terencechain terencechain self-assigned this Jun 26, 2023
@terencechain terencechain marked this pull request as ready for review June 26, 2023 20:47
@terencechain terencechain requested a review from a team as a code owner June 26, 2023 20:47
@terencechain terencechain requested review from james-prysm, nisdas and prestonvanloon and removed request for a team June 26, 2023 20:47
@terencechain terencechain force-pushed the eip7045 branch 3 times, most recently from 96aa6fb to 9261773 Compare June 28, 2023 15:20
participatedFlags[targetFlagIndex] = true
}
} else {
if matchedSrcTgt && delay <= slotsPerEpoch {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we really need this change? before Deneb no attestation should pass validation without having delay <= slotsPerEpoch.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I am a bit torn. I see arguments for both.
1.) If the input attestations were validated, it's not-needed. The code is much cleaner
2.) If the input attestations were not validated then we need the filter here

@terencechain terencechain merged commit 9834720 into deneb-integration Jul 22, 2023
@terencechain terencechain deleted the eip7045 branch July 22, 2023 07:37
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