chore: alias builder id serdes helpers - #9618
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces toBuilderIdsStr and fromBuilderIdsStr as aliases for toValidatorIdsStr and fromValidatorIdsStr in packages/api/src/utils/serdes.ts. It then updates the state route definitions in packages/api/src/beacon/routes/beacon/state.ts to use these new builder-specific serialization and deserialization functions instead of the validator-specific ones. There are no review comments, so I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Addresses review feedback on #9593 by adding explicit builder ID serdes aliases while preserving existing validator helper names for validator call sites.
Changes:
toBuilderIdsStr/fromBuilderIdsStraliases in API serdesgetStateBuildersrequest serialization/parsingVerification:
pnpm lintpnpm buildpnpm check-types