mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Create config package for Shared/featureconfig (#9593)
* add config/features * Gazelle * Gazelle * Fix build * Go mod tidy * active cache Co-authored-by: rauljordan <raul@prysmaticlabs.com>
This commit is contained in:
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/prysmaticlabs/prysm/shared/featureconfig"
|
||||
"github.com/prysmaticlabs/prysm/config/features"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
@@ -16,8 +16,8 @@ func TestAllFlagsExistInHelp(t *testing.T) {
|
||||
for _, group := range appHelpFlagGroups {
|
||||
helpFlags = append(helpFlags, group.Flags...)
|
||||
}
|
||||
helpFlags = featureconfig.ActiveFlags(helpFlags)
|
||||
appFlags = featureconfig.ActiveFlags(appFlags)
|
||||
helpFlags = features.ActiveFlags(helpFlags)
|
||||
appFlags = features.ActiveFlags(appFlags)
|
||||
|
||||
for _, flag := range appFlags {
|
||||
if !doesFlagExist(flag, helpFlags) {
|
||||
|
||||
Reference in New Issue
Block a user