mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 19:21:19 +00:00
b55ddb5a34
* Use go:build lines and remove obsolete +build lines * Run gazelle * Update crypto/bls/blst/stub.go * Update crypto/bls/blst/stub.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: Nishant Das <nishdas93@gmail.com>
20 lines
477 B
Go
20 lines
477 B
Go
//go:build minimal
|
|
|
|
package field_params_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams"
|
|
"github.com/prysmaticlabs/prysm/config/params"
|
|
"github.com/prysmaticlabs/prysm/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)
|
|
}
|