Skip to content
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

Update BidTrace #7

Merged
merged 3 commits into from
May 19, 2023
Merged

Update BidTrace #7

merged 3 commits into from
May 19, 2023

Conversation

boz1
Copy link
Contributor

@boz1 boz1 commented Dec 3, 2022

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:

flashbots/mev-boost-relay#257

types/bids.yaml Outdated Show resolved Hide resolved
Copy link
Collaborator

@jtraglia jtraglia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I like these changes. Thanks!

@metachris metachris mentioned this pull request Dec 7, 2022
6 tasks
@metachris metachris merged commit adae2d4 into flashbots:main May 19, 2023
metachris added a commit that referenced this pull request May 19, 2023
metachris added a commit that referenced this pull request May 19, 2023
Revert "Update BidTrace (#7)"

This reverts commit adae2d4.
@metachris
Copy link
Contributor

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

@metachris
Copy link
Contributor

i think the endpoints should return extra_data though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants