2021-12-13 09:16:23 +00:00
|
|
|
// +build !minimal
|
|
|
|
|
|
|
|
package field_params_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2022-02-02 19:13:52 +00:00
|
|
|
fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams"
|
2021-12-13 09:16:23 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/config/params"
|
2022-02-02 19:13:52 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/testing/assert"
|
2021-12-13 09:16:23 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestFieldParametersValues(t *testing.T) {
|
|
|
|
params.UseMainnetConfig()
|
2022-02-02 19:13:52 +00:00
|
|
|
assert.Equal(t, "mainnet", fieldparams.Preset)
|
2022-01-16 18:44:42 +00:00
|
|
|
testFieldParametersMatchConfig(t)
|
2021-12-13 09:16:23 +00:00
|
|
|
}
|