Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
metachris committed Jan 11, 2024
1 parent 86217cd commit 4aba68e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ linters:
- wrapcheck
- wsl
- musttag
- depguard

#
# Maybe fix later:
Expand Down
12 changes: 7 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ require (
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
github.com/consensys/bavard v0.1.13 // indirect
github.com/consensys/gnark-crypto v0.12.1 // indirect
github.com/crate-crypto/go-kzg-4844 v0.3.0 // indirect
github.com/ethereum/c-kzg-4844 v0.3.1 // indirect
github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233 // indirect
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/gballet/go-verkle v0.1.1-0.20231031103413-a67434b50f46 // indirect
github.com/getsentry/sentry-go v0.18.0 // indirect
github.com/goccy/go-yaml v1.11.2 // indirect
github.com/gofrs/flock v0.8.1 // indirect
Expand All @@ -47,9 +49,9 @@ require (
github.com/rivo/uniseg v0.2.0 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/supranational/blst v0.3.11 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
google.golang.org/protobuf v1.30.0 // indirect
rsc.io/tmplfunc v0.0.3 // indirect
Expand Down
4 changes: 2 additions & 2 deletions server/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -751,9 +751,9 @@ func (m *BoostService) processDenebPayload(w http.ResponseWriter, req *http.Requ
for i, commitment := range commitments {
if commitment != blobs.Commitments[i] {
log.WithFields(logrus.Fields{
"requestBlobCommitment": commitment.String(),
"requestBlobCommitment": commitment.String(),
"responseBlobCommitment": blobs.Commitments[i].String(),
"index": i,
"index": i,
}).Error("requestBlobCommitment does not equal responseBlobCommitment")
return
}
Expand Down
4 changes: 2 additions & 2 deletions server/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func TestStatus(t *testing.T) {
rr := backend.request(t, http.MethodGet, path, nil)

require.Equal(t, http.StatusOK, rr.Code)
require.True(t, len(rr.Header().Get("X-MEVBoost-Version")) > 0)
require.Greater(t, len(rr.Header().Get("X-MEVBoost-Version")), 0) //nolint:testifylint
require.Equal(t, 1, backend.relays[0].GetRequestCount(path))
})

Expand All @@ -237,7 +237,7 @@ func TestStatus(t *testing.T) {
rr := backend.request(t, http.MethodGet, path, nil)

require.Equal(t, http.StatusServiceUnavailable, rr.Code)
require.True(t, len(rr.Header().Get("X-MEVBoost-Version")) > 0)
require.Greater(t, len(rr.Header().Get("X-MEVBoost-Version")), 0) //nolint:testifylint
require.Equal(t, 0, backend.relays[0].GetRequestCount(path))
})
}
Expand Down

0 comments on commit 4aba68e

Please sign in to comment.