mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 21:08:10 -05:00
20 lines
483 B
Go
20 lines
483 B
Go
//go:build minimal
|
|
|
|
package field_params_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
|
|
"github.com/OffchainLabs/prysm/v7/config/params"
|
|
"github.com/OffchainLabs/prysm/v7/testing/require"
|
|
)
|
|
|
|
func TestFieldParametersValues(t *testing.T) {
|
|
params.SetupTestConfigCleanup(t)
|
|
min := params.MinimalSpecConfig().Copy()
|
|
params.OverrideBeaconConfig(min)
|
|
require.Equal(t, "minimal", fieldparams.Preset)
|
|
testFieldParametersMatchConfig(t)
|
|
}
|