Update to V4 🚀 (#12134)

* Update V3 from V4

* Fix build v3 -> v4

* Update ssz

* Update beacon_chain.pb.go

* Fix formatter import

* Update update-mockgen.sh comment to v4

* Fix conflicts. Pass build and tests

* Fix test
This commit is contained in:
terencechain
2023-03-17 11:52:56 -07:00
committed by GitHub
parent 7d82a0510f
commit d17996f8b0
2182 changed files with 11206 additions and 11241 deletions

View File

@@ -4,7 +4,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary")
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "github.com/prysmaticlabs/prysm/v3/tools/unencrypted-keys-gen",
importpath = "github.com/prysmaticlabs/prysm/v4/tools/unencrypted-keys-gen",
visibility = [
"//tools/interop/convert-keys:__pkg__",
],

View File

@@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["keygen.go"],
importpath = "github.com/prysmaticlabs/prysm/v3/tools/unencrypted-keys-gen/keygen",
importpath = "github.com/prysmaticlabs/prysm/v4/tools/unencrypted-keys-gen/keygen",
visibility = ["//visibility:public"],
deps = ["@com_github_sirupsen_logrus//:go_default_library"],
)

View File

@@ -5,9 +5,9 @@ import (
"log"
"os"
"github.com/prysmaticlabs/prysm/v3/crypto/bls"
"github.com/prysmaticlabs/prysm/v3/runtime/interop"
"github.com/prysmaticlabs/prysm/v3/tools/unencrypted-keys-gen/keygen"
"github.com/prysmaticlabs/prysm/v4/crypto/bls"
"github.com/prysmaticlabs/prysm/v4/runtime/interop"
"github.com/prysmaticlabs/prysm/v4/tools/unencrypted-keys-gen/keygen"
)
var (

View File

@@ -5,9 +5,9 @@ import (
"encoding/json"
"testing"
"github.com/prysmaticlabs/prysm/v3/testing/assert"
"github.com/prysmaticlabs/prysm/v3/testing/require"
"github.com/prysmaticlabs/prysm/v3/tools/unencrypted-keys-gen/keygen"
"github.com/prysmaticlabs/prysm/v4/testing/assert"
"github.com/prysmaticlabs/prysm/v4/testing/require"
"github.com/prysmaticlabs/prysm/v4/tools/unencrypted-keys-gen/keygen"
)
func TestSavesUnencryptedKeys(t *testing.T) {