Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Validation jun 10 #162

Merged
merged 6 commits into from
Jun 26, 2024
Merged

Validation jun 10 #162

merged 6 commits into from
Jun 26, 2024

Conversation

Ruteri
Copy link
Collaborator

@Ruteri Ruteri commented Jun 26, 2024

📝 Summary

Fixes an unsigned integer underflow bug in coinbase balance diff calculation.

📚 References

https://collective.flashbots.net/t/disclosure-underflow-bug-in-mev-boost-relay/3599


@@ -845,6 +845,99 @@ func executableDataToBlockValidationRequest(execData *engine.ExecutableData, pro
return blockRequest, nil
}

func TestValidateBuilderSubmissionV2_CoinbasePaymentUnderflow(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

should use the v3 builder submission which is currently being used, though ideally the unit test should just be calling ValidatePayload

@Ruteri Ruteri merged commit df9c765 into main Jun 26, 2024
2 checks passed
@Ruteri Ruteri deleted the validation-jun-10 branch June 26, 2024 16:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants