Skip to content

Commit 4e43249

Browse files
committed
v1.5.0
1 parent 4f6b07c commit 4e43249

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

config/vars.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77
// Set during build
88
const (
99
// Version is the version of the software, set at build time
10-
Version = "v1.4.1-dev"
10+
Version = "v1.5.0"
1111

1212
// ForkVersion is the latest supported fork version at build time
13-
ForkVersion = "bellatrix"
13+
ForkVersion = "capella"
1414
)
1515

1616
// Other settings

server/service_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import (
2222
"github.com/attestantio/go-eth2-client/spec/capella"
2323
"github.com/attestantio/go-eth2-client/spec/phase0"
2424
"github.com/flashbots/go-boost-utils/types"
25+
"github.com/flashbots/mev-boost/config"
2526
"github.com/stretchr/testify/require"
2627
)
2728

@@ -191,7 +192,7 @@ func TestStatus(t *testing.T) {
191192

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

@@ -204,7 +205,7 @@ func TestStatus(t *testing.T) {
204205

205206
require.Equal(t, http.StatusServiceUnavailable, rr.Code)
206207
require.True(t, len(rr.Header().Get("X-MEVBoost-Version")) > 0)
207-
require.Equal(t, "bellatrix", rr.Header().Get("X-MEVBoost-ForkVersion"))
208+
require.Equal(t, config.ForkVersion, rr.Header().Get("X-MEVBoost-ForkVersion"))
208209
require.Equal(t, 0, backend.relays[0].GetRequestCount(path))
209210
})
210211
}

0 commit comments

Comments
 (0)