flashbots / relay-specs

MEV-Boost Relay API Specs
https://flashbots.github.io/relay-specs
Creative Commons Zero v1.0 Universal
28 stars 12 forks source link

Update BidTrace #7

Closed boz1 closed 1 year ago

boz1 commented 1 year ago

This PR updates the BidTrace(V2->V3) to include a timestamp by default and have an extra_data field. BidTraceV3 inherits from BidTraceV2WithTimestamp and adds an extra_data field as proposed by @metachris .

relay/v1/data/bidtraces/proposer_payload_delivered and relay/v1/data/bidtraces/builder_blocks_received endpoints both return a BidTraceV3 now.

The need for this proposal is discussed here:

https://github.com/flashbots/mev-boost-relay/issues/257

metachris commented 1 year ago

Sorry I was too quick with merging this -- the endpoints do not currently return extra_data! reverted

metachris commented 1 year ago

i think the endpoints should return extra_data though