-
Notifications
You must be signed in to change notification settings - Fork 434
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
Show mev and extra data in block logs #7661
Conversation
src/Nethermind/Nethermind.Consensus/Processing/BlockchainProcessor.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Merge.Plugin/Handlers/ForkchoiceUpdatedHandler.cs
Outdated
Show resolved
Hide resolved
private static HashSet<AddressAsKey> _alternateMevPayees = new() | ||
{ | ||
new Address("0xa83114A443dA1CecEFC50368531cACE9F37fCCcb"), // Extra data as: beaverbuild.org | ||
new Address("0x9FC3da866e7DF3a1c57adE1a97c9f00a70f010c8"), // Extra data as: Titan (titanbuilder.xyz) | ||
new Address("0x0b92619DdE55C0cbf828d32993a7fB004E00c84B"), // Extra data as: Builder+ www.btcs.com/builder | ||
}; |
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.
Do we want it hardcoded here? Aren't there 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.
These aren't the actual main builders; just ones pretending to be them
95% of mev blocks are picked up by the main pattern where the GasBeneficiary pays the validator in the last tx; these ones pay from a different source.
Really should be in config rather than code, but I have only seen 3 so far
src/Nethermind/Nethermind.Merge.Plugin/Handlers/NewPayloadHandler.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>
Changes
Types of changes
What types of changes does your code introduce?
Testing
Requires testing