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

Capella Alpha Testing #437

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
// Set during build
const (
// Version is the version of the software, set at build time
Version = "v1.4.1-dev"
Version = "v1.5.0-capella-alpha3"

// ForkVersion is the latest supported fork version at build time
ForkVersion = "bellatrix"
ForkVersion = "capella"
)

// Other settings
Expand Down
5 changes: 3 additions & 2 deletions server/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"github.com/attestantio/go-eth2-client/spec/capella"
"github.com/attestantio/go-eth2-client/spec/phase0"
"github.com/flashbots/go-boost-utils/types"
"github.com/flashbots/mev-boost/config"
"github.com/stretchr/testify/require"
)

Expand Down Expand Up @@ -190,7 +191,7 @@ func TestStatus(t *testing.T) {

require.Equal(t, http.StatusOK, rr.Code)
require.True(t, len(rr.Header().Get("X-MEVBoost-Version")) > 0)
require.Equal(t, "bellatrix", rr.Header().Get("X-MEVBoost-ForkVersion"))
require.Equal(t, config.ForkVersion, rr.Header().Get("X-MEVBoost-ForkVersion"))
require.Equal(t, 1, backend.relays[0].GetRequestCount(path))
})

Expand All @@ -203,7 +204,7 @@ func TestStatus(t *testing.T) {

require.Equal(t, http.StatusServiceUnavailable, rr.Code)
require.True(t, len(rr.Header().Get("X-MEVBoost-Version")) > 0)
require.Equal(t, "bellatrix", rr.Header().Get("X-MEVBoost-ForkVersion"))
require.Equal(t, config.ForkVersion, rr.Header().Get("X-MEVBoost-ForkVersion"))
require.Equal(t, 0, backend.relays[0].GetRequestCount(path))
})
}
Expand Down