mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
Update WORKSPACE With Latest SSZ (#3416)
This commit is contained in:
committed by
terence tsao
parent
a3c3a72e72
commit
adc27a0bc2
@@ -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'
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -400,7 +400,7 @@ func TestWinningCrosslink_CanGetWinningRoot(t *testing.T) {
|
||||
}
|
||||
want := ðpb.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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user