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

Correctly set mev_earned to default value #32

Merged
merged 2 commits into from
Apr 23, 2024
Merged

Conversation

ebatsell
Copy link
Collaborator

When CopyTipDistribution account is called before a merkle root is uploaded for an epoch, mev_earned is set to 0, when it should be set to default. This affects keeper bots which check for default values before executing.

This PR fixes that issue and adds a test for correctness.

@ebatsell ebatsell requested a review from buffalu April 20, 2024 23:02
@ebatsell ebatsell merged commit 17fee02 into master Apr 23, 2024
6 checks passed
@ebatsell ebatsell deleted the mev-earned-set-default branch April 23, 2024 15:35
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