-
Notifications
You must be signed in to change notification settings - Fork 193
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
Upgrade go-boost-utils #523
Conversation
1f189b3
to
72d162e
Compare
Codecov Report
β Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## develop #523 +/- ##
===========================================
+ Coverage 70.24% 70.42% +0.18%
===========================================
Files 6 7 +1
Lines 541 1099 +558
===========================================
+ Hits 380 774 +394
- Misses 132 281 +149
- Partials 29 44 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
|
72d162e
to
c00cc3b
Compare
We'll remove the bellatrix codepaths first, which will make this update quite a bit simpler. |
c00cc3b
to
f6290b8
Compare
@@ -537,199 +539,22 @@ func TestGetHeaderBids(t *testing.T) { | |||
require.Equal(t, 1, backend.relays[0].GetRequestCount(path)) | |||
|
|||
// Value should be 12345 (min bid is 12345) | |||
resp := new(types.GetHeaderResponse) |
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.
duplicate code originally used to test capella. Now that bellatrix get header is removed, we can remove these tests
2720a38
to
73c0a58
Compare
14326b4
to
b8248da
Compare
b8248da
to
3b882d8
Compare
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.
lgtm, nice work!
π Summary
Upgrade all the types to attestant by upgrading go-boost-utils in flashbots/go-boost-utils#76. Tidying up types in the
common/
folder will be in a follow up PR.β± Motivation and Context
We want to move away from go-boost-utils types entirely and move all types to attestant. This PR is part of the migration move entirely to attestant, switching the util functions to attestant types.
π References
β I have run these commands
make lint
make test-race
go mod tidy