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

Add ePBS fork schedule to config #14383

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

jihoonsong
Copy link

What type of PR is this?
This PR adds ePBS fork schedule to config. I guess it was omitted as Electra fork epoch is not defined yet, making both cfg.ElectraForkEpoch and cfg.EPBSForkEpoch have math.MaxUint64 in HoleskyConfig and SepoliaConfig after adding ePBS fork. If it ought to be added later, please feel free to close this PR.

@jihoonsong jihoonsong requested a review from a team as a code owner August 26, 2024 08:04
@jihoonsong jihoonsong requested review from rauljordan, prestonvanloon and rkapka and removed request for a team August 26, 2024 08:04
@prestonvanloon prestonvanloon removed their request for review August 26, 2024 14:25
@potuz potuz added the ePBS EIP-7732 label Aug 26, 2024
Copy link
Contributor

@potuz potuz left a comment

Choose a reason for hiding this comment

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

This will conflict with Peer-DAS, but it should still be safe to add.

@jihoonsong jihoonsong force-pushed the config-fork-schedule-epbs branch 3 times, most recently from 4b37588 to 5691fbc Compare August 27, 2024 11:56
@potuz potuz closed this Aug 27, 2024
@potuz potuz reopened this Aug 27, 2024
Comment on lines -33 to +34
e := fsched[i].Epoch
ad, err := dc.forEpoch(e)
n := fsched[i].Name
ad, err := dc.forName(n)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this change?

Copy link
Author

Choose a reason for hiding this comment

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

Using epoch to query fork domain is based an assumption that no two updates have a same epoch. While it's a solid one, it doesn't hold when more than two updates are underway like current case — Electra and ePBS. I think assuming there will be no duplicate name is slightly better than epoch.

@potuz potuz merged commit 235130b into prysmaticlabs:epbs Aug 27, 2024
19 of 20 checks passed
potuz pushed a commit that referenced this pull request Aug 29, 2024
potuz added a commit that referenced this pull request Sep 13, 2024
potuz added a commit that referenced this pull request Sep 18, 2024
potuz added a commit that referenced this pull request Sep 26, 2024
potuz added a commit that referenced this pull request Oct 7, 2024
potuz added a commit that referenced this pull request Oct 14, 2024
potuz added a commit that referenced this pull request Oct 16, 2024
potuz added a commit that referenced this pull request Oct 22, 2024
potuz added a commit that referenced this pull request Oct 28, 2024
potuz added a commit that referenced this pull request Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ePBS EIP-7732
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants