Skip to content

Commit

Permalink
chore: add tests for SupportMevBoost
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac committed Oct 17, 2023
1 parent dbfbe5c commit 68a93fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/pkg/generate/generate_scripts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,10 @@ func defaultFunc(t *testing.T, data *GenData, compose, env io.Reader) error {
if utils.Contains(data.Services, configConsensus) {
assert.NotNil(t, composeData.Services.ConfigConsensus)
}

networkConfig := configs.NetworksConfigs()[data.Network]
if !networkConfig.SupportsMEVBoost {
assert.Nil(t, composeData.Services.Mevboost)
}
// load .env file
envData := retrieveEnvData(t, env)
if data.Network == "gnosis" {
Expand Down

0 comments on commit 68a93fe

Please sign in to comment.