-
Notifications
You must be signed in to change notification settings - Fork 743
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
default vc to block v3 endpoint and deprecate block-v3 flag #5292
default vc to block v3 endpoint and deprecate block-v3 flag #5292
Conversation
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.
LGTM
I think we should wait until after v5.1.0 for this one |
Looks like we'll be OK to merge this for v5.2.0. There was a bug in Nimbus's v3 implementation prior to v24.4.0, which is due imminently: Bug: We should call this out in the release notes so that users running Nimbus BNs know they need to upgrade. I'm doing some more testing with other BNs and blockdreamer. |
…fault-vc-to-block-v3-endpoint
…fault-vc-to-block-v3-endpoint
Idk about this. My Teku testing got blocked by a bug on their side involving eleel which I haven't had time to fix. Let's just drop it from v5.2.0 for now so we can get moving. |
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.
LGTM. Nice simplification.
@mergify queue |
🛑 The pull request has been removed from the queue
|
I'm not sure why the fallback simulator is failing. Haven't had a chance to investigate |
22fda71
to
43344ad
Compare
It looks like the BNs had some issues with getting payload from the EL. I've re-run the job to check if it's just a flaky error:
|
@@ -584,7 +511,7 @@ impl<T: SlotClock + 'static, E: EthSpec> BlockService<T, E> { | |||
&metrics::BLOCK_SERVICE_TIMES, | |||
&[metrics::BEACON_BLOCK_HTTP_GET], | |||
); | |||
let block_response = Self::get_validator_block_v3( | |||
let block_response = Self::get_validator_block( |
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.
Not part of this PR, I think it may be unnecessary to re-map the BlockError
here?
Oh I think the fallback is not working because we're always returning an Ok here instead of returning the result:
|
…fault-vc-to-block-v3-endpoint
thanks @jimmygchen! That seems to have fixed it (locally at least). The job failed in CI but maybe its just flaky? ill retry later when I'm at my computer |
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.
Nice, green CI now 🎉
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at f60503c |
Issue Addressed
Closes #5040
Proposed Changes
Deprecate the produce-block-v3 flag, and use the v3 endpoint by default within the VC
This should only be merged after deneb is safely activated.