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

builder: api calls should have appropriate headers #14961

Merged
merged 3 commits into from
Feb 20, 2025

Conversation

james-prysm
Copy link
Contributor

@james-prysm james-prysm commented Feb 19, 2025

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

the register validator builder API call currently isn't providing the correct content type and accept headers when it should be. This PR adds them and updates the unit test. In the future when we accept ssz this will need to change

Which issues(s) does this PR fix?

Fixes #14960

Other notes for review

Acknowledgements

@james-prysm james-prysm added Bug Something isn't working API Api related tasks Builder PR or issue that supports builder related work labels Feb 19, 2025
@james-prysm james-prysm requested a review from a team as a code owner February 19, 2025 20:55
@james-prysm james-prysm added this pull request to the merge queue Feb 20, 2025
Merged via the queue into develop with commit 0f86a16 Feb 20, 2025
17 checks passed
@james-prysm james-prysm deleted the fix-builder-post-header branch February 20, 2025 14:34
rkapka pushed a commit that referenced this pull request Mar 19, 2025
* adding correct headers when posting for validator registration on builder api

* changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Api related tasks Bug Something isn't working Builder PR or issue that supports builder related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unset content-type when sending validator registrations to a builder
3 participants