-
Notifications
You must be signed in to change notification settings - Fork 871
Removed code for GET validator/blinded_blocks
and also adjusted/removed tests
#7515
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
base: unstable
Are you sure you want to change the base?
Removed code for GET validator/blinded_blocks
and also adjusted/removed tests
#7515
Conversation
0d463bd
to
7cfbced
Compare
validator/blinded_blocks
and also adjusted/removed tests
…ed tests for that endpoint
7cfbced
to
b0b57b5
Compare
@michaelsproul @eserilev PTAL at this |
ProduceBlockV3Response::Blinded(payload) => { | ||
payload.body().execution_payload().unwrap().into() | ||
} | ||
ProduceBlockV3Response::Full(_) => panic!("Expecting a full payload"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ProduceBlockV3Response::Full(_) => panic!("Expecting a full payload"), | |
ProduceBlockV3Response::Full(_) => panic!("Expecting a blinded payload"), |
ProduceBlockV3Response::Blinded(payload) => { | ||
payload.body().execution_payload().unwrap().into() | ||
} | ||
ProduceBlockV3Response::Full(_) => panic!("Expecting a full payload"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ProduceBlockV3Response::Full(_) => panic!("Expecting a full payload"), | |
ProduceBlockV3Response::Full(_) => panic!("Expecting a blinded payload"), |
self | ||
} | ||
|
||
pub async fn test_blinded_block_production_verify_randao_invalid(self) -> Self { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to review this more tomorrow, but maybe we could keep these tests and use blocks_v3 with a non-None
value to force builder usage
Issue Addressed
Fixes #7456
Proposed Changes
Remove client/server code for deprecated GET
validator/blinded_blocks
endpoint and subsequently, removed the tests which were just testing the blinded endpoint, and modified other endpoints to use the new GET/eth/v3/validator/blocks
endpointAdditional Info
None