Skip to content

Conversation

@jimmygchen
Copy link
Member

@jimmygchen jimmygchen commented Jul 9, 2025

Issue Addressed

Clean ups for #7655, mostly just adding doc comments and small refactors, no functionality change.

The original PR renamed some of the fork_* field names to digest_* , e.g. digest_epoch, duration_to_next_digest etc - it reads a bit strange at first, BPO forks are technically still hard forks - I think calling them forks instead of digests are a bit easier to understand. But I'd like to hear thoughts before proceeding with making this change.

@jimmygchen jimmygchen marked this pull request as ready for review July 9, 2025 06:38
@jimmygchen jimmygchen requested a review from jxs as a code owner July 9, 2025 06:38
@jimmygchen jimmygchen added ready-for-review The code is ready for review fulu Required for the upcoming Fulu hard fork labels Jul 9, 2025
@jimmygchen jimmygchen force-pushed the bpo-fork-digest-cleanup branch from d8a3429 to c84b1d3 Compare July 9, 2025 06:42
@jimmygchen jimmygchen mentioned this pull request Jul 9, 2025
6 tasks
@mergify
Copy link

mergify bot commented Jul 9, 2025

Some required checks have failed. Could you please take a look @jimmygchen? 🙏

@mergify mergify bot 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 Jul 9, 2025
@jimmygchen jimmygchen force-pushed the bpo-fork-digest-cleanup branch from 98bc903 to 86cebb6 Compare July 9, 2025 08:01
@jimmygchen
Copy link
Member Author

@pawanjay176 I've addressed the comments and fixed the tests 🤞 Please re-review, thanks!

@jimmygchen jimmygchen requested a review from pawanjay176 July 10, 2025 07:01
@jimmygchen jimmygchen 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 Jul 10, 2025
chain_spec.deneb_fork_epoch = Some(Epoch::new(4));
chain_spec.electra_fork_epoch = Some(Epoch::new(5));
chain_spec.fulu_fork_epoch = Some(Epoch::new(6));
chain_spec
Copy link
Member

Choose a reason for hiding this comment

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

might be good to assert that the latest fork's fork_epoch is set or we will need to remember to update this for each fork

Copy link
Member

Choose a reason for hiding this comment

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

Added in 555fb61

Copy link
Member Author

Choose a reason for hiding this comment

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

Nice! Thanks

@pawanjay176 pawanjay176 merged commit 20627a3 into sigp:fusaka-devnet-2 Jul 10, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fulu Required for the upcoming Fulu hard fork fusaka-devnet-2 ready-for-review The code is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants