Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #28 from prysmaticlabs/sig-verify
Browse files Browse the repository at this point in the history
Update Dependencies to Fix Sig Verification and Other Bugs
  • Loading branch information
rauljordan committed Sep 16, 2019
2 parents 6c31830 + 8eec0a8 commit 2f46c87
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

http_archive(
name = "io_bazel_rules_go",
Expand Down Expand Up @@ -61,6 +62,13 @@ load(

_go_image_repos()

git_repository(
name = "graknlabs_bazel_distribution",
commit = "bd93910450a0f041f5d34a4b97faffcabba21419",
remote = "https://github.com/graknlabs/bazel-distribution",
shallow_since = "1563544980 +0300",
)

go_repository(
name = "com_github_aristanetworks_goarista",
commit = "728bce664cf5dfb921941b240828f989a2c8f8e3",
Expand Down Expand Up @@ -100,7 +108,7 @@ go_repository(

go_repository(
name = "com_github_prysmaticlabs_go_ssz",
commit = "08374e459d08fc6abeb43011a206ad54602e71b6",
commit = "9193cae6b7c3347054706b8466db139b8be90985",
importpath = "github.com/prysmaticlabs/go-ssz",
)

Expand Down
4 changes: 2 additions & 2 deletions eth1/deposits.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

var (
// MaxEffectiveBalance of an active eth2 validator.
MaxEffectiveBalance = uint64(3.2 * 1e9)
MaxEffectiveBalance = uint64(32 * 1e9)
blsWithdrawalPrefixByte = byte(0)
domainDeposit = [4]byte{3, 0, 0, 0}
genesisForkVersion = []byte{0, 0, 0, 0}
Expand Down Expand Up @@ -45,7 +45,7 @@ func CreateDepositData(validatorKey []byte, withdrawalKey []byte, amountInGwei u
Amount: amountInGwei,
}

sr, err := ssz.HashTreeRoot(di)
sr, err := ssz.SigningRoot(di)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 2f46c87

Please sign in to comment.