Skip to content

Comments

Dedup post merge readiness notifiers#6797

Closed
dapplion wants to merge 4 commits intosigp:unstablefrom
dapplion:readiness-dedup
Closed

Dedup post merge readiness notifiers#6797
dapplion wants to merge 4 commits intosigp:unstablefrom
dapplion:readiness-dedup

Conversation

@dapplion
Copy link
Collaborator

Issue Addressed

Lots of repeated code that just checks if the engine API has the required methods for the next fork. All readiness checks after the merge just check if a specific methods are in the list of capabilities.

Proposed Changes

Delete boilerplate so future forks don't need to copypasta again.

The logic now will:

  • iterate forks in descending order (latest first)
  • find the first fork that is in a preparation period
  • do the engine capabilities check

If a future fork requires more complex readiness checks, it can add a dedicated _readiness file like for the merge.

@dapplion dapplion added the ready-for-review The code is ready for review label Jan 13, 2025
eth1_logging(&beacon_chain, &log);
bellatrix_readiness_logging(Slot::new(0), &beacon_chain, &log).await;
capella_readiness_logging(Slot::new(0), &beacon_chain, &log).await;
post_capella_readiness_logging(Slot::new(0), &beacon_chain, &log).await;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All forks after capella forgot to add the notifier here, resulting is the lack of readiness checks pre-genesis. Since it only affects devnets It was not noticed probably

);
}
return;
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No need to do this check here, we have the EL status upcheck service

@dapplion dapplion requested a review from macladson January 25, 2025 10:16
Copy link
Member

@macladson macladson left a comment

Choose a reason for hiding this comment

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

Looks great! I'm kind of jealous I didn't think to do this first 🥲
Just a small nit

Copy link
Member

@macladson macladson left a comment

Choose a reason for hiding this comment

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

LGTM!

@michaelsproul michaelsproul added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels Feb 10, 2025
@michaelsproul
Copy link
Member

@dapplion or @macladson if one of you fixes the merge conflicts we can merge

@mergify
Copy link

mergify bot commented Feb 10, 2025

This pull request has merge conflicts. Could you please resolve them @dapplion? 🙏

@dapplion dapplion added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Feb 17, 2025
@dapplion
Copy link
Collaborator Author

Fixed conflicts and ready for review

@michaelsproul michaelsproul added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels Apr 28, 2025
@michaelsproul
Copy link
Member

sorry @dapplion bitrot got it :(

if you can fix up the Fulu conflicts lets merge

@mergify
Copy link

mergify bot commented Apr 28, 2025

This pull request has merge conflicts. Could you please resolve them @dapplion? 🙏

@mergify mergify bot closed this May 28, 2025
@mergify
Copy link

mergify bot commented May 28, 2025

Hi @dapplion, this pull request has been closed automatically due to 30 days of inactivity. If you’d like to continue working on it, feel free to reopen at any time.

@mergify mergify bot added the stale Stale PRs that have been inactive and is now outdated label May 28, 2025
@michaelsproul michaelsproul reopened this May 28, 2025
@michaelsproul
Copy link
Member

I would like to keep this, if you have some time to polish it up Lion

@michaelsproul michaelsproul removed the stale Stale PRs that have been inactive and is now outdated label May 28, 2025
@mergify mergify bot closed this Jun 27, 2025
@mergify
Copy link

mergify bot commented Jun 27, 2025

Hi @dapplion, this pull request has been closed automatically due to 30 days of inactivity. If you’d like to continue working on it, feel free to reopen at any time.

@mergify mergify bot added the stale Stale PRs that have been inactive and is now outdated label Jun 27, 2025
@dapplion dapplion mentioned this pull request Jul 10, 2025
mergify bot pushed a commit that referenced this pull request Aug 26, 2025
Adds the required boilerplate code for the Gloas (Glamsterdam) hard fork. This allows PRs testing Gloas-candidate features to test fork transition.

This also includes de-duplication of post-Bellatrix readiness notifiers from #6797 (credit to @dapplion)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-quality stale Stale PRs that have been inactive and is now outdated waiting-on-author The reviewer has suggested changes and awaits thier implementation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants