mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
14 lines
311 B
Go
14 lines
311 B
Go
package params
|
|
|
|
import (
|
|
"math"
|
|
"testing"
|
|
)
|
|
|
|
func TestAttesterCommitteeSize(t *testing.T) {
|
|
c := DefaultConfig()
|
|
if c.CollationSizeLimit != int64(math.Pow(float64(2), float64(20))) {
|
|
t.Errorf("Shard count incorrect. Wanted %d, got %d", int64(math.Pow(float64(2), float64(20))), c.CollationSizeLimit)
|
|
}
|
|
}
|