mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 10:12:19 +00:00
7df6110eff
Former-commit-id: a85e9b33e2895c403e625a650fca1d530a0f8230 [formerly f258e65dfbdcde622dcdb3e74b24f8dea33c6751] Former-commit-id: 94c5da680fdf74217500980089837e7c336d93a4
17 lines
328 B
Go
17 lines
328 B
Go
package sharding
|
|
|
|
import (
|
|
"math/big"
|
|
"testing"
|
|
)
|
|
|
|
func TestDepositSize(t *testing.T) {
|
|
want, err := new(big.Int).SetString("100000000000000000000", 10) // 100 ETH
|
|
if !err {
|
|
t.Fatalf("Failed to setup test")
|
|
}
|
|
if DepositSize.Cmp(want) != 0 {
|
|
t.Errorf("depositSize incorrect. Wanted %d, got %d", want, DepositSize)
|
|
}
|
|
}
|