mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-28 14:17:17 +00:00
a9a4bb9163
* move testutil * util pkg * build * gaz Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
17 lines
447 B
Go
17 lines
447 B
Go
package utils
|
|
|
|
import (
|
|
"testing"
|
|
|
|
types "github.com/prysmaticlabs/eth2-types"
|
|
"github.com/prysmaticlabs/prysm/config/params"
|
|
"github.com/prysmaticlabs/prysm/testing/require"
|
|
)
|
|
|
|
func TestConfig(t *testing.T) {
|
|
require.NoError(t, SetConfig(t, "minimal"))
|
|
require.Equal(t, types.Slot(8), params.BeaconConfig().SlotsPerEpoch)
|
|
require.NoError(t, SetConfig(t, "mainnet"))
|
|
require.Equal(t, types.Slot(32), params.BeaconConfig().SlotsPerEpoch)
|
|
}
|