-
Notifications
You must be signed in to change notification settings - Fork 249
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 builders to vector of strings in privacy struct #983
Conversation
@igorline The alloy/crates/rpc-types-mev/src/eth_calls.rs Line 180 in 097e21a
So I think you should add a generics |
Thank you
Will update in a bit
…-------- Original Message --------
On 6/27/24 5:07 PM, Aurélien wrote:
***@***.***(https://github.com/igorline) The Privacy struct is used for eth_sendBundle also, see:
https://github.com/alloy-rs/alloy/blob/097e21a607395fc9a496d620c14934a736989e14/crates/rpc-types-mev/src/eth_calls.rs#L180
So I think you should add a generics Privacy<T> setting it to Address for eth_ and String for mev_.
—
Reply to this email directly, [view it on GitHub](#983 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AALFYVQYWYGU4NKHXFR5I4TZJQTDZAVCNFSM6AAAAABKACVLU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJUHE3TANJUGQ).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@leruaa but Am I missing something? |
@igorline No you are right, I read too fast, sorry! |
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.
is this correct @leruaa ?
according to mev-share specification builders are specified by their names which you can find on this page https://github.com/flashbots/dowg/blob/main/builder-registrations.json
d36388d
to
a3a2c3c
Compare
fix(mev): builders as vector of strings in privacy struct according to mev-share specification builders are specified by their names which you can find on this page https://github.com/flashbots/dowg/blob/main/builder-registrations.json
Motivation
According to mev-share specification builders are specified by their names which you can find on this page
https://github.com/flashbots/dowg/blob/main/builder-registrations.json
Solution
Updated datatype to accept strings
PR Checklist