Update WORKSPACE With Latest SSZ (#3416)

This commit is contained in:
Raul Jordan
2019-09-08 12:58:22 -04:00
committed by terence tsao
parent a3c3a72e72
commit adc27a0bc2
5 changed files with 4 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ test_cases:
b1: 5
b2: 6
b3: 6
head: 'b2'
head: 'b3'
# Equal weights children, GHOST chooses b2 because it is higher lexicographically than b1
- blocks:
- id: 'b0'

View File

@@ -949,7 +949,6 @@ func ProcessDeposit(beaconState *pb.BeaconState, deposit *ethpb.Deposit, valInde
amount := deposit.Data.Amount
index, ok := valIndexMap[bytesutil.ToBytes32(pubKey)]
if !ok {
domain := helpers.Domain(beaconState, helpers.CurrentEpoch(beaconState), params.BeaconConfig().DomainDeposit)
depositSig := deposit.Data.Signature
if err := verifySigningRoot(deposit.Data, pubKey, depositSig, domain); err != nil {

View File

@@ -400,7 +400,7 @@ func TestWinningCrosslink_CanGetWinningRoot(t *testing.T) {
}
want := &ethpb.Crosslink{StartEpoch: ge, Shard: 1, DataRoot: []byte{'B'}}
if !reflect.DeepEqual(winner, want) {
t.Errorf("Did not get wanted crosslink, got: %v", winner)
t.Errorf("Did not get wanted crosslink, got: %v, want %v", winner, want)
}
}