-
Notifications
You must be signed in to change notification settings - Fork 261
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
first draft of getBlobs
#6913
base: unstable
Are you sure you want to change the base?
first draft of getBlobs
#6913
Conversation
for devnet testing locally, use |
@@ -57,6 +57,7 @@ type | |||
GetPayloadV3Response | | |||
GetPayloadV4Response | |||
|
|||
|
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.
?
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.
oops, will cleanup
when consensusFork >= ConsensusFork.Electra: | ||
# Pull blobs and proofs from the EL blob pool | ||
let blobsFromElOpt = await node.elManager.sendGetBlobs(forkyBlck) | ||
debugEcho "pulled blobs from el" |
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.
Obligatory comment about debugEcho
(but yeah, it's a draft PR and useful for now)
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.
just for now, until i see things are ok in the local devnet
return ok(requests[bestResponse.get()].value().blobsAndProofs) | ||
|
||
else: | ||
# should not reach this case |
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.
How "should" is this (i.e. if it's a logic bug, or a potentially buggy EL, or etc)?
return err() | ||
let | ||
timeout = GETBLOBS_TIMEOUT | ||
deadline = sleepAsync(timeout) |
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.
Why not directly use GETBLOBS_TIMEOUT
?
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 was considering to add some extra processing latency
ethereum/execution-apis#559
if EL supports
engine_getBlobsV1
else
Note:
getBlobs
innimbus-eth2
here is made to backward compatible from Electra and NOT Deneb as per specCI failing: because of some nim-web3 upstream incompatibilities