flashbots / flashbots/rbuilder

Pectra devnet-5: `execution_requests` needs latest alloy and should have the `request_type` byte prefixed to each

Open
#267 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
567
Forks
209
PR merge metrics
No merged PRs in 30d

Description

https://github.com/flashbots/rbuilder/blob/4d273c9b52ec6c03ccd2f57bc75d7a9bd32671fc/crates/rbuilder/src/building/mod.rs#L613

As part of our updates for devnet-5, we need to:

- Update to latest alloy, specifically 0.7.2+ for this issue (but see below)
- Update the code above to make sure we use `push_request_with_type` (https://github.com/alloy-rs/alloy/blob/main/crates/eips/src/eip7685.rs#L43C12-L43C34) when adding each request type (or otherwise handle making sure we prefix each entry in the `Requests` vector with the proper request type byte.
- Furthermore we'll need to use https://github.com/alloy-rs/alloy/issues/1763 from an yet-unreleased alloy to convert the `Requests` to a `RequestsV4` when building the `SignedBidSubmissionV4`

~The above presumes that https://github.com/ethereum/builder-specs/pull/107 is accepted, but that's looking less likely. Now instead we probably have to add "SSZ as JSON" style serialization to the `Requests` type to support posting blinded blocks to the relay.~

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.