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

List individual builders when notifying about posted bill #32

Merged
merged 4 commits into from
Aug 19, 2024

Conversation

fleupold
Copy link
Contributor

Currently, the only thing the slack notification contains is a link to the transaction (making it difficult to understand how much each biller was billed in absolute terms).

This PR improves the message to contain for each builder label the amount formatted to whole ETH units.

Test Plan

Run on Sepolia, see

MEV Billing ran successfully: undefined/tx/0x3ab282f6310c85f99601c0ed2d6dca7dfcc6302ed7dbe296fa3682b9daffa6c4
beaverbuild was billed 15.436981310089693184 ETH
Titan was billed 11.548833220606410752 ETH
rsync-builder was billed 1.663119822328813056 ETH
Flashbots was billed 0.708521337900857472 ETH

Copy link
Collaborator

@cowanator cowanator left a comment

Choose a reason for hiding this comment

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

Looks good, although you lost a few trailing commas in places that didn't need to be changed.

src/dune.ts Outdated Show resolved Hide resolved
Base automatically changed from optional_draft_execute to main August 19, 2024 08:36
@fleupold fleupold merged commit ba23bef into main Aug 19, 2024
1 check passed
@fleupold fleupold deleted the better_billing_message branch August 19, 2024 09:50
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.

2 participants