Skip to content

switching enable to disable for duties v2 #15445

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

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

james-prysm
Copy link
Contributor

@james-prysm james-prysm commented Jun 26, 2025

What type of PR is this?

Other

What does this PR do? Why is it needed?

a followup on #15380

  • Changed enable-duties-v2 to disable-duties-v2 to default to using duties v2.

performance comparison

get duties
image

get duties v2
image

More metrics snapshots have been taken but stored on notion.

it seems like in the happy case the times are about the same ( this is strange as I thought the committee list being serialized and unserialized would have caused a more consistent time different)

in other cases it seems like the get duties v2 does save a little bit of time from 100-400ms through not having to have the committee list and removing rechecks on validators not found in the state.

Which issues(s) does this PR fix?

Fixes #

Other notes for review

Acknowledgements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants