diff --git a/.deepsource.toml b/.deepsource.toml index 23462c71b..f064f47a3 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -11,7 +11,7 @@ name = "go" enabled = true [analyzers.meta] -import_paths = ["github.com/prysmaticlabs/prysm"] +import_paths = ["github.com/prysmaticlabs/prysm/v3"] [[analyzers]] name = "test-coverage" diff --git a/BUILD.bazel b/BUILD.bazel index 77647da76..8adfcd2be 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -12,7 +12,7 @@ exports_files([ "LICENSE.md", ]) -# gazelle:prefix github.com/prysmaticlabs/prysm +# gazelle:prefix github.com/prysmaticlabs/prysm/v3 # gazelle:map_kind go_library go_library @prysm//tools/go:def.bzl # gazelle:map_kind go_test go_test @prysm//tools/go:def.bzl # gazelle:map_kind go_repository go_repository @prysm//tools/go:def.bzl diff --git a/api/client/beacon/BUILD.bazel b/api/client/beacon/BUILD.bazel index eb9758515..0b70b6ae5 100644 --- a/api/client/beacon/BUILD.bazel +++ b/api/client/beacon/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "doc.go", "errors.go", ], - importpath = "github.com/prysmaticlabs/prysm/api/client/beacon", + importpath = "github.com/prysmaticlabs/prysm/v3/api/client/beacon", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/helpers:go_default_library", diff --git a/api/client/beacon/checkpoint.go b/api/client/beacon/checkpoint.go index aa8bb3bf4..9616c4f62 100644 --- a/api/client/beacon/checkpoint.go +++ b/api/client/beacon/checkpoint.go @@ -6,14 +6,14 @@ import ( "path" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/ssz/detect" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz/detect" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" log "github.com/sirupsen/logrus" "golang.org/x/mod/semver" ) diff --git a/api/client/beacon/checkpoint_test.go b/api/client/beacon/checkpoint_test.go index 59809271f..e2dd829b2 100644 --- a/api/client/beacon/checkpoint_test.go +++ b/api/client/beacon/checkpoint_test.go @@ -10,21 +10,21 @@ import ( "net/url" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - blocktest "github.com/prysmaticlabs/prysm/consensus-types/blocks/testing" - "github.com/prysmaticlabs/prysm/network/forks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + blocktest "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks/testing" + "github.com/prysmaticlabs/prysm/v3/network/forks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/ssz/detect" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz/detect" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) type testRT struct { diff --git a/api/client/beacon/client.go b/api/client/beacon/client.go index 05d1cbd54..0fb82f143 100644 --- a/api/client/beacon/client.go +++ b/api/client/beacon/client.go @@ -16,14 +16,14 @@ import ( "text/template" "time" - "github.com/prysmaticlabs/prysm/network/forks" + "github.com/prysmaticlabs/prysm/v3/network/forks" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/apimiddleware" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/apimiddleware" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" log "github.com/sirupsen/logrus" ) diff --git a/api/client/beacon/client_test.go b/api/client/beacon/client_test.go index 486603404..107957fa4 100644 --- a/api/client/beacon/client_test.go +++ b/api/client/beacon/client_test.go @@ -4,7 +4,7 @@ import ( "net/url" "testing" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestParseNodeVersion(t *testing.T) { diff --git a/api/client/builder/BUILD.bazel b/api/client/builder/BUILD.bazel index 9158c41a5..7f4a10ca4 100644 --- a/api/client/builder/BUILD.bazel +++ b/api/client/builder/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "errors.go", "types.go", ], - importpath = "github.com/prysmaticlabs/prysm/api/client/builder", + importpath = "github.com/prysmaticlabs/prysm/v3/api/client/builder", visibility = ["//visibility:public"], deps = [ "//consensus-types/primitives:go_default_library", diff --git a/api/client/builder/client.go b/api/client/builder/client.go index f9aaf8f51..faff61d72 100644 --- a/api/client/builder/client.go +++ b/api/client/builder/client.go @@ -13,10 +13,10 @@ import ( "time" "github.com/pkg/errors" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - v1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + v1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" log "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/api/client/builder/client_test.go b/api/client/builder/client_test.go index 542481a0d..8210625d1 100644 --- a/api/client/builder/client_test.go +++ b/api/client/builder/client_test.go @@ -12,12 +12,12 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - v1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + v1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) type roundtrip func(*http.Request) (*http.Response, error) diff --git a/api/client/builder/types.go b/api/client/builder/types.go index 6694daf7c..f1d53adf1 100644 --- a/api/client/builder/types.go +++ b/api/client/builder/types.go @@ -8,9 +8,9 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - v1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + v1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) type SignedValidatorRegistration struct { diff --git a/api/client/builder/types_test.go b/api/client/builder/types_test.go index 2cbe450c8..08025fc74 100644 --- a/api/client/builder/types_test.go +++ b/api/client/builder/types_test.go @@ -14,9 +14,9 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/golang/protobuf/proto" "github.com/prysmaticlabs/go-bitfield" - v1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + v1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func ezDecode(t *testing.T, s string) []byte { diff --git a/api/gateway/BUILD.bazel b/api/gateway/BUILD.bazel index c3b933b8f..958c62cd2 100644 --- a/api/gateway/BUILD.bazel +++ b/api/gateway/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "modifiers.go", "options.go", ], - importpath = "github.com/prysmaticlabs/prysm/api/gateway", + importpath = "github.com/prysmaticlabs/prysm/v3/api/gateway", visibility = [ "//beacon-chain:__subpackages__", "//validator:__subpackages__", diff --git a/api/gateway/apimiddleware/BUILD.bazel b/api/gateway/apimiddleware/BUILD.bazel index c97079006..095d9b7ff 100644 --- a/api/gateway/apimiddleware/BUILD.bazel +++ b/api/gateway/apimiddleware/BUILD.bazel @@ -10,7 +10,7 @@ go_library( "process_request.go", "structs.go", ], - importpath = "github.com/prysmaticlabs/prysm/api/gateway/apimiddleware", + importpath = "github.com/prysmaticlabs/prysm/v3/api/gateway/apimiddleware", visibility = ["//visibility:public"], deps = [ "//api/grpc:go_default_library", diff --git a/api/gateway/apimiddleware/param_handling.go b/api/gateway/apimiddleware/param_handling.go index a99741865..bc70f829e 100644 --- a/api/gateway/apimiddleware/param_handling.go +++ b/api/gateway/apimiddleware/param_handling.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/gorilla/mux" - butil "github.com/prysmaticlabs/prysm/encoding/bytesutil" + butil "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" "github.com/wealdtech/go-bytesutil" ) diff --git a/api/gateway/apimiddleware/param_handling_test.go b/api/gateway/apimiddleware/param_handling_test.go index b941581f7..d97791c98 100644 --- a/api/gateway/apimiddleware/param_handling_test.go +++ b/api/gateway/apimiddleware/param_handling_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/gorilla/mux" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestHandleURLParameters(t *testing.T) { diff --git a/api/gateway/apimiddleware/process_request.go b/api/gateway/apimiddleware/process_request.go index fbdf1f3a2..e195942c1 100644 --- a/api/gateway/apimiddleware/process_request.go +++ b/api/gateway/apimiddleware/process_request.go @@ -10,7 +10,7 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/api/grpc" + "github.com/prysmaticlabs/prysm/v3/api/grpc" ) // DeserializeRequestBodyIntoContainer deserializes the request's body into an endpoint-specific struct. diff --git a/api/gateway/apimiddleware/process_request_test.go b/api/gateway/apimiddleware/process_request_test.go index 6c97f3c4c..fec8b3fc6 100644 --- a/api/gateway/apimiddleware/process_request_test.go +++ b/api/gateway/apimiddleware/process_request_test.go @@ -8,9 +8,9 @@ import ( "strings" "testing" - "github.com/prysmaticlabs/prysm/api/grpc" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/api/grpc" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/sirupsen/logrus/hooks/test" ) diff --git a/api/gateway/gateway.go b/api/gateway/gateway.go index a16ffa07f..f768b4fc4 100644 --- a/api/gateway/gateway.go +++ b/api/gateway/gateway.go @@ -13,8 +13,8 @@ import ( "github.com/gorilla/mux" gwruntime "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/api/gateway/apimiddleware" - "github.com/prysmaticlabs/prysm/runtime" + "github.com/prysmaticlabs/prysm/v3/api/gateway/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/runtime" "github.com/rs/cors" "google.golang.org/grpc" "google.golang.org/grpc/connectivity" diff --git a/api/gateway/gateway_test.go b/api/gateway/gateway_test.go index 2d03e6d20..804e1370e 100644 --- a/api/gateway/gateway_test.go +++ b/api/gateway/gateway_test.go @@ -10,10 +10,10 @@ import ( "testing" "github.com/gorilla/mux" - "github.com/prysmaticlabs/prysm/api/gateway/apimiddleware" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/api/gateway/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" "github.com/urfave/cli/v2" ) diff --git a/api/gateway/options.go b/api/gateway/options.go index 8242cc593..236bfd73e 100644 --- a/api/gateway/options.go +++ b/api/gateway/options.go @@ -5,7 +5,7 @@ import ( "github.com/gorilla/mux" gwruntime "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/prysmaticlabs/prysm/api/gateway/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/api/gateway/apimiddleware" ) type Option func(g *Gateway) error diff --git a/api/grpc/BUILD.bazel b/api/grpc/BUILD.bazel index 30190a21d..8abbd0381 100644 --- a/api/grpc/BUILD.bazel +++ b/api/grpc/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "grpcutils.go", "parameters.go", ], - importpath = "github.com/prysmaticlabs/prysm/api/grpc", + importpath = "github.com/prysmaticlabs/prysm/v3/api/grpc", visibility = ["//visibility:public"], deps = [ "@com_github_sirupsen_logrus//:go_default_library", diff --git a/api/grpc/grpcutils_test.go b/api/grpc/grpcutils_test.go index ab2e3c718..a2b72f19c 100644 --- a/api/grpc/grpcutils_test.go +++ b/api/grpc/grpcutils_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" "google.golang.org/grpc" "google.golang.org/grpc/metadata" diff --git a/api/pagination/BUILD.bazel b/api/pagination/BUILD.bazel index c700c3f76..feba61052 100644 --- a/api/pagination/BUILD.bazel +++ b/api/pagination/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["pagination.go"], - importpath = "github.com/prysmaticlabs/prysm/api/pagination", + importpath = "github.com/prysmaticlabs/prysm/v3/api/pagination", visibility = ["//visibility:public"], deps = [ "//config/params:go_default_library", diff --git a/api/pagination/pagination.go b/api/pagination/pagination.go index 07e3d6fbb..bb95443c5 100644 --- a/api/pagination/pagination.go +++ b/api/pagination/pagination.go @@ -6,7 +6,7 @@ import ( "strconv" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) // StartAndEndPage takes in the requested page token, wanted page size, total page size. diff --git a/api/pagination/pagination_test.go b/api/pagination/pagination_test.go index cf9b6956a..767a0b982 100644 --- a/api/pagination/pagination_test.go +++ b/api/pagination/pagination_test.go @@ -3,9 +3,9 @@ package pagination_test import ( "testing" - "github.com/prysmaticlabs/prysm/api/pagination" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/api/pagination" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStartAndEndPage(t *testing.T) { diff --git a/async/BUILD.bazel b/async/BUILD.bazel index d63e431bd..da27a596f 100644 --- a/async/BUILD.bazel +++ b/async/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "multilock.go", "scatter.go", ], - importpath = "github.com/prysmaticlabs/prysm/async", + importpath = "github.com/prysmaticlabs/prysm/v3/async", visibility = ["//visibility:public"], deps = ["@com_github_sirupsen_logrus//:go_default_library"], ) diff --git a/async/abool/BUILD.bazel b/async/abool/BUILD.bazel index 14e3ecaab..2a6f1c960 100644 --- a/async/abool/BUILD.bazel +++ b/async/abool/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["abool.go"], - importpath = "github.com/prysmaticlabs/prysm/async/abool", + importpath = "github.com/prysmaticlabs/prysm/v3/async/abool", visibility = ["//visibility:public"], ) diff --git a/async/benchmark_test.go b/async/benchmark_test.go index 509935bfb..1ddfeba0f 100644 --- a/async/benchmark_test.go +++ b/async/benchmark_test.go @@ -6,8 +6,8 @@ import ( "sync" "testing" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/testing/require" log "github.com/sirupsen/logrus" ) diff --git a/async/debounce_test.go b/async/debounce_test.go index 31a6db859..1a5f9b2ee 100644 --- a/async/debounce_test.go +++ b/async/debounce_test.go @@ -7,10 +7,10 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestDebounce_NoEvents(t *testing.T) { diff --git a/async/event/BUILD.bazel b/async/event/BUILD.bazel index fb8ac225d..b9a1f058e 100644 --- a/async/event/BUILD.bazel +++ b/async/event/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "feed.go", "subscription.go", ], - importpath = "github.com/prysmaticlabs/prysm/async/event", + importpath = "github.com/prysmaticlabs/prysm/v3/async/event", visibility = ["//visibility:public"], deps = ["//time/mclock:go_default_library"], ) diff --git a/async/event/example_feed_test.go b/async/event/example_feed_test.go index 0bb313b11..402aeb2b3 100644 --- a/async/event/example_feed_test.go +++ b/async/event/example_feed_test.go @@ -19,7 +19,7 @@ package event_test import ( "fmt" - "github.com/prysmaticlabs/prysm/async/event" + "github.com/prysmaticlabs/prysm/v3/async/event" ) func ExampleFeed_acknowledgedEvents() { diff --git a/async/event/example_scope_test.go b/async/event/example_scope_test.go index f4ee53910..fb6b80b3c 100644 --- a/async/event/example_scope_test.go +++ b/async/event/example_scope_test.go @@ -20,7 +20,7 @@ import ( "fmt" "sync" - "github.com/prysmaticlabs/prysm/async/event" + "github.com/prysmaticlabs/prysm/v3/async/event" ) // This example demonstrates how SubscriptionScope can be used to control the lifetime of diff --git a/async/event/example_subscription_test.go b/async/event/example_subscription_test.go index 4bab06b49..df04607ca 100644 --- a/async/event/example_subscription_test.go +++ b/async/event/example_subscription_test.go @@ -19,7 +19,7 @@ package event_test import ( "fmt" - "github.com/prysmaticlabs/prysm/async/event" + "github.com/prysmaticlabs/prysm/v3/async/event" ) func ExampleNewSubscription() { diff --git a/async/event/feed_test.go b/async/event/feed_test.go index 52f6e3ed9..e8b1fd7a2 100644 --- a/async/event/feed_test.go +++ b/async/event/feed_test.go @@ -23,7 +23,7 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestFeedPanics(t *testing.T) { diff --git a/async/event/subscription.go b/async/event/subscription.go index 71c26b200..e5cfc8502 100644 --- a/async/event/subscription.go +++ b/async/event/subscription.go @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/prysmaticlabs/prysm/time/mclock" + "github.com/prysmaticlabs/prysm/v3/time/mclock" ) // waitQuotient is divided against the max backoff time, in order to have N requests based on the full diff --git a/async/event/subscription_test.go b/async/event/subscription_test.go index 0b9f28212..3bef56cda 100644 --- a/async/event/subscription_test.go +++ b/async/event/subscription_test.go @@ -23,7 +23,7 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) var errInts = errors.New("error in subscribeInts") diff --git a/async/every_test.go b/async/every_test.go index 1f454d51c..55d80d4fc 100644 --- a/async/every_test.go +++ b/async/every_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/async" + "github.com/prysmaticlabs/prysm/v3/async" ) func TestEveryRuns(t *testing.T) { diff --git a/async/scatter_test.go b/async/scatter_test.go index 5eabefe83..ff81823a3 100644 --- a/async/scatter_test.go +++ b/async/scatter_test.go @@ -5,9 +5,9 @@ import ( "sync" "testing" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestDouble(t *testing.T) { diff --git a/beacon-chain/blockchain/BUILD.bazel b/beacon-chain/blockchain/BUILD.bazel index 7131d3d64..95c1761e8 100644 --- a/beacon-chain/blockchain/BUILD.bazel +++ b/beacon-chain/blockchain/BUILD.bazel @@ -24,7 +24,7 @@ go_library( "state_balance_cache.go", "weak_subjectivity_checks.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/blockchain", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain", visibility = [ "//beacon-chain:__subpackages__", "//cmd/beacon-chain:__subpackages__", diff --git a/beacon-chain/blockchain/chain_info.go b/beacon-chain/blockchain/chain_info.go index 98cad52fb..bcef4c8b5 100644 --- a/beacon-chain/blockchain/chain_info.go +++ b/beacon-chain/blockchain/chain_info.go @@ -5,18 +5,18 @@ import ( "context" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice" - doublylinkedtree "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/doubly-linked-tree" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice" + doublylinkedtree "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/doubly-linked-tree" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" ) diff --git a/beacon-chain/blockchain/chain_info_norace_test.go b/beacon-chain/blockchain/chain_info_norace_test.go index 8810efccc..a5babaa81 100644 --- a/beacon-chain/blockchain/chain_info_norace_test.go +++ b/beacon-chain/blockchain/chain_info_norace_test.go @@ -4,12 +4,12 @@ import ( "context" "testing" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestHeadSlot_DataRace(t *testing.T) { diff --git a/beacon-chain/blockchain/chain_info_test.go b/beacon-chain/blockchain/chain_info_test.go index bf25faf64..c69e69071 100644 --- a/beacon-chain/blockchain/chain_info_test.go +++ b/beacon-chain/blockchain/chain_info_test.go @@ -5,24 +5,24 @@ import ( "testing" "time" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - doublylinkedtree "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/doubly-linked-tree" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + doublylinkedtree "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/doubly-linked-tree" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) @@ -364,7 +364,7 @@ func TestService_ChainHeads_DoublyLinkedTree(t *testing.T) { roots, slots := c.ChainHeads() require.Equal(t, 3, len(roots)) - rootMap := map[[32]byte]types.Slot{[32]byte{'c'}: 102, [32]byte{'d'}: 103, [32]byte{'e'}: 104} + rootMap := map[[32]byte]types.Slot{{'c'}: 102, {'d'}: 103, {'e'}: 104} for i, root := range roots { slot, ok := rootMap[root] require.Equal(t, true, ok) diff --git a/beacon-chain/blockchain/error_test.go b/beacon-chain/blockchain/error_test.go index 0c11940c5..ecf9041de 100644 --- a/beacon-chain/blockchain/error_test.go +++ b/beacon-chain/blockchain/error_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestIsInvalidBlock(t *testing.T) { diff --git a/beacon-chain/blockchain/execution_engine.go b/beacon-chain/blockchain/execution_engine.go index a9c27af92..1581b2eb4 100644 --- a/beacon-chain/blockchain/execution_engine.go +++ b/beacon-chain/blockchain/execution_engine.go @@ -5,20 +5,20 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/blockchain/execution_engine_test.go b/beacon-chain/blockchain/execution_engine_test.go index 98950e3eb..f0f3dc75a 100644 --- a/beacon-chain/blockchain/execution_engine_test.go +++ b/beacon-chain/blockchain/execution_engine_test.go @@ -7,27 +7,27 @@ import ( "github.com/ethereum/go-ethereum/common" gethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - doublylinkedtree "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/doubly-linked-tree" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - bstate "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - v1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + doublylinkedtree "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/doubly-linked-tree" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + bstate "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + v1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/blockchain/head.go b/beacon-chain/blockchain/head.go index af028cb4a..c045b0205 100644 --- a/beacon-chain/blockchain/head.go +++ b/beacon-chain/blockchain/head.go @@ -6,19 +6,19 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/blockchain/head_sync_committee_info.go b/beacon-chain/blockchain/head_sync_committee_info.go index 1e07a307a..231889908 100644 --- a/beacon-chain/blockchain/head_sync_committee_info.go +++ b/beacon-chain/blockchain/head_sync_committee_info.go @@ -5,17 +5,17 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // Initialize the state cache for sync committees. diff --git a/beacon-chain/blockchain/head_sync_committee_info_test.go b/beacon-chain/blockchain/head_sync_committee_info_test.go index fb221a66a..bb5c80483 100644 --- a/beacon-chain/blockchain/head_sync_committee_info_test.go +++ b/beacon-chain/blockchain/head_sync_committee_info_test.go @@ -4,15 +4,15 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestService_headSyncCommitteeFetcher_Errors(t *testing.T) { diff --git a/beacon-chain/blockchain/head_test.go b/beacon-chain/blockchain/head_test.go index 76baed4bd..3920b6d8b 100644 --- a/beacon-chain/blockchain/head_test.go +++ b/beacon-chain/blockchain/head_test.go @@ -7,21 +7,21 @@ import ( "testing" "time" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - doublylinkedtree "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/doubly-linked-tree" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + doublylinkedtree "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/doubly-linked-tree" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/blockchain/init_sync_process_block.go b/beacon-chain/blockchain/init_sync_process_block.go index 6177a41ab..42008c6d3 100644 --- a/beacon-chain/blockchain/init_sync_process_block.go +++ b/beacon-chain/blockchain/init_sync_process_block.go @@ -4,8 +4,8 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" ) // This saves a beacon block to the initial sync blocks cache. It rate limits how many blocks diff --git a/beacon-chain/blockchain/init_sync_process_block_test.go b/beacon-chain/blockchain/init_sync_process_block_test.go index 470fd3449..a890674b0 100644 --- a/beacon-chain/blockchain/init_sync_process_block_test.go +++ b/beacon-chain/blockchain/init_sync_process_block_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestService_getBlock(t *testing.T) { diff --git a/beacon-chain/blockchain/init_test.go b/beacon-chain/blockchain/init_test.go index 4b0daae71..37df892e9 100644 --- a/beacon-chain/blockchain/init_test.go +++ b/beacon-chain/blockchain/init_test.go @@ -1,7 +1,7 @@ package blockchain import ( - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func init() { diff --git a/beacon-chain/blockchain/log.go b/beacon-chain/blockchain/log.go index a391e46ce..a3381d5c8 100644 --- a/beacon-chain/blockchain/log.go +++ b/beacon-chain/blockchain/log.go @@ -6,14 +6,14 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/blockchain/log_test.go b/beacon-chain/blockchain/log_test.go index 6db5254c4..8da9cf397 100644 --- a/beacon-chain/blockchain/log_test.go +++ b/beacon-chain/blockchain/log_test.go @@ -3,11 +3,11 @@ package blockchain import ( "testing" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/blockchain/metrics.go b/beacon-chain/blockchain/metrics.go index 76cb8be51..ad8f9f7f9 100644 --- a/beacon-chain/blockchain/metrics.go +++ b/beacon-chain/blockchain/metrics.go @@ -6,15 +6,15 @@ import ( "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) var ( diff --git a/beacon-chain/blockchain/metrics_test.go b/beacon-chain/blockchain/metrics_test.go index f7e58ed8d..f596f3585 100644 --- a/beacon-chain/blockchain/metrics_test.go +++ b/beacon-chain/blockchain/metrics_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestReportEpochMetrics_BadHeadState(t *testing.T) { diff --git a/beacon-chain/blockchain/mock_test.go b/beacon-chain/blockchain/mock_test.go index 9a24dde03..4f8289b7f 100644 --- a/beacon-chain/blockchain/mock_test.go +++ b/beacon-chain/blockchain/mock_test.go @@ -5,10 +5,10 @@ import ( "errors" "testing" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" ) func testServiceOptsWithDB(t *testing.T) []Option { diff --git a/beacon-chain/blockchain/options.go b/beacon-chain/blockchain/options.go index 6ae365e9d..a79934c91 100644 --- a/beacon-chain/blockchain/options.go +++ b/beacon-chain/blockchain/options.go @@ -1,20 +1,20 @@ package blockchain import ( - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) type Option func(s *Service) error diff --git a/beacon-chain/blockchain/pow_block.go b/beacon-chain/blockchain/pow_block.go index ce4586f9b..cc9fc8b01 100644 --- a/beacon-chain/blockchain/pow_block.go +++ b/beacon-chain/blockchain/pow_block.go @@ -10,12 +10,12 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/holiman/uint256" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/blockchain/pow_block_test.go b/beacon-chain/blockchain/pow_block_test.go index 63f809b41..23ecf8496 100644 --- a/beacon-chain/blockchain/pow_block_test.go +++ b/beacon-chain/blockchain/pow_block_test.go @@ -8,16 +8,16 @@ import ( gethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/holiman/uint256" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mocks "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mocks "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func Test_validTerminalPowBlock(t *testing.T) { diff --git a/beacon-chain/blockchain/process_attestation.go b/beacon-chain/blockchain/process_attestation.go index 9d99f3924..cd5863ef7 100644 --- a/beacon-chain/blockchain/process_attestation.go +++ b/beacon-chain/blockchain/process_attestation.go @@ -5,12 +5,12 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" ) diff --git a/beacon-chain/blockchain/process_attestation_helpers.go b/beacon-chain/blockchain/process_attestation_helpers.go index d3f4efa20..550986fe3 100644 --- a/beacon-chain/blockchain/process_attestation_helpers.go +++ b/beacon-chain/blockchain/process_attestation_helpers.go @@ -6,15 +6,15 @@ import ( "strconv" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // getAttPreState retrieves the att pre state by either from the cache or the DB. diff --git a/beacon-chain/blockchain/process_attestation_test.go b/beacon-chain/blockchain/process_attestation_test.go index b137f5ed6..e0ececf34 100644 --- a/beacon-chain/blockchain/process_attestation_test.go +++ b/beacon-chain/blockchain/process_attestation_test.go @@ -5,21 +5,21 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - doublylinkedtree "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/doubly-linked-tree" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + doublylinkedtree "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/doubly-linked-tree" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestStore_OnAttestation_ErrorConditions_ProtoArray(t *testing.T) { diff --git a/beacon-chain/blockchain/process_block.go b/beacon-chain/blockchain/process_block.go index 88f36017f..ad53a23c8 100644 --- a/beacon-chain/blockchain/process_block.go +++ b/beacon-chain/blockchain/process_block.go @@ -6,29 +6,29 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - coreTime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + coreTime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" ) diff --git a/beacon-chain/blockchain/process_block_helpers.go b/beacon-chain/blockchain/process_block_helpers.go index 367efac06..80d3f8b8c 100644 --- a/beacon-chain/blockchain/process_block_helpers.go +++ b/beacon-chain/blockchain/process_block_helpers.go @@ -6,19 +6,19 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - doublylinkedtree "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/doubly-linked-tree" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - mathutil "github.com/prysmaticlabs/prysm/math" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + doublylinkedtree "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/doubly-linked-tree" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + mathutil "github.com/prysmaticlabs/prysm/v3/math" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" ) diff --git a/beacon-chain/blockchain/process_block_test.go b/beacon-chain/blockchain/process_block_test.go index 9fa4f7fe2..da54811f5 100644 --- a/beacon-chain/blockchain/process_block_test.go +++ b/beacon-chain/blockchain/process_block_test.go @@ -12,37 +12,37 @@ import ( "github.com/ethereum/go-ethereum/common" gethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/pkg/errors" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - doublylinkedtree "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/doubly-linked-tree" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - prysmTime "github.com/prysmaticlabs/prysm/time" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + doublylinkedtree "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/doubly-linked-tree" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/blockchain/receive_attestation.go b/beacon-chain/blockchain/receive_attestation.go index 648aa18f8..a5953ccb0 100644 --- a/beacon-chain/blockchain/receive_attestation.go +++ b/beacon-chain/blockchain/receive_attestation.go @@ -7,14 +7,14 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/blockchain/receive_attestation_test.go b/beacon-chain/blockchain/receive_attestation_test.go index 4b7caf1ce..4783f9c6d 100644 --- a/beacon-chain/blockchain/receive_attestation_test.go +++ b/beacon-chain/blockchain/receive_attestation_test.go @@ -5,21 +5,21 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/blockchain/receive_block.go b/beacon-chain/blockchain/receive_block.go index c4ff16d86..2412dc2be 100644 --- a/beacon-chain/blockchain/receive_block.go +++ b/beacon-chain/blockchain/receive_block.go @@ -4,14 +4,14 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" ) diff --git a/beacon-chain/blockchain/receive_block_test.go b/beacon-chain/blockchain/receive_block_test.go index 50ad6f88a..114183c15 100644 --- a/beacon-chain/blockchain/receive_block_test.go +++ b/beacon-chain/blockchain/receive_block_test.go @@ -6,21 +6,21 @@ import ( "testing" "time" - blockchainTesting "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + blockchainTesting "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/blockchain/service.go b/beacon-chain/blockchain/service.go index 679610b03..6fa02d497 100644 --- a/beacon-chain/blockchain/service.go +++ b/beacon-chain/blockchain/service.go @@ -11,34 +11,34 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - f "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice" - doublylinkedtree "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/doubly-linked-tree" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + f "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice" + doublylinkedtree "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/doubly-linked-tree" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" ) diff --git a/beacon-chain/blockchain/service_norace_test.go b/beacon-chain/blockchain/service_norace_test.go index fa2a2c86e..2907527d3 100644 --- a/beacon-chain/blockchain/service_norace_test.go +++ b/beacon-chain/blockchain/service_norace_test.go @@ -5,10 +5,10 @@ import ( "io" "testing" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/blockchain/service_test.go b/beacon-chain/blockchain/service_test.go index 1f6c2f1ac..e4c085c5c 100644 --- a/beacon-chain/blockchain/service_test.go +++ b/beacon-chain/blockchain/service_test.go @@ -8,34 +8,34 @@ import ( "time" "github.com/ethereum/go-ethereum/common" - "github.com/prysmaticlabs/prysm/async/event" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - doublylinkedtree "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/doubly-linked-tree" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async/event" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + doublylinkedtree "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/doubly-linked-tree" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/blockchain/state_balance_cache.go b/beacon-chain/blockchain/state_balance_cache.go index df69e3b5f..9a0625c4c 100644 --- a/beacon-chain/blockchain/state_balance_cache.go +++ b/beacon-chain/blockchain/state_balance_cache.go @@ -5,10 +5,10 @@ import ( "errors" "sync" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" ) type stateBalanceCache struct { diff --git a/beacon-chain/blockchain/state_balance_cache_test.go b/beacon-chain/blockchain/state_balance_cache_test.go index d91b6a7e5..8cc48d6ae 100644 --- a/beacon-chain/blockchain/state_balance_cache_test.go +++ b/beacon-chain/blockchain/state_balance_cache_test.go @@ -6,13 +6,13 @@ import ( "errors" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) type testStateOpt func(*ethpb.BeaconStateAltair) diff --git a/beacon-chain/blockchain/testing/BUILD.bazel b/beacon-chain/blockchain/testing/BUILD.bazel index e216d1902..6d8c6d8d4 100644 --- a/beacon-chain/blockchain/testing/BUILD.bazel +++ b/beacon-chain/blockchain/testing/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["mock.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing", visibility = [ "//beacon-chain:__subpackages__", "//testing:__subpackages__", diff --git a/beacon-chain/blockchain/testing/mock.go b/beacon-chain/blockchain/testing/mock.go index 78c2d7b49..7ff3bf250 100644 --- a/beacon-chain/blockchain/testing/mock.go +++ b/beacon-chain/blockchain/testing/mock.go @@ -9,22 +9,22 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - opfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + opfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/blockchain/weak_subjectivity_checks.go b/beacon-chain/blockchain/weak_subjectivity_checks.go index 2795858a3..532d71765 100644 --- a/beacon-chain/blockchain/weak_subjectivity_checks.go +++ b/beacon-chain/blockchain/weak_subjectivity_checks.go @@ -5,12 +5,12 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/db/filters" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) type weakSubjectivityDB interface { diff --git a/beacon-chain/blockchain/weak_subjectivity_checks_test.go b/beacon-chain/blockchain/weak_subjectivity_checks_test.go index 86bfe98d8..ab0d51fcb 100644 --- a/beacon-chain/blockchain/weak_subjectivity_checks_test.go +++ b/beacon-chain/blockchain/weak_subjectivity_checks_test.go @@ -5,16 +5,16 @@ import ( "testing" "github.com/pkg/errors" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestService_VerifyWeakSubjectivityRoot(t *testing.T) { diff --git a/beacon-chain/builder/BUILD.bazel b/beacon-chain/builder/BUILD.bazel index ee55be97a..07d7f3a40 100644 --- a/beacon-chain/builder/BUILD.bazel +++ b/beacon-chain/builder/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "option.go", "service.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/builder", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/builder", visibility = ["//visibility:public"], deps = [ "//api/client/builder:go_default_library", diff --git a/beacon-chain/builder/option.go b/beacon-chain/builder/option.go index 9f3ea703c..2f747b413 100644 --- a/beacon-chain/builder/option.go +++ b/beacon-chain/builder/option.go @@ -1,11 +1,11 @@ package builder import ( - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/network" - "github.com/prysmaticlabs/prysm/network/authorization" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/network" + "github.com/prysmaticlabs/prysm/v3/network/authorization" "github.com/urfave/cli/v2" ) diff --git a/beacon-chain/builder/service.go b/beacon-chain/builder/service.go index ff3206648..68682b075 100644 --- a/beacon-chain/builder/service.go +++ b/beacon-chain/builder/service.go @@ -6,14 +6,14 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/api/client/builder" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/network" - v1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/api/client/builder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/network" + v1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" log "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/builder/testing/BUILD.bazel b/beacon-chain/builder/testing/BUILD.bazel index 53ff8ec46..17288ae77 100644 --- a/beacon-chain/builder/testing/BUILD.bazel +++ b/beacon-chain/builder/testing/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["mock.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/builder/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/builder/testing", visibility = ["//visibility:public"], deps = [ "//consensus-types/primitives:go_default_library", diff --git a/beacon-chain/builder/testing/mock.go b/beacon-chain/builder/testing/mock.go index c44075132..702491165 100644 --- a/beacon-chain/builder/testing/mock.go +++ b/beacon-chain/builder/testing/mock.go @@ -3,9 +3,9 @@ package testing import ( "context" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // MockBuilderService to mock builder. diff --git a/beacon-chain/cache/BUILD.bazel b/beacon-chain/cache/BUILD.bazel index fa0284d58..cb66d975d 100644 --- a/beacon-chain/cache/BUILD.bazel +++ b/beacon-chain/cache/BUILD.bazel @@ -24,7 +24,7 @@ go_library( "sync_committee_head_state.go", "sync_subnet_ids.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/cache", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache", visibility = [ "//beacon-chain:__subpackages__", "//testing/spectest:__subpackages__", diff --git a/beacon-chain/cache/active_balance.go b/beacon-chain/cache/active_balance.go index df44c3a35..6ffbfe716 100644 --- a/beacon-chain/cache/active_balance.go +++ b/beacon-chain/cache/active_balance.go @@ -10,10 +10,10 @@ import ( "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/config/params" - ethTypes "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethTypes "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) const ( diff --git a/beacon-chain/cache/active_balance_disabled.go b/beacon-chain/cache/active_balance_disabled.go index 83a295d24..bbb57f17d 100644 --- a/beacon-chain/cache/active_balance_disabled.go +++ b/beacon-chain/cache/active_balance_disabled.go @@ -6,7 +6,7 @@ import ( "sync" lru "github.com/hashicorp/golang-lru" - "github.com/prysmaticlabs/prysm/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" ) // FakeBalanceCache is a fake struct with 1 LRU cache for looking up balance by epoch. diff --git a/beacon-chain/cache/active_balance_test.go b/beacon-chain/cache/active_balance_test.go index be3ed22be..ccea0c3bd 100644 --- a/beacon-chain/cache/active_balance_test.go +++ b/beacon-chain/cache/active_balance_test.go @@ -7,11 +7,11 @@ import ( "math" "testing" - state "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + state "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBalanceCache_AddGetBalance(t *testing.T) { diff --git a/beacon-chain/cache/attestation_data.go b/beacon-chain/cache/attestation_data.go index df2823d2f..72b1c72bb 100644 --- a/beacon-chain/cache/attestation_data.go +++ b/beacon-chain/cache/attestation_data.go @@ -10,7 +10,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "k8s.io/client-go/tools/cache" ) diff --git a/beacon-chain/cache/attestation_data_test.go b/beacon-chain/cache/attestation_data_test.go index 6fc27f53b..a0e287c7f 100644 --- a/beacon-chain/cache/attestation_data_test.go +++ b/beacon-chain/cache/attestation_data_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/cache/checkpoint_state.go b/beacon-chain/cache/checkpoint_state.go index 0cf8bb03b..948f19e14 100644 --- a/beacon-chain/cache/checkpoint_state.go +++ b/beacon-chain/cache/checkpoint_state.go @@ -6,10 +6,10 @@ import ( lru "github.com/hashicorp/golang-lru" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/crypto/hash" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) var ( diff --git a/beacon-chain/cache/checkpoint_state_test.go b/beacon-chain/cache/checkpoint_state_test.go index ee3c1620b..fa6236213 100644 --- a/beacon-chain/cache/checkpoint_state_test.go +++ b/beacon-chain/cache/checkpoint_state_test.go @@ -3,14 +3,14 @@ package cache import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/cache/committee.go b/beacon-chain/cache/committee.go index 0c139355f..f98c305b9 100644 --- a/beacon-chain/cache/committee.go +++ b/beacon-chain/cache/committee.go @@ -12,11 +12,11 @@ import ( lru "github.com/hashicorp/golang-lru" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - mathutil "github.com/prysmaticlabs/prysm/math" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + mathutil "github.com/prysmaticlabs/prysm/v3/math" ) const ( diff --git a/beacon-chain/cache/committee_disabled.go b/beacon-chain/cache/committee_disabled.go index c7fc6929f..caffe2976 100644 --- a/beacon-chain/cache/committee_disabled.go +++ b/beacon-chain/cache/committee_disabled.go @@ -6,7 +6,7 @@ package cache import ( "context" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // FakeCommitteeCache is a struct with 1 queue for looking up shuffled indices list by seed. diff --git a/beacon-chain/cache/committee_fuzz_test.go b/beacon-chain/cache/committee_fuzz_test.go index 354f3c135..926caf163 100644 --- a/beacon-chain/cache/committee_fuzz_test.go +++ b/beacon-chain/cache/committee_fuzz_test.go @@ -7,8 +7,8 @@ import ( "testing" fuzz "github.com/google/gofuzz" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestCommitteeKeyFuzz_OK(t *testing.T) { diff --git a/beacon-chain/cache/committee_test.go b/beacon-chain/cache/committee_test.go index 6ec63959c..d347caab1 100644 --- a/beacon-chain/cache/committee_test.go +++ b/beacon-chain/cache/committee_test.go @@ -9,11 +9,11 @@ import ( "strconv" "testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestCommitteeKeyFn_OK(t *testing.T) { diff --git a/beacon-chain/cache/committees.go b/beacon-chain/cache/committees.go index c2c87f27b..47ca8a972 100644 --- a/beacon-chain/cache/committees.go +++ b/beacon-chain/cache/committees.go @@ -3,7 +3,7 @@ package cache import ( "errors" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // ErrNotCommittee will be returned when a cache object is not a pointer to diff --git a/beacon-chain/cache/common.go b/beacon-chain/cache/common.go index 0dd15a6fa..350025281 100644 --- a/beacon-chain/cache/common.go +++ b/beacon-chain/cache/common.go @@ -1,7 +1,7 @@ package cache import ( - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" "k8s.io/client-go/tools/cache" ) diff --git a/beacon-chain/cache/depositcache/BUILD.bazel b/beacon-chain/cache/depositcache/BUILD.bazel index de14aff18..4c1c58367 100644 --- a/beacon-chain/cache/depositcache/BUILD.bazel +++ b/beacon-chain/cache/depositcache/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "log.go", "pending_deposits.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache", visibility = [ "//beacon-chain:__subpackages__", "//testing/spectest:__subpackages__", diff --git a/beacon-chain/cache/depositcache/deposits_cache.go b/beacon-chain/cache/depositcache/deposits_cache.go index beb3767e1..86b656b7b 100644 --- a/beacon-chain/cache/depositcache/deposits_cache.go +++ b/beacon-chain/cache/depositcache/deposits_cache.go @@ -14,11 +14,11 @@ import ( "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/cache/depositcache/deposits_cache_test.go b/beacon-chain/cache/depositcache/deposits_cache_test.go index 7bcb101d1..b42e510f8 100644 --- a/beacon-chain/cache/depositcache/deposits_cache_test.go +++ b/beacon-chain/cache/depositcache/deposits_cache_test.go @@ -7,12 +7,12 @@ import ( "math/big" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/cache/depositcache/pending_deposits.go b/beacon-chain/cache/depositcache/pending_deposits.go index a5bde0d2b..533ac33f9 100644 --- a/beacon-chain/cache/depositcache/pending_deposits.go +++ b/beacon-chain/cache/depositcache/pending_deposits.go @@ -7,8 +7,8 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/crypto/hash" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/cache/depositcache/pending_deposits_test.go b/beacon-chain/cache/depositcache/pending_deposits_test.go index 0da079909..60f7e9903 100644 --- a/beacon-chain/cache/depositcache/pending_deposits_test.go +++ b/beacon-chain/cache/depositcache/pending_deposits_test.go @@ -5,9 +5,9 @@ import ( "math/big" "testing" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/cache/payload_id.go b/beacon-chain/cache/payload_id.go index 49ef2835b..7e923d50c 100644 --- a/beacon-chain/cache/payload_id.go +++ b/beacon-chain/cache/payload_id.go @@ -4,8 +4,8 @@ import ( "bytes" "sync" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) const vIdLength = 8 diff --git a/beacon-chain/cache/payload_id_test.go b/beacon-chain/cache/payload_id_test.go index f99805165..f5549aa0c 100644 --- a/beacon-chain/cache/payload_id_test.go +++ b/beacon-chain/cache/payload_id_test.go @@ -3,8 +3,8 @@ package cache import ( "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestValidatorPayloadIDsCache_GetAndSaveValidatorPayloadIDs(t *testing.T) { diff --git a/beacon-chain/cache/proposer_indices.go b/beacon-chain/cache/proposer_indices.go index b7ec9848d..0a14ade41 100644 --- a/beacon-chain/cache/proposer_indices.go +++ b/beacon-chain/cache/proposer_indices.go @@ -7,7 +7,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "k8s.io/client-go/tools/cache" ) diff --git a/beacon-chain/cache/proposer_indices_disabled.go b/beacon-chain/cache/proposer_indices_disabled.go index 39c8b99cc..9925490c1 100644 --- a/beacon-chain/cache/proposer_indices_disabled.go +++ b/beacon-chain/cache/proposer_indices_disabled.go @@ -3,7 +3,7 @@ // This file is used in fuzzer builds to bypass proposer indices caches. package cache -import types "github.com/prysmaticlabs/prysm/consensus-types/primitives" +import types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" // FakeProposerIndicesCache is a struct with 1 queue for looking up proposer indices by root. type FakeProposerIndicesCache struct { diff --git a/beacon-chain/cache/proposer_indices_test.go b/beacon-chain/cache/proposer_indices_test.go index 2e7bed8dd..966bd0e18 100644 --- a/beacon-chain/cache/proposer_indices_test.go +++ b/beacon-chain/cache/proposer_indices_test.go @@ -6,10 +6,10 @@ import ( "strconv" "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestProposerKeyFn_OK(t *testing.T) { diff --git a/beacon-chain/cache/proposer_indices_type.go b/beacon-chain/cache/proposer_indices_type.go index bd32d8078..42e97fce3 100644 --- a/beacon-chain/cache/proposer_indices_type.go +++ b/beacon-chain/cache/proposer_indices_type.go @@ -3,7 +3,7 @@ package cache import ( "errors" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // ErrNotProposerIndices will be returned when a cache object is not a pointer to diff --git a/beacon-chain/cache/skip_slot_cache.go b/beacon-chain/cache/skip_slot_cache.go index 1088c4278..3be5346c1 100644 --- a/beacon-chain/cache/skip_slot_cache.go +++ b/beacon-chain/cache/skip_slot_cache.go @@ -9,8 +9,8 @@ import ( lru "github.com/hashicorp/golang-lru" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" "go.opencensus.io/trace" ) diff --git a/beacon-chain/cache/skip_slot_cache_test.go b/beacon-chain/cache/skip_slot_cache_test.go index 8446453df..1e2659344 100644 --- a/beacon-chain/cache/skip_slot_cache_test.go +++ b/beacon-chain/cache/skip_slot_cache_test.go @@ -4,12 +4,12 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSkipSlotCache_RoundTrip(t *testing.T) { diff --git a/beacon-chain/cache/subnet_ids.go b/beacon-chain/cache/subnet_ids.go index 4125e001f..2a9b47c04 100644 --- a/beacon-chain/cache/subnet_ids.go +++ b/beacon-chain/cache/subnet_ids.go @@ -6,10 +6,10 @@ import ( lru "github.com/hashicorp/golang-lru" "github.com/patrickmn/go-cache" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" ) type subnetIDs struct { diff --git a/beacon-chain/cache/subnet_ids_test.go b/beacon-chain/cache/subnet_ids_test.go index 1ce453dac..a2e0fac80 100644 --- a/beacon-chain/cache/subnet_ids_test.go +++ b/beacon-chain/cache/subnet_ids_test.go @@ -3,10 +3,10 @@ package cache import ( "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSubnetIDsCache_RoundTrip(t *testing.T) { diff --git a/beacon-chain/cache/sync_committee.go b/beacon-chain/cache/sync_committee.go index d78c9a57c..091643f67 100644 --- a/beacon-chain/cache/sync_committee.go +++ b/beacon-chain/cache/sync_committee.go @@ -7,9 +7,9 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" "k8s.io/client-go/tools/cache" ) diff --git a/beacon-chain/cache/sync_committee_disabled.go b/beacon-chain/cache/sync_committee_disabled.go index 75c1da4c0..5766783ae 100644 --- a/beacon-chain/cache/sync_committee_disabled.go +++ b/beacon-chain/cache/sync_committee_disabled.go @@ -3,8 +3,8 @@ package cache import ( - "github.com/prysmaticlabs/prysm/beacon-chain/state" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // FakeSyncCommitteeCache is a fake `SyncCommitteeCache` to satisfy fuzzing. diff --git a/beacon-chain/cache/sync_committee_head_state.go b/beacon-chain/cache/sync_committee_head_state.go index ed9aa9e01..f4c14c183 100644 --- a/beacon-chain/cache/sync_committee_head_state.go +++ b/beacon-chain/cache/sync_committee_head_state.go @@ -4,10 +4,10 @@ import ( "sync" lru "github.com/hashicorp/golang-lru" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // SyncCommitteeHeadStateCache for the latest head state requested by a sync committee participant. diff --git a/beacon-chain/cache/sync_committee_head_state_test.go b/beacon-chain/cache/sync_committee_head_state_test.go index 4fb081e1e..5aff1471e 100644 --- a/beacon-chain/cache/sync_committee_head_state_test.go +++ b/beacon-chain/cache/sync_committee_head_state_test.go @@ -3,14 +3,14 @@ package cache import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSyncCommitteeHeadState(t *testing.T) { diff --git a/beacon-chain/cache/sync_committee_test.go b/beacon-chain/cache/sync_committee_test.go index dc28228d8..164c5d8bd 100644 --- a/beacon-chain/cache/sync_committee_test.go +++ b/beacon-chain/cache/sync_committee_test.go @@ -3,11 +3,11 @@ package cache_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestSyncCommitteeCache_CanUpdateAndRetrieve(t *testing.T) { diff --git a/beacon-chain/cache/sync_subnet_ids.go b/beacon-chain/cache/sync_subnet_ids.go index e69a97d3b..dab44981e 100644 --- a/beacon-chain/cache/sync_subnet_ids.go +++ b/beacon-chain/cache/sync_subnet_ids.go @@ -5,11 +5,11 @@ import ( "time" "github.com/patrickmn/go-cache" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) type syncSubnetIDs struct { diff --git a/beacon-chain/cache/sync_subnet_ids_test.go b/beacon-chain/cache/sync_subnet_ids_test.go index 8adfd0138..26674a41f 100644 --- a/beacon-chain/cache/sync_subnet_ids_test.go +++ b/beacon-chain/cache/sync_subnet_ids_test.go @@ -3,10 +3,10 @@ package cache import ( "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSyncSubnetIDsCache_Roundtrip(t *testing.T) { diff --git a/beacon-chain/core/altair/BUILD.bazel b/beacon-chain/core/altair/BUILD.bazel index 4d1c585cc..32882b7b7 100644 --- a/beacon-chain/core/altair/BUILD.bazel +++ b/beacon-chain/core/altair/BUILD.bazel @@ -13,7 +13,7 @@ go_library( "transition.go", "upgrade.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/altair", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair", visibility = [ "//beacon-chain:__subpackages__", "//testing/endtoend/evaluators:__subpackages__", diff --git a/beacon-chain/core/altair/attestation.go b/beacon-chain/core/altair/attestation.go index 2ecfac521..d8b0d406c 100644 --- a/beacon-chain/core/altair/attestation.go +++ b/beacon-chain/core/altair/attestation.go @@ -6,16 +6,16 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" "go.opencensus.io/trace" ) diff --git a/beacon-chain/core/altair/attestation_test.go b/beacon-chain/core/altair/attestation_test.go index d273cb67c..1c62697b6 100644 --- a/beacon-chain/core/altair/attestation_test.go +++ b/beacon-chain/core/altair/attestation_test.go @@ -7,22 +7,22 @@ import ( fuzz "github.com/google/gofuzz" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/math" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/math" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestProcessAttestations_InclusionDelayFailure(t *testing.T) { diff --git a/beacon-chain/core/altair/block.go b/beacon-chain/core/altair/block.go index 3be31371d..b2035c04b 100644 --- a/beacon-chain/core/altair/block.go +++ b/beacon-chain/core/altair/block.go @@ -4,16 +4,16 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - p2pType "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + p2pType "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // ProcessSyncAggregate verifies sync committee aggregate signature signing over the previous slot block root. diff --git a/beacon-chain/core/altair/block_test.go b/beacon-chain/core/altair/block_test.go index 0720f5134..e06ddd78b 100644 --- a/beacon-chain/core/altair/block_test.go +++ b/beacon-chain/core/altair/block_test.go @@ -6,20 +6,20 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - p2pType "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + p2pType "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestProcessSyncCommittee_PerfectParticipation(t *testing.T) { diff --git a/beacon-chain/core/altair/deposit.go b/beacon-chain/core/altair/deposit.go index 1f5853376..c552f0a96 100644 --- a/beacon-chain/core/altair/deposit.go +++ b/beacon-chain/core/altair/deposit.go @@ -4,10 +4,10 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ProcessDeposits processes validator deposits for beacon state Altair. diff --git a/beacon-chain/core/altair/deposit_fuzz_test.go b/beacon-chain/core/altair/deposit_fuzz_test.go index 99eda4c40..cf10f6bf6 100644 --- a/beacon-chain/core/altair/deposit_fuzz_test.go +++ b/beacon-chain/core/altair/deposit_fuzz_test.go @@ -5,10 +5,10 @@ import ( "testing" fuzz "github.com/google/gofuzz" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestFuzzProcessDeposits_10000(t *testing.T) { diff --git a/beacon-chain/core/altair/deposit_test.go b/beacon-chain/core/altair/deposit_test.go index 83afd1c19..4be685afd 100644 --- a/beacon-chain/core/altair/deposit_test.go +++ b/beacon-chain/core/altair/deposit_test.go @@ -4,16 +4,16 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestProcessDeposits_SameValidatorMultipleDepositsSameBlock(t *testing.T) { diff --git a/beacon-chain/core/altair/epoch_precompute.go b/beacon-chain/core/altair/epoch_precompute.go index 9358eac25..c8634c8f4 100644 --- a/beacon-chain/core/altair/epoch_precompute.go +++ b/beacon-chain/core/altair/epoch_precompute.go @@ -4,12 +4,12 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/math" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/math" "go.opencensus.io/trace" ) diff --git a/beacon-chain/core/altair/epoch_precompute_test.go b/beacon-chain/core/altair/epoch_precompute_test.go index 7c4dbfd5b..4e7e07ca7 100644 --- a/beacon-chain/core/altair/epoch_precompute_test.go +++ b/beacon-chain/core/altair/epoch_precompute_test.go @@ -5,15 +5,15 @@ import ( "math" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestInitializeEpochValidators_Ok(t *testing.T) { diff --git a/beacon-chain/core/altair/epoch_spec.go b/beacon-chain/core/altair/epoch_spec.go index cfdfb0815..ff61a7e07 100644 --- a/beacon-chain/core/altair/epoch_spec.go +++ b/beacon-chain/core/altair/epoch_spec.go @@ -3,10 +3,10 @@ package altair import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" log "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/core/altair/epoch_spec_test.go b/beacon-chain/core/altair/epoch_spec_test.go index ff5afc422..2045751ef 100644 --- a/beacon-chain/core/altair/epoch_spec_test.go +++ b/beacon-chain/core/altair/epoch_spec_test.go @@ -6,18 +6,18 @@ import ( "math" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/core/altair/reward.go b/beacon-chain/core/altair/reward.go index 2d577ae87..7d95001bd 100644 --- a/beacon-chain/core/altair/reward.go +++ b/beacon-chain/core/altair/reward.go @@ -2,11 +2,11 @@ package altair import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/math" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/math" ) // BaseReward takes state and validator index and calculate diff --git a/beacon-chain/core/altair/reward_test.go b/beacon-chain/core/altair/reward_test.go index 8434c8327..b2b725468 100644 --- a/beacon-chain/core/altair/reward_test.go +++ b/beacon-chain/core/altair/reward_test.go @@ -4,12 +4,12 @@ import ( "math" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func Test_BaseReward(t *testing.T) { diff --git a/beacon-chain/core/altair/sync_committee.go b/beacon-chain/core/altair/sync_committee.go index 5967101a5..6169be34f 100644 --- a/beacon-chain/core/altair/sync_committee.go +++ b/beacon-chain/core/altair/sync_committee.go @@ -6,18 +6,18 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - coreTime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/math" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + coreTime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/math" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) const maxRandomByte = uint64(1<<8 - 1) diff --git a/beacon-chain/core/altair/sync_committee_test.go b/beacon-chain/core/altair/sync_committee_test.go index 500dceb6c..55ad2682c 100644 --- a/beacon-chain/core/altair/sync_committee_test.go +++ b/beacon-chain/core/altair/sync_committee_test.go @@ -5,18 +5,18 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" ) func TestSyncCommitteeIndices_CanGet(t *testing.T) { diff --git a/beacon-chain/core/altair/transition.go b/beacon-chain/core/altair/transition.go index 4c10c2d06..3dfd2c1b9 100644 --- a/beacon-chain/core/altair/transition.go +++ b/beacon-chain/core/altair/transition.go @@ -4,9 +4,9 @@ import ( "context" "github.com/pkg/errors" - e "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/state" + e "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" "go.opencensus.io/trace" ) diff --git a/beacon-chain/core/altair/transition_test.go b/beacon-chain/core/altair/transition_test.go index 88332e01e..6d48675d4 100644 --- a/beacon-chain/core/altair/transition_test.go +++ b/beacon-chain/core/altair/transition_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestProcessEpoch_CanProcess(t *testing.T) { diff --git a/beacon-chain/core/altair/upgrade.go b/beacon-chain/core/altair/upgrade.go index 8b65386fc..ab89a4dd8 100644 --- a/beacon-chain/core/altair/upgrade.go +++ b/beacon-chain/core/altair/upgrade.go @@ -3,13 +3,13 @@ package altair import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - statealtair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + statealtair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" ) // UpgradeToAltair updates input state to return the version Altair state. diff --git a/beacon-chain/core/altair/upgrade_test.go b/beacon-chain/core/altair/upgrade_test.go index 42475872e..50e85bfd0 100644 --- a/beacon-chain/core/altair/upgrade_test.go +++ b/beacon-chain/core/altair/upgrade_test.go @@ -5,15 +5,15 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestTranslateParticipation(t *testing.T) { diff --git a/beacon-chain/core/blocks/BUILD.bazel b/beacon-chain/core/blocks/BUILD.bazel index 145ad5254..b0735c475 100644 --- a/beacon-chain/core/blocks/BUILD.bazel +++ b/beacon-chain/core/blocks/BUILD.bazel @@ -18,7 +18,7 @@ go_library( "signature.go", "withdrawals.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks", visibility = [ "//beacon-chain:__subpackages__", "//testing/spectest:__subpackages__", diff --git a/beacon-chain/core/blocks/attestation.go b/beacon-chain/core/blocks/attestation.go index 1b268caa0..f7bae1a31 100644 --- a/beacon-chain/core/blocks/attestation.go +++ b/beacon-chain/core/blocks/attestation.go @@ -5,17 +5,17 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" "go.opencensus.io/trace" ) diff --git a/beacon-chain/core/blocks/attestation_regression_test.go b/beacon-chain/core/blocks/attestation_regression_test.go index 479945b65..b986fe9fc 100644 --- a/beacon-chain/core/blocks/attestation_regression_test.go +++ b/beacon-chain/core/blocks/attestation_regression_test.go @@ -6,13 +6,13 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // Beaconfuzz discovered an off by one issue where an attestation could be produced which would pass diff --git a/beacon-chain/core/blocks/attestation_test.go b/beacon-chain/core/blocks/attestation_test.go index b3aec2b76..21085d480 100644 --- a/beacon-chain/core/blocks/attestation_test.go +++ b/beacon-chain/core/blocks/attestation_test.go @@ -5,22 +5,22 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation" - attaggregation "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/attestations" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation" + attaggregation "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/attestations" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestProcessAggregatedAttestation_OverlappingBits(t *testing.T) { diff --git a/beacon-chain/core/blocks/attester_slashing.go b/beacon-chain/core/blocks/attester_slashing.go index 5eacc6e42..8e7712a72 100644 --- a/beacon-chain/core/blocks/attester_slashing.go +++ b/beacon-chain/core/blocks/attester_slashing.go @@ -5,16 +5,16 @@ import ( "sort" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/slashings" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/slashings" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // ProcessAttesterSlashings is one of the operations performed diff --git a/beacon-chain/core/blocks/attester_slashing_test.go b/beacon-chain/core/blocks/attester_slashing_test.go index 46b8edcc3..35c5ca65c 100644 --- a/beacon-chain/core/blocks/attester_slashing_test.go +++ b/beacon-chain/core/blocks/attester_slashing_test.go @@ -4,18 +4,18 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - v "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + v "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestSlashableAttestationData_CanSlash(t *testing.T) { diff --git a/beacon-chain/core/blocks/block_operations_fuzz_test.go b/beacon-chain/core/blocks/block_operations_fuzz_test.go index d796b91bc..f289d90bc 100644 --- a/beacon-chain/core/blocks/block_operations_fuzz_test.go +++ b/beacon-chain/core/blocks/block_operations_fuzz_test.go @@ -5,14 +5,14 @@ import ( "testing" fuzz "github.com/google/gofuzz" - v "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + v "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestFuzzProcessAttestationNoVerify_10000(t *testing.T) { diff --git a/beacon-chain/core/blocks/block_regression_test.go b/beacon-chain/core/blocks/block_regression_test.go index d8e01bf6f..f3507725e 100644 --- a/beacon-chain/core/blocks/block_regression_test.go +++ b/beacon-chain/core/blocks/block_regression_test.go @@ -4,16 +4,16 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - v "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + v "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestProcessAttesterSlashings_RegressionSlashableIndices(t *testing.T) { diff --git a/beacon-chain/core/blocks/deposit.go b/beacon-chain/core/blocks/deposit.go index 88b889adf..017662b71 100644 --- a/beacon-chain/core/blocks/deposit.go +++ b/beacon-chain/core/blocks/deposit.go @@ -5,16 +5,16 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/contracts/deposit" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/math" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/contracts/deposit" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/math" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ProcessPreGenesisDeposits processes a deposit for the beacon state before chainstart. diff --git a/beacon-chain/core/blocks/deposit_test.go b/beacon-chain/core/blocks/deposit_test.go index 0ec8c4541..4f7455a3a 100644 --- a/beacon-chain/core/blocks/deposit_test.go +++ b/beacon-chain/core/blocks/deposit_test.go @@ -4,19 +4,19 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestProcessDeposits_SameValidatorMultipleDepositsSameBlock(t *testing.T) { diff --git a/beacon-chain/core/blocks/eth1_data.go b/beacon-chain/core/blocks/eth1_data.go index 93d6871cf..527d48a7e 100644 --- a/beacon-chain/core/blocks/eth1_data.go +++ b/beacon-chain/core/blocks/eth1_data.go @@ -5,9 +5,9 @@ import ( "context" "errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ProcessEth1DataInBlock is an operation performed on each diff --git a/beacon-chain/core/blocks/eth1_data_test.go b/beacon-chain/core/blocks/eth1_data_test.go index c6bef7f6b..a31b1910a 100644 --- a/beacon-chain/core/blocks/eth1_data_test.go +++ b/beacon-chain/core/blocks/eth1_data_test.go @@ -5,16 +5,16 @@ import ( "fmt" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/core/blocks/exit.go b/beacon-chain/core/blocks/exit.go index 32ee7b206..3473447db 100644 --- a/beacon-chain/core/blocks/exit.go +++ b/beacon-chain/core/blocks/exit.go @@ -5,14 +5,14 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - v "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + v "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // ValidatorAlreadyExitedMsg defines a message saying that a validator has already exited. diff --git a/beacon-chain/core/blocks/exit_test.go b/beacon-chain/core/blocks/exit_test.go index 2bc4c9cab..1a3ce95d5 100644 --- a/beacon-chain/core/blocks/exit_test.go +++ b/beacon-chain/core/blocks/exit_test.go @@ -4,18 +4,18 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestProcessVoluntaryExits_NotActiveLongEnoughToExit(t *testing.T) { diff --git a/beacon-chain/core/blocks/genesis.go b/beacon-chain/core/blocks/genesis.go index 49b24b3b4..17dda63f2 100644 --- a/beacon-chain/core/blocks/genesis.go +++ b/beacon-chain/core/blocks/genesis.go @@ -3,10 +3,10 @@ package blocks import ( - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // NewGenesisBlock returns the canonical, genesis block for the beacon chain protocol. diff --git a/beacon-chain/core/blocks/genesis_test.go b/beacon-chain/core/blocks/genesis_test.go index 9b86cb0d2..1266a10e0 100644 --- a/beacon-chain/core/blocks/genesis_test.go +++ b/beacon-chain/core/blocks/genesis_test.go @@ -3,9 +3,9 @@ package blocks_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestGenesisBlock_InitializedCorrectly(t *testing.T) { diff --git a/beacon-chain/core/blocks/header.go b/beacon-chain/core/blocks/header.go index 6acdddb3f..789d9d0a5 100644 --- a/beacon-chain/core/blocks/header.go +++ b/beacon-chain/core/blocks/header.go @@ -5,13 +5,13 @@ import ( "context" "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ProcessBlockHeader validates a block by its header. diff --git a/beacon-chain/core/blocks/header_test.go b/beacon-chain/core/blocks/header_test.go index d16db0031..851643f00 100644 --- a/beacon-chain/core/blocks/header_test.go +++ b/beacon-chain/core/blocks/header_test.go @@ -5,19 +5,19 @@ import ( "io" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "github.com/sirupsen/logrus" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/core/blocks/payload.go b/beacon-chain/core/blocks/payload.go index 0dd8ecdb0..fde9486c2 100644 --- a/beacon-chain/core/blocks/payload.go +++ b/beacon-chain/core/blocks/payload.go @@ -4,15 +4,15 @@ import ( "bytes" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) var ( diff --git a/beacon-chain/core/blocks/payload_test.go b/beacon-chain/core/blocks/payload_test.go index dd0a7d6c7..01cc18864 100644 --- a/beacon-chain/core/blocks/payload_test.go +++ b/beacon-chain/core/blocks/payload_test.go @@ -3,18 +3,18 @@ package blocks_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func Test_IsMergeComplete(t *testing.T) { diff --git a/beacon-chain/core/blocks/proposer_slashing.go b/beacon-chain/core/blocks/proposer_slashing.go index 4afbda05f..4f59d5c4a 100644 --- a/beacon-chain/core/blocks/proposer_slashing.go +++ b/beacon-chain/core/blocks/proposer_slashing.go @@ -5,15 +5,15 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/core/blocks/proposer_slashing_regression_test.go b/beacon-chain/core/blocks/proposer_slashing_regression_test.go index 0c3ad1f94..9ccb165d0 100644 --- a/beacon-chain/core/blocks/proposer_slashing_regression_test.go +++ b/beacon-chain/core/blocks/proposer_slashing_regression_test.go @@ -4,10 +4,10 @@ import ( "os" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) // Beaconfuzz discovered an issue where a proposer slashing could be produced which would pass diff --git a/beacon-chain/core/blocks/proposer_slashing_test.go b/beacon-chain/core/blocks/proposer_slashing_test.go index e5c8909af..7c9fd4605 100644 --- a/beacon-chain/core/blocks/proposer_slashing_test.go +++ b/beacon-chain/core/blocks/proposer_slashing_test.go @@ -5,21 +5,21 @@ import ( "fmt" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - v "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + v "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestProcessProposerSlashings_UnmatchedHeaderSlots(t *testing.T) { diff --git a/beacon-chain/core/blocks/randao.go b/beacon-chain/core/blocks/randao.go index 48d61ff97..1095ed401 100644 --- a/beacon-chain/core/blocks/randao.go +++ b/beacon-chain/core/blocks/randao.go @@ -4,12 +4,12 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // ProcessRandao checks the block proposer's diff --git a/beacon-chain/core/blocks/randao_test.go b/beacon-chain/core/blocks/randao_test.go index 22c2c2f72..142604c11 100644 --- a/beacon-chain/core/blocks/randao_test.go +++ b/beacon-chain/core/blocks/randao_test.go @@ -5,17 +5,17 @@ import ( "encoding/binary" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestProcessRandao_IncorrectProposerFailsVerification(t *testing.T) { diff --git a/beacon-chain/core/blocks/signature.go b/beacon-chain/core/blocks/signature.go index 5ad940345..439f02815 100644 --- a/beacon-chain/core/blocks/signature.go +++ b/beacon-chain/core/blocks/signature.go @@ -5,17 +5,17 @@ import ( "encoding/binary" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/network/forks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/network/forks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // retrieves the signature batch from the raw data, public key,signature and domain provided. diff --git a/beacon-chain/core/blocks/signature_test.go b/beacon-chain/core/blocks/signature_test.go index 86d051773..3116add11 100644 --- a/beacon-chain/core/blocks/signature_test.go +++ b/beacon-chain/core/blocks/signature_test.go @@ -3,16 +3,16 @@ package blocks_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestVerifyBlockHeaderSignature(t *testing.T) { diff --git a/beacon-chain/core/blocks/withdrawals.go b/beacon-chain/core/blocks/withdrawals.go index f1b14d384..92c0f89ac 100644 --- a/beacon-chain/core/blocks/withdrawals.go +++ b/beacon-chain/core/blocks/withdrawals.go @@ -3,13 +3,13 @@ package blocks import ( "bytes" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/hash/htr" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/hash/htr" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) const executionToBLSPadding = 12 diff --git a/beacon-chain/core/blocks/withdrawals_test.go b/beacon-chain/core/blocks/withdrawals_test.go index 575f1788d..7957a5b9a 100644 --- a/beacon-chain/core/blocks/withdrawals_test.go +++ b/beacon-chain/core/blocks/withdrawals_test.go @@ -3,16 +3,16 @@ package blocks_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/hash/htr" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/hash/htr" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestProcessBLSToExecutionChange(t *testing.T) { diff --git a/beacon-chain/core/epoch/BUILD.bazel b/beacon-chain/core/epoch/BUILD.bazel index 89e07f141..da950d9da 100644 --- a/beacon-chain/core/epoch/BUILD.bazel +++ b/beacon-chain/core/epoch/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["epoch_processing.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch", visibility = [ "//beacon-chain:__subpackages__", "//testing/spectest:__subpackages__", diff --git a/beacon-chain/core/epoch/epoch_processing.go b/beacon-chain/core/epoch/epoch_processing.go index 7aea9b531..828e2795d 100644 --- a/beacon-chain/core/epoch/epoch_processing.go +++ b/beacon-chain/core/epoch/epoch_processing.go @@ -10,15 +10,15 @@ import ( "sort" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/math" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/math" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" ) // sortableIndices implements the Sort interface to sort newly activated validator indices diff --git a/beacon-chain/core/epoch/epoch_processing_fuzz_test.go b/beacon-chain/core/epoch/epoch_processing_fuzz_test.go index aa081c20d..1c60fe920 100644 --- a/beacon-chain/core/epoch/epoch_processing_fuzz_test.go +++ b/beacon-chain/core/epoch/epoch_processing_fuzz_test.go @@ -4,9 +4,9 @@ import ( "testing" fuzz "github.com/google/gofuzz" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestFuzzFinalUpdates_10000(t *testing.T) { diff --git a/beacon-chain/core/epoch/epoch_processing_test.go b/beacon-chain/core/epoch/epoch_processing_test.go index 94ac6cfcd..3ae0cad74 100644 --- a/beacon-chain/core/epoch/epoch_processing_test.go +++ b/beacon-chain/core/epoch/epoch_processing_test.go @@ -7,18 +7,18 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/core/epoch/precompute/BUILD.bazel b/beacon-chain/core/epoch/precompute/BUILD.bazel index 7157ac780..f2eef9aed 100644 --- a/beacon-chain/core/epoch/precompute/BUILD.bazel +++ b/beacon-chain/core/epoch/precompute/BUILD.bazel @@ -10,7 +10,7 @@ go_library( "slashing.go", "type.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute", visibility = [ "//beacon-chain:__subpackages__", "//testing/spectest:__subpackages__", diff --git a/beacon-chain/core/epoch/precompute/attestation.go b/beacon-chain/core/epoch/precompute/attestation.go index 65033a548..730e69b77 100644 --- a/beacon-chain/core/epoch/precompute/attestation.go +++ b/beacon-chain/core/epoch/precompute/attestation.go @@ -5,15 +5,15 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "go.opencensus.io/trace" ) diff --git a/beacon-chain/core/epoch/precompute/attestation_test.go b/beacon-chain/core/epoch/precompute/attestation_test.go index 6c96d6d89..05fa5e76c 100644 --- a/beacon-chain/core/epoch/precompute/attestation_test.go +++ b/beacon-chain/core/epoch/precompute/attestation_test.go @@ -5,15 +5,15 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestUpdateValidator_Works(t *testing.T) { diff --git a/beacon-chain/core/epoch/precompute/justification_finalization.go b/beacon-chain/core/epoch/precompute/justification_finalization.go index 4e567f3ff..0be193536 100644 --- a/beacon-chain/core/epoch/precompute/justification_finalization.go +++ b/beacon-chain/core/epoch/precompute/justification_finalization.go @@ -3,12 +3,12 @@ package precompute import ( "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) var errNilState = errors.New("nil state") diff --git a/beacon-chain/core/epoch/precompute/justification_finalization_test.go b/beacon-chain/core/epoch/precompute/justification_finalization_test.go index 90172576e..83a1a5e69 100644 --- a/beacon-chain/core/epoch/precompute/justification_finalization_test.go +++ b/beacon-chain/core/epoch/precompute/justification_finalization_test.go @@ -5,16 +5,16 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestProcessJustificationAndFinalizationPreCompute_ConsecutiveEpochs(t *testing.T) { diff --git a/beacon-chain/core/epoch/precompute/new.go b/beacon-chain/core/epoch/precompute/new.go index 1186213e3..bf3907f11 100644 --- a/beacon-chain/core/epoch/precompute/new.go +++ b/beacon-chain/core/epoch/precompute/new.go @@ -7,10 +7,10 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" "go.opencensus.io/trace" ) diff --git a/beacon-chain/core/epoch/precompute/new_test.go b/beacon-chain/core/epoch/precompute/new_test.go index fa8c8bc65..ba18addea 100644 --- a/beacon-chain/core/epoch/precompute/new_test.go +++ b/beacon-chain/core/epoch/precompute/new_test.go @@ -4,12 +4,12 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestNew(t *testing.T) { diff --git a/beacon-chain/core/epoch/precompute/reward_penalty.go b/beacon-chain/core/epoch/precompute/reward_penalty.go index 7558814c8..af3085779 100644 --- a/beacon-chain/core/epoch/precompute/reward_penalty.go +++ b/beacon-chain/core/epoch/precompute/reward_penalty.go @@ -2,12 +2,12 @@ package precompute import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/math" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/math" ) type attesterRewardsFunc func(state.ReadOnlyBeaconState, *Balance, []*Validator) ([]uint64, []uint64, error) diff --git a/beacon-chain/core/epoch/precompute/reward_penalty_test.go b/beacon-chain/core/epoch/precompute/reward_penalty_test.go index e2120d49f..04738a00b 100644 --- a/beacon-chain/core/epoch/precompute/reward_penalty_test.go +++ b/beacon-chain/core/epoch/precompute/reward_penalty_test.go @@ -6,19 +6,19 @@ import ( "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/math" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/math" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestProcessRewardsAndPenaltiesPrecompute(t *testing.T) { diff --git a/beacon-chain/core/epoch/precompute/slashing.go b/beacon-chain/core/epoch/precompute/slashing.go index 4011404ed..28fb1f859 100644 --- a/beacon-chain/core/epoch/precompute/slashing.go +++ b/beacon-chain/core/epoch/precompute/slashing.go @@ -1,13 +1,13 @@ package precompute import ( - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/math" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/math" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ProcessSlashingsPrecompute processes the slashed validators during epoch processing. diff --git a/beacon-chain/core/epoch/precompute/slashing_test.go b/beacon-chain/core/epoch/precompute/slashing_test.go index a8af9a730..d4b912e50 100644 --- a/beacon-chain/core/epoch/precompute/slashing_test.go +++ b/beacon-chain/core/epoch/precompute/slashing_test.go @@ -4,12 +4,12 @@ import ( "fmt" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/core/epoch/precompute/type.go b/beacon-chain/core/epoch/precompute/type.go index 53c87f3b6..d76025cd1 100644 --- a/beacon-chain/core/epoch/precompute/type.go +++ b/beacon-chain/core/epoch/precompute/type.go @@ -1,6 +1,6 @@ package precompute -import types "github.com/prysmaticlabs/prysm/consensus-types/primitives" +import types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" // Validator stores the pre computation of individual validator's attesting records these records // consist of attestation votes, block inclusion record. Pre computing and storing such record diff --git a/beacon-chain/core/execution/BUILD.bazel b/beacon-chain/core/execution/BUILD.bazel index 1845f00e9..9b7928857 100644 --- a/beacon-chain/core/execution/BUILD.bazel +++ b/beacon-chain/core/execution/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["upgrade.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/execution", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/execution", visibility = [ "//beacon-chain:__subpackages__", "//testing/spectest:__subpackages__", diff --git a/beacon-chain/core/execution/upgrade.go b/beacon-chain/core/execution/upgrade.go index c77eeaf1c..f0e71b8b4 100644 --- a/beacon-chain/core/execution/upgrade.go +++ b/beacon-chain/core/execution/upgrade.go @@ -1,12 +1,12 @@ package execution import ( - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/config/params" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/config/params" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // UpgradeToBellatrix updates inputs a generic state to return the version Bellatrix state. diff --git a/beacon-chain/core/execution/upgrade_test.go b/beacon-chain/core/execution/upgrade_test.go index 169e661a2..a336a084e 100644 --- a/beacon-chain/core/execution/upgrade_test.go +++ b/beacon-chain/core/execution/upgrade_test.go @@ -3,13 +3,13 @@ package execution_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/config/params" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/config/params" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestUpgradeToBellatrix(t *testing.T) { diff --git a/beacon-chain/core/feed/BUILD.bazel b/beacon-chain/core/feed/BUILD.bazel index b62508de5..a71357175 100644 --- a/beacon-chain/core/feed/BUILD.bazel +++ b/beacon-chain/core/feed/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["event.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/feed", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed", visibility = [ "//beacon-chain:__subpackages__", "//testing/slasher/simulator:__subpackages__", diff --git a/beacon-chain/core/feed/block/BUILD.bazel b/beacon-chain/core/feed/block/BUILD.bazel index 83fcf6692..a4d337c4a 100644 --- a/beacon-chain/core/feed/block/BUILD.bazel +++ b/beacon-chain/core/feed/block/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "events.go", "notifier.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//async/event:go_default_library", diff --git a/beacon-chain/core/feed/block/events.go b/beacon-chain/core/feed/block/events.go index 48a709cea..b68ee368c 100644 --- a/beacon-chain/core/feed/block/events.go +++ b/beacon-chain/core/feed/block/events.go @@ -2,7 +2,7 @@ // during the runtime of a beacon node. package block -import "github.com/prysmaticlabs/prysm/consensus-types/interfaces" +import "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" const ( // ReceivedBlock is sent after a block has been received by the beacon node via p2p or RPC. diff --git a/beacon-chain/core/feed/block/notifier.go b/beacon-chain/core/feed/block/notifier.go index dd6898025..e80876509 100644 --- a/beacon-chain/core/feed/block/notifier.go +++ b/beacon-chain/core/feed/block/notifier.go @@ -1,6 +1,6 @@ package block -import "github.com/prysmaticlabs/prysm/async/event" +import "github.com/prysmaticlabs/prysm/v3/async/event" // Notifier interface defines the methods of the service that provides block updates to consumers. type Notifier interface { diff --git a/beacon-chain/core/feed/operation/BUILD.bazel b/beacon-chain/core/feed/operation/BUILD.bazel index 3d4d033ad..3ecba71ec 100644 --- a/beacon-chain/core/feed/operation/BUILD.bazel +++ b/beacon-chain/core/feed/operation/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "events.go", "notifier.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//async/event:go_default_library", diff --git a/beacon-chain/core/feed/operation/events.go b/beacon-chain/core/feed/operation/events.go index 28b839274..0a93c4ea5 100644 --- a/beacon-chain/core/feed/operation/events.go +++ b/beacon-chain/core/feed/operation/events.go @@ -2,7 +2,7 @@ package operation import ( - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) const ( diff --git a/beacon-chain/core/feed/operation/notifier.go b/beacon-chain/core/feed/operation/notifier.go index e0d5df3d3..c16cbaf3b 100644 --- a/beacon-chain/core/feed/operation/notifier.go +++ b/beacon-chain/core/feed/operation/notifier.go @@ -1,6 +1,6 @@ package operation -import "github.com/prysmaticlabs/prysm/async/event" +import "github.com/prysmaticlabs/prysm/v3/async/event" // Notifier interface defines the methods of the service that provides beacon block operation updates to consumers. type Notifier interface { diff --git a/beacon-chain/core/feed/state/BUILD.bazel b/beacon-chain/core/feed/state/BUILD.bazel index 6f87509c5..ce317b1b2 100644 --- a/beacon-chain/core/feed/state/BUILD.bazel +++ b/beacon-chain/core/feed/state/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "events.go", "notifier.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state", visibility = [ "//beacon-chain:__subpackages__", "//testing/slasher/simulator:__subpackages__", diff --git a/beacon-chain/core/feed/state/events.go b/beacon-chain/core/feed/state/events.go index 4f612d60d..6055cf4cc 100644 --- a/beacon-chain/core/feed/state/events.go +++ b/beacon-chain/core/feed/state/events.go @@ -6,8 +6,8 @@ package state import ( "time" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) const ( diff --git a/beacon-chain/core/feed/state/notifier.go b/beacon-chain/core/feed/state/notifier.go index bafa68138..424886150 100644 --- a/beacon-chain/core/feed/state/notifier.go +++ b/beacon-chain/core/feed/state/notifier.go @@ -1,6 +1,6 @@ package state -import "github.com/prysmaticlabs/prysm/async/event" +import "github.com/prysmaticlabs/prysm/v3/async/event" // Notifier interface defines the methods of the service that provides state updates to consumers. type Notifier interface { diff --git a/beacon-chain/core/helpers/BUILD.bazel b/beacon-chain/core/helpers/BUILD.bazel index bdd8600d7..aabf47075 100644 --- a/beacon-chain/core/helpers/BUILD.bazel +++ b/beacon-chain/core/helpers/BUILD.bazel @@ -14,7 +14,7 @@ go_library( "validators.go", "weak_subjectivity.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers", visibility = ["//visibility:public"], deps = [ "//beacon-chain/cache:go_default_library", diff --git a/beacon-chain/core/helpers/attestation.go b/beacon-chain/core/helpers/attestation.go index 6d87ae6f8..dd321553c 100644 --- a/beacon-chain/core/helpers/attestation.go +++ b/beacon-chain/core/helpers/attestation.go @@ -6,13 +6,13 @@ import ( "fmt" "time" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/hash" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // ValidateNilAttestation checks if any composite field of input attestation is nil. diff --git a/beacon-chain/core/helpers/attestation_test.go b/beacon-chain/core/helpers/attestation_test.go index 2dea041d5..99fa088d5 100644 --- a/beacon-chain/core/helpers/attestation_test.go +++ b/beacon-chain/core/helpers/attestation_test.go @@ -6,18 +6,18 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestAttestation_IsAggregator(t *testing.T) { diff --git a/beacon-chain/core/helpers/beacon_committee.go b/beacon-chain/core/helpers/beacon_committee.go index e2eb7ebcd..6059d224d 100644 --- a/beacon-chain/core/helpers/beacon_committee.go +++ b/beacon-chain/core/helpers/beacon_committee.go @@ -10,17 +10,17 @@ import ( "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/math" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/math" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) var ( diff --git a/beacon-chain/core/helpers/beacon_committee_test.go b/beacon-chain/core/helpers/beacon_committee_test.go index 94e60ed71..1f6c4decb 100644 --- a/beacon-chain/core/helpers/beacon_committee_test.go +++ b/beacon-chain/core/helpers/beacon_committee_test.go @@ -7,17 +7,17 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestComputeCommittee_WithoutCache(t *testing.T) { diff --git a/beacon-chain/core/helpers/block.go b/beacon-chain/core/helpers/block.go index 040c6ca6b..00c963f6e 100644 --- a/beacon-chain/core/helpers/block.go +++ b/beacon-chain/core/helpers/block.go @@ -4,10 +4,10 @@ import ( "math" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // BlockRootAtSlot returns the block root stored in the BeaconState for a recent slot. diff --git a/beacon-chain/core/helpers/block_test.go b/beacon-chain/core/helpers/block_test.go index d001251c9..4eacf013c 100644 --- a/beacon-chain/core/helpers/block_test.go +++ b/beacon-chain/core/helpers/block_test.go @@ -5,13 +5,13 @@ import ( "math" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBlockRootAtSlot_CorrectBlockRoot(t *testing.T) { diff --git a/beacon-chain/core/helpers/genesis.go b/beacon-chain/core/helpers/genesis.go index c8adce623..e2504dd2c 100644 --- a/beacon-chain/core/helpers/genesis.go +++ b/beacon-chain/core/helpers/genesis.go @@ -4,10 +4,10 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // UpdateGenesisEth1Data updates eth1 data for genesis state. diff --git a/beacon-chain/core/helpers/randao.go b/beacon-chain/core/helpers/randao.go index 477cdab7c..7b779c6ae 100644 --- a/beacon-chain/core/helpers/randao.go +++ b/beacon-chain/core/helpers/randao.go @@ -1,12 +1,12 @@ package helpers import ( - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) // Seed returns the randao seed used for shuffling of a given epoch. diff --git a/beacon-chain/core/helpers/randao_test.go b/beacon-chain/core/helpers/randao_test.go index b762c49a0..c3713a7d6 100644 --- a/beacon-chain/core/helpers/randao_test.go +++ b/beacon-chain/core/helpers/randao_test.go @@ -4,13 +4,13 @@ import ( "encoding/binary" "testing" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestRandaoMix_OK(t *testing.T) { diff --git a/beacon-chain/core/helpers/rewards_penalties.go b/beacon-chain/core/helpers/rewards_penalties.go index 1cae465b7..187d7ebaa 100644 --- a/beacon-chain/core/helpers/rewards_penalties.go +++ b/beacon-chain/core/helpers/rewards_penalties.go @@ -3,12 +3,12 @@ package helpers import ( "errors" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - mathutil "github.com/prysmaticlabs/prysm/math" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + mathutil "github.com/prysmaticlabs/prysm/v3/math" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) var balanceCache = cache.NewEffectiveBalanceCache() diff --git a/beacon-chain/core/helpers/rewards_penalties_test.go b/beacon-chain/core/helpers/rewards_penalties_test.go index 63ccfd1ab..b3e2dd7ef 100644 --- a/beacon-chain/core/helpers/rewards_penalties_test.go +++ b/beacon-chain/core/helpers/rewards_penalties_test.go @@ -4,13 +4,13 @@ import ( "math" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestTotalBalance_OK(t *testing.T) { diff --git a/beacon-chain/core/helpers/shuffle.go b/beacon-chain/core/helpers/shuffle.go index 1c8d76314..05fc39339 100644 --- a/beacon-chain/core/helpers/shuffle.go +++ b/beacon-chain/core/helpers/shuffle.go @@ -4,11 +4,11 @@ import ( "encoding/binary" "fmt" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) const seedSize = int8(32) diff --git a/beacon-chain/core/helpers/shuffle_test.go b/beacon-chain/core/helpers/shuffle_test.go index 6b0f91fc3..a0be7421a 100644 --- a/beacon-chain/core/helpers/shuffle_test.go +++ b/beacon-chain/core/helpers/shuffle_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestShuffleList_InvalidValidatorCount(t *testing.T) { diff --git a/beacon-chain/core/helpers/sync_committee.go b/beacon-chain/core/helpers/sync_committee.go index aeb47bcfb..515d1f17c 100644 --- a/beacon-chain/core/helpers/sync_committee.go +++ b/beacon-chain/core/helpers/sync_committee.go @@ -6,14 +6,14 @@ import ( "bytes" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/time/slots" log "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/core/helpers/sync_committee_test.go b/beacon-chain/core/helpers/sync_committee_test.go index 17beded7d..f7b47b6a5 100644 --- a/beacon-chain/core/helpers/sync_committee_test.go +++ b/beacon-chain/core/helpers/sync_committee_test.go @@ -6,15 +6,15 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestIsCurrentEpochSyncCommittee_UsingCache(t *testing.T) { diff --git a/beacon-chain/core/helpers/validators.go b/beacon-chain/core/helpers/validators.go index 064e4804b..0c10cba05 100644 --- a/beacon-chain/core/helpers/validators.go +++ b/beacon-chain/core/helpers/validators.go @@ -7,15 +7,15 @@ import ( "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" log "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/core/helpers/validators_test.go b/beacon-chain/core/helpers/validators_test.go index 98c1b42d8..fa0f5cab5 100644 --- a/beacon-chain/core/helpers/validators_test.go +++ b/beacon-chain/core/helpers/validators_test.go @@ -5,17 +5,17 @@ import ( "errors" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestIsActiveValidator_OK(t *testing.T) { diff --git a/beacon-chain/core/helpers/weak_subjectivity.go b/beacon-chain/core/helpers/weak_subjectivity.go index 3b36676e5..b2f2bba97 100644 --- a/beacon-chain/core/helpers/weak_subjectivity.go +++ b/beacon-chain/core/helpers/weak_subjectivity.go @@ -8,15 +8,15 @@ import ( "strconv" "strings" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/math" - v1alpha1 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/math" + v1alpha1 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // ComputeWeakSubjectivityPeriod returns weak subjectivity period for the active validator count and finalized epoch. diff --git a/beacon-chain/core/helpers/weak_subjectivity_test.go b/beacon-chain/core/helpers/weak_subjectivity_test.go index 34542c7c5..aa5fc7bdc 100644 --- a/beacon-chain/core/helpers/weak_subjectivity_test.go +++ b/beacon-chain/core/helpers/weak_subjectivity_test.go @@ -5,15 +5,15 @@ import ( "fmt" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestWeakSubjectivity_ComputeWeakSubjectivityPeriod(t *testing.T) { diff --git a/beacon-chain/core/signing/BUILD.bazel b/beacon-chain/core/signing/BUILD.bazel index 034f61a0a..9fef3416c 100644 --- a/beacon-chain/core/signing/BUILD.bazel +++ b/beacon-chain/core/signing/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "signature.go", "signing_root.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/signing", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing", visibility = ["//visibility:public"], deps = [ "//beacon-chain/state:go_default_library", diff --git a/beacon-chain/core/signing/domain.go b/beacon-chain/core/signing/domain.go index 3d800a8cb..2cbcad48d 100644 --- a/beacon-chain/core/signing/domain.go +++ b/beacon-chain/core/signing/domain.go @@ -2,9 +2,9 @@ package signing import ( "github.com/pkg/errors" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Domain returns the domain version for BLS private key to sign and verify. diff --git a/beacon-chain/core/signing/domain_test.go b/beacon-chain/core/signing/domain_test.go index afde98b06..70eb1ea6f 100644 --- a/beacon-chain/core/signing/domain_test.go +++ b/beacon-chain/core/signing/domain_test.go @@ -3,11 +3,11 @@ package signing import ( "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestDomain_OK(t *testing.T) { diff --git a/beacon-chain/core/signing/signature.go b/beacon-chain/core/signing/signature.go index 6c0a6d4b8..286ad9364 100644 --- a/beacon-chain/core/signing/signature.go +++ b/beacon-chain/core/signing/signature.go @@ -2,8 +2,8 @@ package signing import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) var ErrNilRegistration = errors.New("nil signed registration") diff --git a/beacon-chain/core/signing/signature_test.go b/beacon-chain/core/signing/signature_test.go index 2cf788643..7aae01204 100644 --- a/beacon-chain/core/signing/signature_test.go +++ b/beacon-chain/core/signing/signature_test.go @@ -4,12 +4,12 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestVerifyRegistrationSignature(t *testing.T) { diff --git a/beacon-chain/core/signing/signing_root.go b/beacon-chain/core/signing/signing_root.go index 9eb72b68f..0ad7670ad 100644 --- a/beacon-chain/core/signing/signing_root.go +++ b/beacon-chain/core/signing/signing_root.go @@ -3,12 +3,12 @@ package signing import ( "github.com/pkg/errors" fssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ForkVersionByteLength length of fork version byte array. diff --git a/beacon-chain/core/signing/signing_root_test.go b/beacon-chain/core/signing/signing_root_test.go index 2be7f25ee..df1aa0b5c 100644 --- a/beacon-chain/core/signing/signing_root_test.go +++ b/beacon-chain/core/signing/signing_root_test.go @@ -6,18 +6,18 @@ import ( "testing" fuzz "github.com/google/gofuzz" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestSigningRoot_ComputeSigningRoot(t *testing.T) { diff --git a/beacon-chain/core/time/BUILD.bazel b/beacon-chain/core/time/BUILD.bazel index ae6e260dd..8f03d5188 100644 --- a/beacon-chain/core/time/BUILD.bazel +++ b/beacon-chain/core/time/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["slot_epoch.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/time", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time", visibility = ["//visibility:public"], deps = [ "//beacon-chain/state:go_default_library", diff --git a/beacon-chain/core/time/slot_epoch.go b/beacon-chain/core/time/slot_epoch.go index 91326fe13..fa10276c2 100644 --- a/beacon-chain/core/time/slot_epoch.go +++ b/beacon-chain/core/time/slot_epoch.go @@ -1,11 +1,11 @@ package time import ( - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // CurrentEpoch returns the current epoch number calculated from diff --git a/beacon-chain/core/time/slot_epoch_test.go b/beacon-chain/core/time/slot_epoch_test.go index 39833026c..40745d029 100644 --- a/beacon-chain/core/time/slot_epoch_test.go +++ b/beacon-chain/core/time/slot_epoch_test.go @@ -3,16 +3,16 @@ package time_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestSlotToEpoch_OK(t *testing.T) { diff --git a/beacon-chain/core/transition/BUILD.bazel b/beacon-chain/core/transition/BUILD.bazel index e7fe8622a..1b174007b 100644 --- a/beacon-chain/core/transition/BUILD.bazel +++ b/beacon-chain/core/transition/BUILD.bazel @@ -10,7 +10,7 @@ go_library( "transition.go", "transition_no_verify_sig.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/transition", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition", visibility = [ "//beacon-chain:__subpackages__", "//runtime/interop:__pkg__", diff --git a/beacon-chain/core/transition/altair_transition_no_verify_sig_test.go b/beacon-chain/core/transition/altair_transition_no_verify_sig_test.go index 596212cf2..5a2e7ffdc 100644 --- a/beacon-chain/core/transition/altair_transition_no_verify_sig_test.go +++ b/beacon-chain/core/transition/altair_transition_no_verify_sig_test.go @@ -6,21 +6,21 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - p2pType "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + p2pType "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestExecuteAltairStateTransitionNoVerify_FullProcess(t *testing.T) { diff --git a/beacon-chain/core/transition/bellatrix_transition_no_verify_sig_test.go b/beacon-chain/core/transition/bellatrix_transition_no_verify_sig_test.go index 9d70b9c73..586b490ba 100644 --- a/beacon-chain/core/transition/bellatrix_transition_no_verify_sig_test.go +++ b/beacon-chain/core/transition/bellatrix_transition_no_verify_sig_test.go @@ -6,23 +6,23 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - p2pType "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + p2pType "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestExecuteBellatrixStateTransitionNoVerify_FullProcess(t *testing.T) { diff --git a/beacon-chain/core/transition/benchmarks_test.go b/beacon-chain/core/transition/benchmarks_test.go index d59fdeb4b..6676b32b1 100644 --- a/beacon-chain/core/transition/benchmarks_test.go +++ b/beacon-chain/core/transition/benchmarks_test.go @@ -4,16 +4,16 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - coreState "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/benchmark" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + coreState "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/benchmark" + "github.com/prysmaticlabs/prysm/v3/testing/require" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/core/transition/interop/BUILD.bazel b/beacon-chain/core/transition/interop/BUILD.bazel index 5c15ce566..f4e589ebf 100644 --- a/beacon-chain/core/transition/interop/BUILD.bazel +++ b/beacon-chain/core/transition/interop/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "write_block_to_disk.go", "write_state_to_disk.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/transition/interop", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition/interop", visibility = [ "//beacon-chain:__subpackages__", "//tools:__subpackages__", diff --git a/beacon-chain/core/transition/interop/write_block_to_disk.go b/beacon-chain/core/transition/interop/write_block_to_disk.go index fcd75cc68..fa9891084 100644 --- a/beacon-chain/core/transition/interop/write_block_to_disk.go +++ b/beacon-chain/core/transition/interop/write_block_to_disk.go @@ -5,9 +5,9 @@ import ( "os" "path" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/io/file" ) // WriteBlockToDisk as a block ssz. Writes to temp directory. Debug! diff --git a/beacon-chain/core/transition/interop/write_state_to_disk.go b/beacon-chain/core/transition/interop/write_state_to_disk.go index 5f342ea9d..b9757a97a 100644 --- a/beacon-chain/core/transition/interop/write_state_to_disk.go +++ b/beacon-chain/core/transition/interop/write_state_to_disk.go @@ -5,9 +5,9 @@ import ( "os" "path" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/io/file" ) // WriteStateToDisk as a state ssz. Writes to temp directory. Debug! diff --git a/beacon-chain/core/transition/skip_slot_cache.go b/beacon-chain/core/transition/skip_slot_cache.go index 53b3f1ecb..51bcaa4ed 100644 --- a/beacon-chain/core/transition/skip_slot_cache.go +++ b/beacon-chain/core/transition/skip_slot_cache.go @@ -4,10 +4,10 @@ import ( "context" "errors" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) // SkipSlotCache exists for the unlikely scenario that is a large gap between the head state and diff --git a/beacon-chain/core/transition/skip_slot_cache_test.go b/beacon-chain/core/transition/skip_slot_cache_test.go index 4df237471..adafda4df 100644 --- a/beacon-chain/core/transition/skip_slot_cache_test.go +++ b/beacon-chain/core/transition/skip_slot_cache_test.go @@ -5,15 +5,15 @@ import ( "sync" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestSkipSlotCache_OK(t *testing.T) { diff --git a/beacon-chain/core/transition/state.go b/beacon-chain/core/transition/state.go index fb7ea9186..f6d4d96f2 100644 --- a/beacon-chain/core/transition/state.go +++ b/beacon-chain/core/transition/state.go @@ -4,13 +4,13 @@ import ( "context" "github.com/pkg/errors" - b "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + b "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // GenesisBeaconState gets called when MinGenesisActiveValidatorCount count of diff --git a/beacon-chain/core/transition/state_fuzz_test.go b/beacon-chain/core/transition/state_fuzz_test.go index af7e116d6..842f5ccf5 100644 --- a/beacon-chain/core/transition/state_fuzz_test.go +++ b/beacon-chain/core/transition/state_fuzz_test.go @@ -5,9 +5,9 @@ import ( "testing" fuzz "github.com/google/gofuzz" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestGenesisBeaconState_1000(t *testing.T) { diff --git a/beacon-chain/core/transition/state_test.go b/beacon-chain/core/transition/state_test.go index 98658b5cd..a171f4b82 100644 --- a/beacon-chain/core/transition/state_test.go +++ b/beacon-chain/core/transition/state_test.go @@ -4,15 +4,15 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/core/transition/stateutils/BUILD.bazel b/beacon-chain/core/transition/stateutils/BUILD.bazel index 01d317642..be894c9b0 100644 --- a/beacon-chain/core/transition/stateutils/BUILD.bazel +++ b/beacon-chain/core/transition/stateutils/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["validator_index_map.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/transition/stateutils", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition/stateutils", visibility = [ "//beacon-chain:__subpackages__", "//testing/util:__pkg__", diff --git a/beacon-chain/core/transition/stateutils/validator_index_map.go b/beacon-chain/core/transition/stateutils/validator_index_map.go index a3cde16f0..0e1464621 100644 --- a/beacon-chain/core/transition/stateutils/validator_index_map.go +++ b/beacon-chain/core/transition/stateutils/validator_index_map.go @@ -4,10 +4,10 @@ package stateutils import ( - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ValidatorIndexMap builds a lookup map for quickly determining the index of diff --git a/beacon-chain/core/transition/stateutils/validator_index_map_test.go b/beacon-chain/core/transition/stateutils/validator_index_map_test.go index f181ac070..fa1de8ea3 100644 --- a/beacon-chain/core/transition/stateutils/validator_index_map_test.go +++ b/beacon-chain/core/transition/stateutils/validator_index_map_test.go @@ -3,14 +3,14 @@ package stateutils_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition/stateutils" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition/stateutils" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestValidatorIndexMap_OK(t *testing.T) { diff --git a/beacon-chain/core/transition/trailing_slot_state_cache.go b/beacon-chain/core/transition/trailing_slot_state_cache.go index 3c3935775..ec3af63c1 100644 --- a/beacon-chain/core/transition/trailing_slot_state_cache.go +++ b/beacon-chain/core/transition/trailing_slot_state_cache.go @@ -7,7 +7,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" ) type nextSlotCache struct { diff --git a/beacon-chain/core/transition/trailing_slot_state_cache_test.go b/beacon-chain/core/transition/trailing_slot_state_cache_test.go index d58f90394..49536f082 100644 --- a/beacon-chain/core/transition/trailing_slot_state_cache_test.go +++ b/beacon-chain/core/transition/trailing_slot_state_cache_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestTrailingSlotState_RoundTrip(t *testing.T) { diff --git a/beacon-chain/core/transition/transition.go b/beacon-chain/core/transition/transition.go index 2b01e8069..e4c233394 100644 --- a/beacon-chain/core/transition/transition.go +++ b/beacon-chain/core/transition/transition.go @@ -9,20 +9,20 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - e "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/core/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/math" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + e "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/math" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "go.opencensus.io/trace" ) diff --git a/beacon-chain/core/transition/transition_fuzz_test.go b/beacon-chain/core/transition/transition_fuzz_test.go index f0fedfc89..c84f0f8c1 100644 --- a/beacon-chain/core/transition/transition_fuzz_test.go +++ b/beacon-chain/core/transition/transition_fuzz_test.go @@ -5,12 +5,12 @@ import ( "testing" fuzz "github.com/google/gofuzz" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestFuzzExecuteStateTransition_1000(t *testing.T) { diff --git a/beacon-chain/core/transition/transition_no_verify_sig.go b/beacon-chain/core/transition/transition_no_verify_sig.go index 64787ace8..38ebee00d 100644 --- a/beacon-chain/core/transition/transition_no_verify_sig.go +++ b/beacon-chain/core/transition/transition_no_verify_sig.go @@ -6,16 +6,16 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - b "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition/interop" - v "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + b "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition/interop" + v "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "go.opencensus.io/trace" ) diff --git a/beacon-chain/core/transition/transition_no_verify_sig_test.go b/beacon-chain/core/transition/transition_no_verify_sig_test.go index 8fa12faec..eaa9959d0 100644 --- a/beacon-chain/core/transition/transition_no_verify_sig_test.go +++ b/beacon-chain/core/transition/transition_no_verify_sig_test.go @@ -4,16 +4,16 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestExecuteStateTransitionNoVerify_FullProcess(t *testing.T) { diff --git a/beacon-chain/core/transition/transition_test.go b/beacon-chain/core/transition/transition_test.go index 9c601ccc0..c522f74b2 100644 --- a/beacon-chain/core/transition/transition_test.go +++ b/beacon-chain/core/transition/transition_test.go @@ -6,25 +6,25 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func init() { diff --git a/beacon-chain/core/validators/BUILD.bazel b/beacon-chain/core/validators/BUILD.bazel index c6a4f95a9..31b0c5070 100644 --- a/beacon-chain/core/validators/BUILD.bazel +++ b/beacon-chain/core/validators/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["validator.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/validators", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators", visibility = [ "//beacon-chain:__subpackages__", "//testing/spectest:__subpackages__", diff --git a/beacon-chain/core/validators/validator.go b/beacon-chain/core/validators/validator.go index 8a3a5f917..d24d17637 100644 --- a/beacon-chain/core/validators/validator.go +++ b/beacon-chain/core/validators/validator.go @@ -8,14 +8,14 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - mathutil "github.com/prysmaticlabs/prysm/math" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + mathutil "github.com/prysmaticlabs/prysm/v3/math" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // InitiateValidatorExit takes in validator index and updates diff --git a/beacon-chain/core/validators/validator_test.go b/beacon-chain/core/validators/validator_test.go index 4df77463b..0f4171c3a 100644 --- a/beacon-chain/core/validators/validator_test.go +++ b/beacon-chain/core/validators/validator_test.go @@ -4,15 +4,15 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestHasVoted_OK(t *testing.T) { diff --git a/beacon-chain/db/BUILD.bazel b/beacon-chain/db/BUILD.bazel index d34f677fa..618a640ee 100644 --- a/beacon-chain/db/BUILD.bazel +++ b/beacon-chain/db/BUILD.bazel @@ -9,7 +9,7 @@ go_library( "log.go", "restore.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/db", visibility = [ "//beacon-chain:__subpackages__", "//cmd/beacon-chain:__subpackages__", diff --git a/beacon-chain/db/alias.go b/beacon-chain/db/alias.go index d2b784b89..f04668ff7 100644 --- a/beacon-chain/db/alias.go +++ b/beacon-chain/db/alias.go @@ -1,6 +1,6 @@ package db -import "github.com/prysmaticlabs/prysm/beacon-chain/db/iface" +import "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/iface" // ReadOnlyDatabase exposes Prysm's Ethereum data backend for read access only, no information about // head info. For head info, use github.com/prysmaticlabs/prysm/blockchain.HeadFetcher. diff --git a/beacon-chain/db/db.go b/beacon-chain/db/db.go index ccf944e51..91c6465ec 100644 --- a/beacon-chain/db/db.go +++ b/beacon-chain/db/db.go @@ -5,7 +5,7 @@ package db import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" ) // NewDB initializes a new DB. diff --git a/beacon-chain/db/db_test.go b/beacon-chain/db/db_test.go index 12fdcee7d..b0cfa35f5 100644 --- a/beacon-chain/db/db_test.go +++ b/beacon-chain/db/db_test.go @@ -1,5 +1,5 @@ package db -import "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" +import "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" var _ Database = (*kv.Store)(nil) diff --git a/beacon-chain/db/errors.go b/beacon-chain/db/errors.go index b1f5aef94..5843b7c44 100644 --- a/beacon-chain/db/errors.go +++ b/beacon-chain/db/errors.go @@ -1,6 +1,6 @@ package db -import "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" +import "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" // ErrNotFound can be used to determine if an error from a method in the database package // represents a "not found" error. These often require different handling than a low-level diff --git a/beacon-chain/db/filters/BUILD.bazel b/beacon-chain/db/filters/BUILD.bazel index 5a7e5b7a4..8e2cf42da 100644 --- a/beacon-chain/db/filters/BUILD.bazel +++ b/beacon-chain/db/filters/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["filter.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db/filters", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters", visibility = [ "//beacon-chain:__subpackages__", "//tools:__subpackages__", diff --git a/beacon-chain/db/filters/filter.go b/beacon-chain/db/filters/filter.go index 58efdba94..88aa43670 100644 --- a/beacon-chain/db/filters/filter.go +++ b/beacon-chain/db/filters/filter.go @@ -14,7 +14,7 @@ // } package filters -import types "github.com/prysmaticlabs/prysm/consensus-types/primitives" +import types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" // FilterType defines an enum which is used as the keys in a map that tracks // set attribute filters for data as part of the `FilterQuery` struct type. diff --git a/beacon-chain/db/filters/filter_test.go b/beacon-chain/db/filters/filter_test.go index a451bba85..cc482be74 100644 --- a/beacon-chain/db/filters/filter_test.go +++ b/beacon-chain/db/filters/filter_test.go @@ -3,8 +3,8 @@ package filters import ( "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestQueryFilter_ChainsCorrectly(t *testing.T) { diff --git a/beacon-chain/db/iface/BUILD.bazel b/beacon-chain/db/iface/BUILD.bazel index 394bdcabe..876f13006 100644 --- a/beacon-chain/db/iface/BUILD.bazel +++ b/beacon-chain/db/iface/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "errors.go", "interface.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db/iface", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/iface", # Other packages must use github.com/prysmaticlabs/prysm/beacon-chain/db.Database alias. visibility = ["//visibility:public"], deps = [ diff --git a/beacon-chain/db/iface/interface.go b/beacon-chain/db/iface/interface.go index 9ae55f68f..89453feea 100644 --- a/beacon-chain/db/iface/interface.go +++ b/beacon-chain/db/iface/interface.go @@ -8,13 +8,13 @@ import ( "io" "github.com/ethereum/go-ethereum/common" - "github.com/prysmaticlabs/prysm/beacon-chain/db/filters" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/monitoring/backup" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/monitoring/backup" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ReadOnlyDatabase defines a struct which only has read access to database methods. diff --git a/beacon-chain/db/kv/BUILD.bazel b/beacon-chain/db/kv/BUILD.bazel index 6ef547aff..fb5d0a68a 100644 --- a/beacon-chain/db/kv/BUILD.bazel +++ b/beacon-chain/db/kv/BUILD.bazel @@ -29,7 +29,7 @@ go_library( "validated_checkpoint.go", "wss.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db/kv", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv", visibility = [ "//beacon-chain:__subpackages__", "//tools:__subpackages__", diff --git a/beacon-chain/db/kv/archived_point.go b/beacon-chain/db/kv/archived_point.go index 7eaf7f4f7..310b16b01 100644 --- a/beacon-chain/db/kv/archived_point.go +++ b/beacon-chain/db/kv/archived_point.go @@ -3,8 +3,8 @@ package kv import ( "context" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/beacon-chain/db/kv/archived_point_test.go b/beacon-chain/db/kv/archived_point_test.go index 9d3eff094..9f7a7d2fd 100644 --- a/beacon-chain/db/kv/archived_point_test.go +++ b/beacon-chain/db/kv/archived_point_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestArchivedPointIndexRoot_CanSaveRetrieve(t *testing.T) { diff --git a/beacon-chain/db/kv/backup.go b/beacon-chain/db/kv/backup.go index 2e4023973..a04bb4a50 100644 --- a/beacon-chain/db/kv/backup.go +++ b/beacon-chain/db/kv/backup.go @@ -5,9 +5,9 @@ import ( "fmt" "path" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/io/file" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/beacon-chain/db/kv/backup_test.go b/beacon-chain/db/kv/backup_test.go index a225379b3..4283e32f0 100644 --- a/beacon-chain/db/kv/backup_test.go +++ b/beacon-chain/db/kv/backup_test.go @@ -6,10 +6,10 @@ import ( "path/filepath" "testing" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestStore_Backup(t *testing.T) { diff --git a/beacon-chain/db/kv/blocks.go b/beacon-chain/db/kv/blocks.go index 57aa73231..fcbdba229 100644 --- a/beacon-chain/db/kv/blocks.go +++ b/beacon-chain/db/kv/blocks.go @@ -9,17 +9,17 @@ import ( "github.com/golang/snappy" "github.com/pkg/errors" ssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/beacon-chain/db/filters" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/beacon-chain/db/kv/blocks_test.go b/beacon-chain/db/kv/blocks_test.go index 57d1d9c19..46d1e81bd 100644 --- a/beacon-chain/db/kv/blocks_test.go +++ b/beacon-chain/db/kv/blocks_test.go @@ -6,16 +6,16 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/db/filters" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/db/kv/checkpoint.go b/beacon-chain/db/kv/checkpoint.go index 47a19d078..9114a94b3 100644 --- a/beacon-chain/db/kv/checkpoint.go +++ b/beacon-chain/db/kv/checkpoint.go @@ -5,9 +5,9 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/beacon-chain/db/kv/checkpoint_test.go b/beacon-chain/db/kv/checkpoint_test.go index f131c1fc1..7df4a4022 100644 --- a/beacon-chain/db/kv/checkpoint_test.go +++ b/beacon-chain/db/kv/checkpoint_test.go @@ -4,13 +4,13 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/db/kv/deposit_contract_test.go b/beacon-chain/db/kv/deposit_contract_test.go index ac54f1bf2..264272cc2 100644 --- a/beacon-chain/db/kv/deposit_contract_test.go +++ b/beacon-chain/db/kv/deposit_contract_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/ethereum/go-ethereum/common" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStore_DepositContract(t *testing.T) { diff --git a/beacon-chain/db/kv/encoding.go b/beacon-chain/db/kv/encoding.go index 1a043c54e..25df9d467 100644 --- a/beacon-chain/db/kv/encoding.go +++ b/beacon-chain/db/kv/encoding.go @@ -7,7 +7,7 @@ import ( "github.com/golang/snappy" fastssz "github.com/prysmaticlabs/fastssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/db/kv/encoding_test.go b/beacon-chain/db/kv/encoding_test.go index c83f427d5..b96f6a951 100644 --- a/beacon-chain/db/kv/encoding_test.go +++ b/beacon-chain/db/kv/encoding_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - testpb "github.com/prysmaticlabs/prysm/proto/testing" - "github.com/prysmaticlabs/prysm/testing/require" + testpb "github.com/prysmaticlabs/prysm/v3/proto/testing" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func Test_encode_handlesNilFromFunction(t *testing.T) { diff --git a/beacon-chain/db/kv/execution_chain.go b/beacon-chain/db/kv/execution_chain.go index 9f09eeafc..cfe151798 100644 --- a/beacon-chain/db/kv/execution_chain.go +++ b/beacon-chain/db/kv/execution_chain.go @@ -4,8 +4,8 @@ import ( "context" "errors" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - v2 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + v2 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" "google.golang.org/protobuf/proto" diff --git a/beacon-chain/db/kv/execution_chain_test.go b/beacon-chain/db/kv/execution_chain_test.go index 4a1330bf5..209ba023b 100644 --- a/beacon-chain/db/kv/execution_chain_test.go +++ b/beacon-chain/db/kv/execution_chain_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - v2 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + v2 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestStore_SavePowchainData(t *testing.T) { diff --git a/beacon-chain/db/kv/finalized_block_roots.go b/beacon-chain/db/kv/finalized_block_roots.go index 85037a348..01faa59ad 100644 --- a/beacon-chain/db/kv/finalized_block_roots.go +++ b/beacon-chain/db/kv/finalized_block_roots.go @@ -4,12 +4,12 @@ import ( "bytes" "context" - "github.com/prysmaticlabs/prysm/beacon-chain/db/filters" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/beacon-chain/db/kv/finalized_block_roots_test.go b/beacon-chain/db/kv/finalized_block_roots_test.go index d095794fc..a2db80eaa 100644 --- a/beacon-chain/db/kv/finalized_block_roots_test.go +++ b/beacon-chain/db/kv/finalized_block_roots_test.go @@ -4,16 +4,16 @@ import ( "context" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) var genesisBlockRoot = bytesutil.ToBytes32([]byte{'G', 'E', 'N', 'E', 'S', 'I', 'S'}) diff --git a/beacon-chain/db/kv/genesis.go b/beacon-chain/db/kv/genesis.go index f9a8571f3..1131f9d1f 100644 --- a/beacon-chain/db/kv/genesis.go +++ b/beacon-chain/db/kv/genesis.go @@ -6,13 +6,13 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - dbIface "github.com/prysmaticlabs/prysm/beacon-chain/db/iface" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - statev1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + dbIface "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/iface" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + statev1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SaveGenesisData bootstraps the beaconDB with a given genesis state. diff --git a/beacon-chain/db/kv/genesis_test.go b/beacon-chain/db/kv/genesis_test.go index ad046cf2a..f4308639c 100644 --- a/beacon-chain/db/kv/genesis_test.go +++ b/beacon-chain/db/kv/genesis_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/bazelbuild/rules_go/go/tools/bazel" - "github.com/prysmaticlabs/prysm/beacon-chain/db/iface" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/iface" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestStore_SaveGenesisData(t *testing.T) { diff --git a/beacon-chain/db/kv/init_test.go b/beacon-chain/db/kv/init_test.go index c78dd6e2e..d379b33c8 100644 --- a/beacon-chain/db/kv/init_test.go +++ b/beacon-chain/db/kv/init_test.go @@ -1,8 +1,8 @@ package kv import ( - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func init() { diff --git a/beacon-chain/db/kv/kv.go b/beacon-chain/db/kv/kv.go index 7d73264f5..758f27b03 100644 --- a/beacon-chain/db/kv/kv.go +++ b/beacon-chain/db/kv/kv.go @@ -14,10 +14,10 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" prombolt "github.com/prysmaticlabs/prombbolt" - "github.com/prysmaticlabs/prysm/beacon-chain/db/iface" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/iface" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" bolt "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/kv/kv_test.go b/beacon-chain/db/kv/kv_test.go index d64e93d33..65a9806eb 100644 --- a/beacon-chain/db/kv/kv_test.go +++ b/beacon-chain/db/kv/kv_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/testing/require" bolt "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/kv/migration_archived_index.go b/beacon-chain/db/kv/migration_archived_index.go index 40648d046..ce73ddf01 100644 --- a/beacon-chain/db/kv/migration_archived_index.go +++ b/beacon-chain/db/kv/migration_archived_index.go @@ -4,9 +4,9 @@ import ( "bytes" "context" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" bolt "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/kv/migration_archived_index_test.go b/beacon-chain/db/kv/migration_archived_index_test.go index e6b1f290c..099e41043 100644 --- a/beacon-chain/db/kv/migration_archived_index_test.go +++ b/beacon-chain/db/kv/migration_archived_index_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/util" "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/kv/migration_blinded_beacon_blocks.go b/beacon-chain/db/kv/migration_blinded_beacon_blocks.go index 26b880018..d008bf866 100644 --- a/beacon-chain/db/kv/migration_blinded_beacon_blocks.go +++ b/beacon-chain/db/kv/migration_blinded_beacon_blocks.go @@ -4,7 +4,7 @@ import ( "bytes" "context" - "github.com/prysmaticlabs/prysm/config/features" + "github.com/prysmaticlabs/prysm/v3/config/features" bolt "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/kv/migration_block_slot_index.go b/beacon-chain/db/kv/migration_block_slot_index.go index 3c214132d..1e5829664 100644 --- a/beacon-chain/db/kv/migration_block_slot_index.go +++ b/beacon-chain/db/kv/migration_block_slot_index.go @@ -5,7 +5,7 @@ import ( "context" "strconv" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" bolt "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/kv/migration_block_slot_index_test.go b/beacon-chain/db/kv/migration_block_slot_index_test.go index 835325758..b9ea7584d 100644 --- a/beacon-chain/db/kv/migration_block_slot_index_test.go +++ b/beacon-chain/db/kv/migration_block_slot_index_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/kv/migration_state_validators.go b/beacon-chain/db/kv/migration_state_validators.go index c01e4d68a..54b5caf60 100644 --- a/beacon-chain/db/kv/migration_state_validators.go +++ b/beacon-chain/db/kv/migration_state_validators.go @@ -7,10 +7,10 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/encoding/ssz/detect" - "github.com/prysmaticlabs/prysm/monitoring/progress" - v1alpha1 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz/detect" + "github.com/prysmaticlabs/prysm/v3/monitoring/progress" + v1alpha1 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/schollz/progressbar/v3" bolt "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/kv/migration_state_validators_test.go b/beacon-chain/db/kv/migration_state_validators_test.go index f8c01fe44..0d2286e5b 100644 --- a/beacon-chain/db/kv/migration_state_validators_test.go +++ b/beacon-chain/db/kv/migration_state_validators_test.go @@ -6,15 +6,15 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - v1alpha1 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + v1alpha1 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/kv/state.go b/beacon-chain/db/kv/state.go index 074591005..3dc527f64 100644 --- a/beacon-chain/db/kv/state.go +++ b/beacon-chain/db/kv/state.go @@ -7,20 +7,20 @@ import ( "github.com/golang/snappy" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/genesis" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/genesis" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/beacon-chain/db/kv/state_summary.go b/beacon-chain/db/kv/state_summary.go index 5bb45690c..8c3e78eff 100644 --- a/beacon-chain/db/kv/state_summary.go +++ b/beacon-chain/db/kv/state_summary.go @@ -3,8 +3,8 @@ package kv import ( "context" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/beacon-chain/db/kv/state_summary_cache.go b/beacon-chain/db/kv/state_summary_cache.go index 10d1d9932..d926411f6 100644 --- a/beacon-chain/db/kv/state_summary_cache.go +++ b/beacon-chain/db/kv/state_summary_cache.go @@ -3,7 +3,7 @@ package kv import ( "sync" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) const stateSummaryCachePruneCount = 128 diff --git a/beacon-chain/db/kv/state_summary_test.go b/beacon-chain/db/kv/state_summary_test.go index 3d2daac37..3e1858576 100644 --- a/beacon-chain/db/kv/state_summary_test.go +++ b/beacon-chain/db/kv/state_summary_test.go @@ -4,11 +4,11 @@ import ( "context" "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStateSummary_CanSaveRetrieve(t *testing.T) { diff --git a/beacon-chain/db/kv/state_test.go b/beacon-chain/db/kv/state_test.go index 5fa080b64..8233fc5cd 100644 --- a/beacon-chain/db/kv/state_test.go +++ b/beacon-chain/db/kv/state_test.go @@ -7,17 +7,17 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" bolt "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/kv/utils.go b/beacon-chain/db/kv/utils.go index 14d3ec694..8f8bdb415 100644 --- a/beacon-chain/db/kv/utils.go +++ b/beacon-chain/db/kv/utils.go @@ -5,7 +5,7 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/beacon-chain/db/kv/utils_test.go b/beacon-chain/db/kv/utils_test.go index 7690e4a12..a4e195703 100644 --- a/beacon-chain/db/kv/utils_test.go +++ b/beacon-chain/db/kv/utils_test.go @@ -5,9 +5,9 @@ import ( "crypto/rand" "testing" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" bolt "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/kv/validated_checkpoint.go b/beacon-chain/db/kv/validated_checkpoint.go index 425701829..007855b3e 100644 --- a/beacon-chain/db/kv/validated_checkpoint.go +++ b/beacon-chain/db/kv/validated_checkpoint.go @@ -4,8 +4,8 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/beacon-chain/db/kv/validated_checkpoint_test.go b/beacon-chain/db/kv/validated_checkpoint_test.go index 02a8fe5d8..59ea0ab33 100644 --- a/beacon-chain/db/kv/validated_checkpoint_test.go +++ b/beacon-chain/db/kv/validated_checkpoint_test.go @@ -4,12 +4,12 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/db/kv/wss.go b/beacon-chain/db/kv/wss.go index 86ea9bbff..bc02c23ee 100644 --- a/beacon-chain/db/kv/wss.go +++ b/beacon-chain/db/kv/wss.go @@ -5,11 +5,11 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/ssz/detect" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz/detect" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // SaveOrigin loads an ssz serialized Block & BeaconState from an io.Reader diff --git a/beacon-chain/db/kv/wss_test.go b/beacon-chain/db/kv/wss_test.go index 4e861e8b4..4d524f773 100644 --- a/beacon-chain/db/kv/wss_test.go +++ b/beacon-chain/db/kv/wss_test.go @@ -4,11 +4,11 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/genesis" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/genesis" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestSaveOrigin(t *testing.T) { diff --git a/beacon-chain/db/restore.go b/beacon-chain/db/restore.go index f2ee7fb04..7b68c9c46 100644 --- a/beacon-chain/db/restore.go +++ b/beacon-chain/db/restore.go @@ -6,10 +6,10 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/io/prompt" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/io/prompt" "github.com/urfave/cli/v2" ) diff --git a/beacon-chain/db/restore_test.go b/beacon-chain/db/restore_test.go index 0b82a3d8b..101aff88a 100644 --- a/beacon-chain/db/restore_test.go +++ b/beacon-chain/db/restore_test.go @@ -7,13 +7,13 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" "github.com/urfave/cli/v2" ) diff --git a/beacon-chain/db/slasherkv/BUILD.bazel b/beacon-chain/db/slasherkv/BUILD.bazel index 6db4225b7..072042f27 100644 --- a/beacon-chain/db/slasherkv/BUILD.bazel +++ b/beacon-chain/db/slasherkv/BUILD.bazel @@ -10,7 +10,7 @@ go_library( "schema.go", "slasher.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db/slasherkv", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/slasherkv", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/db/iface:go_default_library", diff --git a/beacon-chain/db/slasherkv/kv.go b/beacon-chain/db/slasherkv/kv.go index c828ac454..a8d4f3995 100644 --- a/beacon-chain/db/slasherkv/kv.go +++ b/beacon-chain/db/slasherkv/kv.go @@ -9,9 +9,9 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/db/iface" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/iface" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" bolt "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/slasherkv/kv_test.go b/beacon-chain/db/slasherkv/kv_test.go index 7db3e15fd..28484b337 100644 --- a/beacon-chain/db/slasherkv/kv_test.go +++ b/beacon-chain/db/slasherkv/kv_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) // setupDB instantiates and returns a Store instance. diff --git a/beacon-chain/db/slasherkv/pruning.go b/beacon-chain/db/slasherkv/pruning.go index 58b862d7c..a9ff0675d 100644 --- a/beacon-chain/db/slasherkv/pruning.go +++ b/beacon-chain/db/slasherkv/pruning.go @@ -6,8 +6,8 @@ import ( "encoding/binary" fssz "github.com/prysmaticlabs/fastssz" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/time/slots" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/time/slots" bolt "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/slasherkv/pruning_test.go b/beacon-chain/db/slasherkv/pruning_test.go index 8b180c321..c1af8e803 100644 --- a/beacon-chain/db/slasherkv/pruning_test.go +++ b/beacon-chain/db/slasherkv/pruning_test.go @@ -5,11 +5,11 @@ import ( "fmt" "testing" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/time/slots" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" bolt "go.etcd.io/bbolt" ) diff --git a/beacon-chain/db/slasherkv/slasher.go b/beacon-chain/db/slasherkv/slasher.go index 7baec7be1..4d38bae1e 100644 --- a/beacon-chain/db/slasherkv/slasher.go +++ b/beacon-chain/db/slasherkv/slasher.go @@ -11,10 +11,10 @@ import ( "github.com/golang/snappy" "github.com/pkg/errors" ssz "github.com/prysmaticlabs/fastssz" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" "golang.org/x/sync/errgroup" diff --git a/beacon-chain/db/slasherkv/slasher_test.go b/beacon-chain/db/slasherkv/slasher_test.go index 6bf98d523..8d19673ab 100644 --- a/beacon-chain/db/slasherkv/slasher_test.go +++ b/beacon-chain/db/slasherkv/slasher_test.go @@ -9,13 +9,13 @@ import ( "testing" ssz "github.com/prysmaticlabs/fastssz" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStore_AttestationRecordForValidator_SaveRetrieve(t *testing.T) { diff --git a/beacon-chain/db/testing/BUILD.bazel b/beacon-chain/db/testing/BUILD.bazel index 14f683c8f..857490bf9 100644 --- a/beacon-chain/db/testing/BUILD.bazel +++ b/beacon-chain/db/testing/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["setup_db.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing", visibility = [ "//beacon-chain:__subpackages__", "//testing:__subpackages__", diff --git a/beacon-chain/db/testing/setup_db.go b/beacon-chain/db/testing/setup_db.go index 50b70f1e7..63cb8b3be 100644 --- a/beacon-chain/db/testing/setup_db.go +++ b/beacon-chain/db/testing/setup_db.go @@ -6,10 +6,10 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/db/iface" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" - "github.com/prysmaticlabs/prysm/beacon-chain/db/slasherkv" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/iface" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/slasherkv" ) // SetupDB instantiates and returns database backed by key value store. diff --git a/beacon-chain/deterministic-genesis/BUILD.bazel b/beacon-chain/deterministic-genesis/BUILD.bazel index 990685826..e4b8f9db4 100644 --- a/beacon-chain/deterministic-genesis/BUILD.bazel +++ b/beacon-chain/deterministic-genesis/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "log.go", "service.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/deterministic-genesis", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/deterministic-genesis", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/cache/depositcache:go_default_library", diff --git a/beacon-chain/deterministic-genesis/service.go b/beacon-chain/deterministic-genesis/service.go index 67c5be77d..60182909b 100644 --- a/beacon-chain/deterministic-genesis/service.go +++ b/beacon-chain/deterministic-genesis/service.go @@ -9,16 +9,16 @@ import ( "os" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) var _ runtime.Service = (*Service)(nil) diff --git a/beacon-chain/execution/BUILD.bazel b/beacon-chain/execution/BUILD.bazel index 586c62c12..df7ed79df 100644 --- a/beacon-chain/execution/BUILD.bazel +++ b/beacon-chain/execution/BUILD.bazel @@ -18,7 +18,7 @@ go_library( "rpc_connection.go", "service.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/execution", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution", visibility = [ "//beacon-chain:__subpackages__", "//cmd/beacon-chain:__subpackages__", diff --git a/beacon-chain/execution/block_cache.go b/beacon-chain/execution/block_cache.go index eea51f0c4..f19856aba 100644 --- a/beacon-chain/execution/block_cache.go +++ b/beacon-chain/execution/block_cache.go @@ -9,8 +9,8 @@ import ( gethTypes "github.com/ethereum/go-ethereum/core/types" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/execution/types" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/types" + "github.com/prysmaticlabs/prysm/v3/config/params" "k8s.io/client-go/tools/cache" ) diff --git a/beacon-chain/execution/block_cache_test.go b/beacon-chain/execution/block_cache_test.go index 24f77aa85..e9288a3a9 100644 --- a/beacon-chain/execution/block_cache_test.go +++ b/beacon-chain/execution/block_cache_test.go @@ -6,9 +6,9 @@ import ( "github.com/ethereum/go-ethereum/common" gethTypes "github.com/ethereum/go-ethereum/core/types" - "github.com/prysmaticlabs/prysm/beacon-chain/execution/types" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/types" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestHashKeyFn_OK(t *testing.T) { diff --git a/beacon-chain/execution/block_reader.go b/beacon-chain/execution/block_reader.go index 9ba2b6458..9f95d0913 100644 --- a/beacon-chain/execution/block_reader.go +++ b/beacon-chain/execution/block_reader.go @@ -7,9 +7,9 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/execution/types" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/monitoring/tracing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" "go.opencensus.io/trace" ) diff --git a/beacon-chain/execution/block_reader_test.go b/beacon-chain/execution/block_reader_test.go index bbd0935fe..f2b4819d8 100644 --- a/beacon-chain/execution/block_reader_test.go +++ b/beacon-chain/execution/block_reader_test.go @@ -10,12 +10,12 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" gethTypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/trie" - dbutil "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - contracts "github.com/prysmaticlabs/prysm/contracts/deposit" - "github.com/prysmaticlabs/prysm/contracts/deposit/mock" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + dbutil "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + contracts "github.com/prysmaticlabs/prysm/v3/contracts/deposit" + "github.com/prysmaticlabs/prysm/v3/contracts/deposit/mock" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func setDefaultMocks(service *Service) *Service { diff --git a/beacon-chain/execution/check_transition_config.go b/beacon-chain/execution/check_transition_config.go index f9ba67eec..3df20fe4a 100644 --- a/beacon-chain/execution/check_transition_config.go +++ b/beacon-chain/execution/check_transition_config.go @@ -9,13 +9,13 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/holiman/uint256" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/network" - pb "github.com/prysmaticlabs/prysm/proto/engine/v1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/network" + pb "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/execution/check_transition_config_test.go b/beacon-chain/execution/check_transition_config_test.go index a1daf7876..b3b18e2dc 100644 --- a/beacon-chain/execution/check_transition_config_test.go +++ b/beacon-chain/execution/check_transition_config_test.go @@ -14,16 +14,16 @@ import ( gethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/rpc" "github.com/holiman/uint256" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - mocks "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - pb "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + mocks "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + pb "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/execution/deposit.go b/beacon-chain/execution/deposit.go index 6e0c3ea03..aebac290a 100644 --- a/beacon-chain/execution/deposit.go +++ b/beacon-chain/execution/deposit.go @@ -5,9 +5,9 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // DepositContractAddress returns the deposit contract address for the given chain. diff --git a/beacon-chain/execution/deposit_test.go b/beacon-chain/execution/deposit_test.go index 7af0336a5..3bed6e1c6 100644 --- a/beacon-chain/execution/deposit_test.go +++ b/beacon-chain/execution/deposit_test.go @@ -5,20 +5,20 @@ import ( "fmt" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - testing2 "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + testing2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/execution/engine_client.go b/beacon-chain/execution/engine_client.go index 2f8d2df53..c5c375fe5 100644 --- a/beacon-chain/execution/engine_client.go +++ b/beacon-chain/execution/engine_client.go @@ -14,12 +14,12 @@ import ( gethRPC "github.com/ethereum/go-ethereum/rpc" "github.com/holiman/uint256" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - pb "github.com/prysmaticlabs/prysm/proto/engine/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + pb "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/execution/engine_client_fuzz_test.go b/beacon-chain/execution/engine_client_fuzz_test.go index fc3461a24..ec626262a 100644 --- a/beacon-chain/execution/engine_client_fuzz_test.go +++ b/beacon-chain/execution/engine_client_fuzz_test.go @@ -16,9 +16,9 @@ import ( "github.com/ethereum/go-ethereum/core/beacon" "github.com/ethereum/go-ethereum/core/types" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - pb "github.com/prysmaticlabs/prysm/proto/engine/v1" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + pb "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func FuzzForkChoiceResponse(f *testing.F) { diff --git a/beacon-chain/execution/engine_client_test.go b/beacon-chain/execution/engine_client_test.go index 0796f9a73..835f27556 100644 --- a/beacon-chain/execution/engine_client_test.go +++ b/beacon-chain/execution/engine_client_test.go @@ -17,15 +17,15 @@ import ( "github.com/ethereum/go-ethereum/rpc" "github.com/holiman/uint256" "github.com/pkg/errors" - mocks "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - pb "github.com/prysmaticlabs/prysm/proto/engine/v1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mocks "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + pb "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/execution/init_test.go b/beacon-chain/execution/init_test.go index abbb25f0e..9d005f97b 100644 --- a/beacon-chain/execution/init_test.go +++ b/beacon-chain/execution/init_test.go @@ -1,7 +1,7 @@ package execution import ( - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func init() { diff --git a/beacon-chain/execution/log_processing.go b/beacon-chain/execution/log_processing.go index 5bc12458f..9fe0c661b 100644 --- a/beacon-chain/execution/log_processing.go +++ b/beacon-chain/execution/log_processing.go @@ -13,19 +13,19 @@ import ( "github.com/ethereum/go-ethereum/common" gethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - coreState "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - contracts "github.com/prysmaticlabs/prysm/contracts/deposit" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + coreState "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + contracts "github.com/prysmaticlabs/prysm/v3/contracts/deposit" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/execution/log_processing_test.go b/beacon-chain/execution/log_processing_test.go index ee7566218..f3d37eadb 100644 --- a/beacon-chain/execution/log_processing_test.go +++ b/beacon-chain/execution/log_processing_test.go @@ -9,18 +9,18 @@ import ( "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - "github.com/prysmaticlabs/prysm/config/params" - contracts "github.com/prysmaticlabs/prysm/contracts/deposit" - "github.com/prysmaticlabs/prysm/contracts/deposit/mock" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + contracts "github.com/prysmaticlabs/prysm/v3/contracts/deposit" + "github.com/prysmaticlabs/prysm/v3/contracts/deposit/mock" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/execution/options.go b/beacon-chain/execution/options.go index bcfe016ea..4fbdcafe7 100644 --- a/beacon-chain/execution/options.go +++ b/beacon-chain/execution/options.go @@ -2,13 +2,13 @@ package execution import ( "github.com/ethereum/go-ethereum/common" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/network" - "github.com/prysmaticlabs/prysm/network/authorization" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/network" + "github.com/prysmaticlabs/prysm/v3/network/authorization" ) type Option func(s *Service) error diff --git a/beacon-chain/execution/prometheus.go b/beacon-chain/execution/prometheus.go index c606d5312..84489c42e 100644 --- a/beacon-chain/execution/prometheus.go +++ b/beacon-chain/execution/prometheus.go @@ -5,7 +5,7 @@ import ( "sync" "github.com/prometheus/client_golang/prometheus" - "github.com/prysmaticlabs/prysm/monitoring/clientstats" + "github.com/prysmaticlabs/prysm/v3/monitoring/clientstats" ) type BeaconNodeStatsUpdater interface { diff --git a/beacon-chain/execution/prometheus_test.go b/beacon-chain/execution/prometheus_test.go index 9160113ef..aa92e836f 100644 --- a/beacon-chain/execution/prometheus_test.go +++ b/beacon-chain/execution/prometheus_test.go @@ -6,7 +6,7 @@ import ( "time" "github.com/prometheus/client_golang/prometheus" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) // TestCleanup ensures that the cleanup function unregisters the prometheus.Collection diff --git a/beacon-chain/execution/provider.go b/beacon-chain/execution/provider.go index 7aab4c7eb..185060dd9 100644 --- a/beacon-chain/execution/provider.go +++ b/beacon-chain/execution/provider.go @@ -4,8 +4,8 @@ import ( "encoding/base64" "strings" - "github.com/prysmaticlabs/prysm/network" - "github.com/prysmaticlabs/prysm/network/authorization" + "github.com/prysmaticlabs/prysm/v3/network" + "github.com/prysmaticlabs/prysm/v3/network/authorization" ) // HttpEndpoint extracts an httputils.Endpoint from the provider parameter. diff --git a/beacon-chain/execution/provider_test.go b/beacon-chain/execution/provider_test.go index c618a497a..be22666e0 100644 --- a/beacon-chain/execution/provider_test.go +++ b/beacon-chain/execution/provider_test.go @@ -3,8 +3,8 @@ package execution import ( "testing" - "github.com/prysmaticlabs/prysm/network/authorization" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/network/authorization" + "github.com/prysmaticlabs/prysm/v3/testing/assert" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/execution/rpc_connection.go b/beacon-chain/execution/rpc_connection.go index 2eb10bd58..74825e6f2 100644 --- a/beacon-chain/execution/rpc_connection.go +++ b/beacon-chain/execution/rpc_connection.go @@ -9,11 +9,11 @@ import ( "github.com/ethereum/go-ethereum/ethclient" gethRPC "github.com/ethereum/go-ethereum/rpc" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - contracts "github.com/prysmaticlabs/prysm/contracts/deposit" - "github.com/prysmaticlabs/prysm/io/logs" - "github.com/prysmaticlabs/prysm/network" - "github.com/prysmaticlabs/prysm/network/authorization" + "github.com/prysmaticlabs/prysm/v3/config/params" + contracts "github.com/prysmaticlabs/prysm/v3/contracts/deposit" + "github.com/prysmaticlabs/prysm/v3/io/logs" + "github.com/prysmaticlabs/prysm/v3/network" + "github.com/prysmaticlabs/prysm/v3/network/authorization" ) func (s *Service) setupExecutionClientConnections(ctx context.Context, currEndpoint network.Endpoint) error { diff --git a/beacon-chain/execution/service.go b/beacon-chain/execution/service.go index 23c1f2908..c84e718d0 100644 --- a/beacon-chain/execution/service.go +++ b/beacon-chain/execution/service.go @@ -22,26 +22,26 @@ import ( "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/execution/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - native "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - contracts "github.com/prysmaticlabs/prysm/contracts/deposit" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/clientstats" - "github.com/prysmaticlabs/prysm/network" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + native "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + contracts "github.com/prysmaticlabs/prysm/v3/contracts/deposit" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/clientstats" + "github.com/prysmaticlabs/prysm/v3/network" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/execution/service_test.go b/beacon-chain/execution/service_test.go index 3e612b3b9..5fdbf3eb3 100644 --- a/beacon-chain/execution/service_test.go +++ b/beacon-chain/execution/service_test.go @@ -16,22 +16,22 @@ import ( gethTypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/rpc" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - dbutil "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/config/params" - contracts "github.com/prysmaticlabs/prysm/contracts/deposit" - "github.com/prysmaticlabs/prysm/contracts/deposit/mock" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/clientstats" - "github.com/prysmaticlabs/prysm/network" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + dbutil "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/config/params" + contracts "github.com/prysmaticlabs/prysm/v3/contracts/deposit" + "github.com/prysmaticlabs/prysm/v3/contracts/deposit/mock" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/clientstats" + "github.com/prysmaticlabs/prysm/v3/network" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/execution/testing/BUILD.bazel b/beacon-chain/execution/testing/BUILD.bazel index 957e3bc28..da6e20a08 100644 --- a/beacon-chain/execution/testing/BUILD.bazel +++ b/beacon-chain/execution/testing/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "mock_execution_chain.go", "mock_faulty_powchain.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing", visibility = [ "//beacon-chain:__subpackages__", ], diff --git a/beacon-chain/execution/testing/mock_engine_client.go b/beacon-chain/execution/testing/mock_engine_client.go index 877e655ae..16dc3d103 100644 --- a/beacon-chain/execution/testing/mock_engine_client.go +++ b/beacon-chain/execution/testing/mock_engine_client.go @@ -8,11 +8,11 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/holiman/uint256" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - pb "github.com/prysmaticlabs/prysm/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + pb "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" ) // EngineClient -- diff --git a/beacon-chain/execution/testing/mock_execution_chain.go b/beacon-chain/execution/testing/mock_execution_chain.go index 0be1f6c28..08c049caa 100644 --- a/beacon-chain/execution/testing/mock_execution_chain.go +++ b/beacon-chain/execution/testing/mock_execution_chain.go @@ -14,12 +14,12 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" gethTypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/rpc" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/execution/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Chain defines a properly functioning mock for the powchain service. diff --git a/beacon-chain/execution/testing/mock_faulty_powchain.go b/beacon-chain/execution/testing/mock_faulty_powchain.go index 26d411834..b97b6fb5a 100644 --- a/beacon-chain/execution/testing/mock_faulty_powchain.go +++ b/beacon-chain/execution/testing/mock_faulty_powchain.go @@ -6,11 +6,11 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/execution/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // FaultyExecutionChain defines an incorrectly functioning powchain service. diff --git a/beacon-chain/execution/types/BUILD.bazel b/beacon-chain/execution/types/BUILD.bazel index 81a1074de..cf4de15ad 100644 --- a/beacon-chain/execution/types/BUILD.bazel +++ b/beacon-chain/execution/types/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["eth1_types.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/execution/types", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/types", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//encoding/bytesutil:go_default_library", diff --git a/beacon-chain/execution/types/eth1_types.go b/beacon-chain/execution/types/eth1_types.go index 10256c674..22d06588d 100644 --- a/beacon-chain/execution/types/eth1_types.go +++ b/beacon-chain/execution/types/eth1_types.go @@ -6,7 +6,7 @@ import ( "github.com/ethereum/go-ethereum/common" gethTypes "github.com/ethereum/go-ethereum/core/types" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) // HeaderInfo specifies the block header information in the ETH 1.0 chain. diff --git a/beacon-chain/forkchoice/BUILD.bazel b/beacon-chain/forkchoice/BUILD.bazel index 7d5c8ffde..d7ee672b9 100644 --- a/beacon-chain/forkchoice/BUILD.bazel +++ b/beacon-chain/forkchoice/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "error.go", "interfaces.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice", visibility = [ "//beacon-chain:__subpackages__", "//testing/spectest:__subpackages__", diff --git a/beacon-chain/forkchoice/doubly-linked-tree/BUILD.bazel b/beacon-chain/forkchoice/doubly-linked-tree/BUILD.bazel index 8f6efb805..ce36aa84c 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/BUILD.bazel +++ b/beacon-chain/forkchoice/doubly-linked-tree/BUILD.bazel @@ -15,7 +15,7 @@ go_library( "types.go", "unrealized_justification.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/doubly-linked-tree", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/doubly-linked-tree", visibility = [ "//beacon-chain:__subpackages__", "//testing/spectest:__subpackages__", diff --git a/beacon-chain/forkchoice/doubly-linked-tree/ffg_update_test.go b/beacon-chain/forkchoice/doubly-linked-tree/ffg_update_test.go index a1e7d67d7..9409932a6 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/ffg_update_test.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/ffg_update_test.go @@ -4,11 +4,11 @@ import ( "context" "testing" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestFFGUpdates_OneBranch(t *testing.T) { diff --git a/beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go b/beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go index 673c18d8b..1d0a13bd3 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go @@ -5,18 +5,18 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/forkchoice/doubly-linked-tree/forkchoice_test.go b/beacon-chain/forkchoice/doubly-linked-tree/forkchoice_test.go index 9d830a5c2..3fb529a28 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/forkchoice_test.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/forkchoice_test.go @@ -6,19 +6,19 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // prepareForkchoiceState prepares a beacon State with the given data to mock diff --git a/beacon-chain/forkchoice/doubly-linked-tree/no_vote_test.go b/beacon-chain/forkchoice/doubly-linked-tree/no_vote_test.go index 6eb177058..f15425d9a 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/no_vote_test.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/no_vote_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestNoVote_CanFindHead(t *testing.T) { diff --git a/beacon-chain/forkchoice/doubly-linked-tree/node.go b/beacon-chain/forkchoice/doubly-linked-tree/node.go index 8c572017c..88072de6d 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/node.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/node.go @@ -5,8 +5,8 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // depth returns the length of the path to the root of Fork Choice diff --git a/beacon-chain/forkchoice/doubly-linked-tree/node_test.go b/beacon-chain/forkchoice/doubly-linked-tree/node_test.go index b09005d40..fc838c150 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/node_test.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/node_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestNode_ApplyWeightChanges_PositiveChange(t *testing.T) { diff --git a/beacon-chain/forkchoice/doubly-linked-tree/on_tick.go b/beacon-chain/forkchoice/doubly-linked-tree/on_tick.go index 110153aae..b2a297eae 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/on_tick.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/on_tick.go @@ -4,9 +4,9 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/features" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/config/features" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // NewSlot mimics the implementation of `on_tick` in fork choice consensus spec. diff --git a/beacon-chain/forkchoice/doubly-linked-tree/on_tick_test.go b/beacon-chain/forkchoice/doubly-linked-tree/on_tick_test.go index 4ff89c08f..29ceb4767 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/on_tick_test.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/on_tick_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStore_NewSlot(t *testing.T) { diff --git a/beacon-chain/forkchoice/doubly-linked-tree/optimistic_sync.go b/beacon-chain/forkchoice/doubly-linked-tree/optimistic_sync.go index 58947fff7..f54e8e641 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/optimistic_sync.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/optimistic_sync.go @@ -4,7 +4,7 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func (s *Store) setOptimisticToInvalid(ctx context.Context, root, parentRoot, payloadHash [32]byte) ([][32]byte, error) { diff --git a/beacon-chain/forkchoice/doubly-linked-tree/optimistic_sync_test.go b/beacon-chain/forkchoice/doubly-linked-tree/optimistic_sync_test.go index 9e079771f..5b10b529b 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/optimistic_sync_test.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/optimistic_sync_test.go @@ -5,9 +5,9 @@ import ( "sort" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) // We test the algorithm to update a node from SYNCING to INVALID diff --git a/beacon-chain/forkchoice/doubly-linked-tree/proposer_boost.go b/beacon-chain/forkchoice/doubly-linked-tree/proposer_boost.go index 2e388bce4..8deb56967 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/proposer_boost.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/proposer_boost.go @@ -4,7 +4,7 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) // ResetBoostedProposerRoot sets the value of the proposer boosted root to zeros. diff --git a/beacon-chain/forkchoice/doubly-linked-tree/proposer_boost_test.go b/beacon-chain/forkchoice/doubly-linked-tree/proposer_boost_test.go index 601cd1c6c..afb553d38 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/proposer_boost_test.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/proposer_boost_test.go @@ -5,10 +5,10 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) // Helper function to simulate the block being on time or delayed for proposer diff --git a/beacon-chain/forkchoice/doubly-linked-tree/store.go b/beacon-chain/forkchoice/doubly-linked-tree/store.go index 235f5c132..a09883e6e 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/store.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/store.go @@ -5,10 +5,10 @@ import ( "fmt" "time" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/time/slots" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" ) diff --git a/beacon-chain/forkchoice/doubly-linked-tree/store_test.go b/beacon-chain/forkchoice/doubly-linked-tree/store_test.go index 58f7b30aa..2748349d7 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/store_test.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/store_test.go @@ -5,11 +5,11 @@ import ( "testing" "time" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStore_PruneThreshold(t *testing.T) { @@ -306,10 +306,10 @@ func TestStore_tips(t *testing.T) { require.NoError(t, err) require.NoError(t, f.InsertNode(ctx, state, blkRoot)) expectedMap := map[[32]byte]types.Slot{ - [32]byte{'f'}: 105, - [32]byte{'i'}: 106, - [32]byte{'l'}: 106, - [32]byte{'j'}: 102, + {'f'}: 105, + {'i'}: 106, + {'l'}: 106, + {'j'}: 102, } roots, slots := f.store.tips() for i, r := range roots { diff --git a/beacon-chain/forkchoice/doubly-linked-tree/types.go b/beacon-chain/forkchoice/doubly-linked-tree/types.go index 5e6d88487..9c16f894b 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/types.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/types.go @@ -3,9 +3,9 @@ package doublylinkedtree import ( "sync" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // ForkChoice defines the overall fork choice store which includes all block nodes, validator's latest votes and balances. diff --git a/beacon-chain/forkchoice/doubly-linked-tree/unrealized_justification.go b/beacon-chain/forkchoice/doubly-linked-tree/unrealized_justification.go index fbe76139a..25a0b6855 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/unrealized_justification.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/unrealized_justification.go @@ -2,14 +2,14 @@ package doublylinkedtree import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func (s *Store) setUnrealizedJustifiedEpoch(root [32]byte, epoch types.Epoch) error { diff --git a/beacon-chain/forkchoice/doubly-linked-tree/unrealized_justification_test.go b/beacon-chain/forkchoice/doubly-linked-tree/unrealized_justification_test.go index ebb53a31b..5aca4b042 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/unrealized_justification_test.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/unrealized_justification_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStore_SetUnrealizedEpochs(t *testing.T) { diff --git a/beacon-chain/forkchoice/doubly-linked-tree/vote_test.go b/beacon-chain/forkchoice/doubly-linked-tree/vote_test.go index f62179103..fd57b3f66 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/vote_test.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/vote_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestVotes_CanFindHead(t *testing.T) { diff --git a/beacon-chain/forkchoice/interfaces.go b/beacon-chain/forkchoice/interfaces.go index 0f9493179..a8c740872 100644 --- a/beacon-chain/forkchoice/interfaces.go +++ b/beacon-chain/forkchoice/interfaces.go @@ -3,10 +3,10 @@ package forkchoice import ( "context" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // ForkChoicer represents the full fork choice interface composed of all the sub-interfaces. diff --git a/beacon-chain/forkchoice/protoarray/BUILD.bazel b/beacon-chain/forkchoice/protoarray/BUILD.bazel index 0a9041ef4..8a4ddc3a3 100644 --- a/beacon-chain/forkchoice/protoarray/BUILD.bazel +++ b/beacon-chain/forkchoice/protoarray/BUILD.bazel @@ -15,7 +15,7 @@ go_library( "types.go", "unrealized_justification.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray", visibility = [ "//beacon-chain:__subpackages__", "//testing/spectest:__subpackages__", diff --git a/beacon-chain/forkchoice/protoarray/ffg_update_test.go b/beacon-chain/forkchoice/protoarray/ffg_update_test.go index 10e700fe6..3242e439d 100644 --- a/beacon-chain/forkchoice/protoarray/ffg_update_test.go +++ b/beacon-chain/forkchoice/protoarray/ffg_update_test.go @@ -4,15 +4,15 @@ import ( "context" "testing" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) // prepareForkchoiceState prepares a beacon State with the given data to mock diff --git a/beacon-chain/forkchoice/protoarray/helpers.go b/beacon-chain/forkchoice/protoarray/helpers.go index f2da116ea..4f7f66079 100644 --- a/beacon-chain/forkchoice/protoarray/helpers.go +++ b/beacon-chain/forkchoice/protoarray/helpers.go @@ -3,9 +3,9 @@ package protoarray import ( "context" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - pmath "github.com/prysmaticlabs/prysm/math" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + pmath "github.com/prysmaticlabs/prysm/v3/math" "go.opencensus.io/trace" ) diff --git a/beacon-chain/forkchoice/protoarray/helpers_test.go b/beacon-chain/forkchoice/protoarray/helpers_test.go index 57e7ec85d..c17ca488e 100644 --- a/beacon-chain/forkchoice/protoarray/helpers_test.go +++ b/beacon-chain/forkchoice/protoarray/helpers_test.go @@ -5,11 +5,11 @@ import ( "encoding/binary" "testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestComputeDelta_ZeroHash(t *testing.T) { diff --git a/beacon-chain/forkchoice/protoarray/no_vote_test.go b/beacon-chain/forkchoice/protoarray/no_vote_test.go index e3a438383..404c23dfd 100644 --- a/beacon-chain/forkchoice/protoarray/no_vote_test.go +++ b/beacon-chain/forkchoice/protoarray/no_vote_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestNoVote_CanFindHead(t *testing.T) { diff --git a/beacon-chain/forkchoice/protoarray/node.go b/beacon-chain/forkchoice/protoarray/node.go index 733d84156..4ec68e7d2 100644 --- a/beacon-chain/forkchoice/protoarray/node.go +++ b/beacon-chain/forkchoice/protoarray/node.go @@ -1,7 +1,7 @@ package protoarray import ( - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // Slot of the fork choice node. diff --git a/beacon-chain/forkchoice/protoarray/node_test.go b/beacon-chain/forkchoice/protoarray/node_test.go index e26b17407..f62046d7f 100644 --- a/beacon-chain/forkchoice/protoarray/node_test.go +++ b/beacon-chain/forkchoice/protoarray/node_test.go @@ -3,8 +3,8 @@ package protoarray import ( "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestNode_Getters(t *testing.T) { diff --git a/beacon-chain/forkchoice/protoarray/on_tick.go b/beacon-chain/forkchoice/protoarray/on_tick.go index 548c424d5..ba9f434d9 100644 --- a/beacon-chain/forkchoice/protoarray/on_tick.go +++ b/beacon-chain/forkchoice/protoarray/on_tick.go @@ -4,9 +4,9 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/features" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/config/features" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // NewSlot mimics the implementation of `on_tick` in fork choice consensus spec. diff --git a/beacon-chain/forkchoice/protoarray/on_tick_test.go b/beacon-chain/forkchoice/protoarray/on_tick_test.go index f0da1be79..b1aa0b1fb 100644 --- a/beacon-chain/forkchoice/protoarray/on_tick_test.go +++ b/beacon-chain/forkchoice/protoarray/on_tick_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStore_NewSlot(t *testing.T) { diff --git a/beacon-chain/forkchoice/protoarray/optimistic_sync.go b/beacon-chain/forkchoice/protoarray/optimistic_sync.go index 7a7610c5c..094ac811b 100644 --- a/beacon-chain/forkchoice/protoarray/optimistic_sync.go +++ b/beacon-chain/forkchoice/protoarray/optimistic_sync.go @@ -3,7 +3,7 @@ package protoarray import ( "context" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) // IsOptimistic returns true if this node is optimistically synced diff --git a/beacon-chain/forkchoice/protoarray/optimistic_sync_test.go b/beacon-chain/forkchoice/protoarray/optimistic_sync_test.go index 48fc067e3..9db72a3ac 100644 --- a/beacon-chain/forkchoice/protoarray/optimistic_sync_test.go +++ b/beacon-chain/forkchoice/protoarray/optimistic_sync_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func slicesEqual(a, b [][32]byte) bool { @@ -500,7 +500,7 @@ func TestSetOptimisticToInvalid_ForkAtMerge(t *testing.T) { roots, err := f.SetOptimisticToInvalid(ctx, [32]byte{'x'}, [32]byte{'d'}, [32]byte{}) require.NoError(t, err) require.Equal(t, 4, len(roots)) - require.Equal(t, true, slicesEqual(roots, [][32]byte{[32]byte{'b'}, [32]byte{'c'}, [32]byte{'d'}, [32]byte{'e'}})) + require.Equal(t, true, slicesEqual(roots, [][32]byte{{'b'}, {'c'}, {'d'}, {'e'}})) } // Pow | Pos diff --git a/beacon-chain/forkchoice/protoarray/proposer_boost.go b/beacon-chain/forkchoice/protoarray/proposer_boost.go index 4d0b301a3..a9ba2ef2d 100644 --- a/beacon-chain/forkchoice/protoarray/proposer_boost.go +++ b/beacon-chain/forkchoice/protoarray/proposer_boost.go @@ -4,7 +4,7 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) // ResetBoostedProposerRoot sets the value of the proposer boosted root to zeros. diff --git a/beacon-chain/forkchoice/protoarray/proposer_boost_test.go b/beacon-chain/forkchoice/protoarray/proposer_boost_test.go index 40de45db8..c66270fa6 100644 --- a/beacon-chain/forkchoice/protoarray/proposer_boost_test.go +++ b/beacon-chain/forkchoice/protoarray/proposer_boost_test.go @@ -5,10 +5,10 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) // Helper function to simulate the block being on time or delayed for proposer diff --git a/beacon-chain/forkchoice/protoarray/store.go b/beacon-chain/forkchoice/protoarray/store.go index 604e4dcde..d996eb145 100644 --- a/beacon-chain/forkchoice/protoarray/store.go +++ b/beacon-chain/forkchoice/protoarray/store.go @@ -7,19 +7,19 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - pmath "github.com/prysmaticlabs/prysm/math" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + pmath "github.com/prysmaticlabs/prysm/v3/math" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/forkchoice/protoarray/store_test.go b/beacon-chain/forkchoice/protoarray/store_test.go index 8a76ecb40..eb8fd5945 100644 --- a/beacon-chain/forkchoice/protoarray/store_test.go +++ b/beacon-chain/forkchoice/protoarray/store_test.go @@ -5,15 +5,15 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestStore_PruneThreshold(t *testing.T) { @@ -511,9 +511,9 @@ func TestStore_Prune_NoDanglingBranch(t *testing.T) { indexToHash(uint64(2)): true, }, payloadIndices: map[[32]byte]uint64{ - [32]byte{'A'}: 0, - [32]byte{'B'}: 1, - [32]byte{'C'}: 2, + {'A'}: 0, + {'B'}: 1, + {'C'}: 2, }, } fc := &forkchoicetypes.Checkpoint{Epoch: 1, Root: indexToHash(1)} @@ -999,11 +999,11 @@ func TestStore_UpdateCanonicalNodes_RemoveOldCanonical(t *testing.T) { f := &ForkChoice{store: &Store{}} f.store.canonicalNodes = map[[32]byte]bool{} f.store.nodesIndices = map[[32]byte]uint64{ - [32]byte{'a'}: 0, - [32]byte{'b'}: 1, - [32]byte{'c'}: 2, - [32]byte{'d'}: 3, - [32]byte{'e'}: 4, + {'a'}: 0, + {'b'}: 1, + {'c'}: 2, + {'d'}: 3, + {'e'}: 4, } f.store.nodes = []*Node{ diff --git a/beacon-chain/forkchoice/protoarray/types.go b/beacon-chain/forkchoice/protoarray/types.go index e90353329..fa73f6fee 100644 --- a/beacon-chain/forkchoice/protoarray/types.go +++ b/beacon-chain/forkchoice/protoarray/types.go @@ -3,9 +3,9 @@ package protoarray import ( "sync" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // ForkChoice defines the overall fork choice store which includes all block nodes, validator's latest votes and balances. diff --git a/beacon-chain/forkchoice/protoarray/unrealized_justification.go b/beacon-chain/forkchoice/protoarray/unrealized_justification.go index e74bb909c..591c7fb5f 100644 --- a/beacon-chain/forkchoice/protoarray/unrealized_justification.go +++ b/beacon-chain/forkchoice/protoarray/unrealized_justification.go @@ -1,14 +1,14 @@ package protoarray import ( - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func (s *Store) setUnrealizedJustifiedEpoch(root [32]byte, epoch types.Epoch) error { diff --git a/beacon-chain/forkchoice/protoarray/unrealized_justification_test.go b/beacon-chain/forkchoice/protoarray/unrealized_justification_test.go index 4fe238d0b..b845fdcaf 100644 --- a/beacon-chain/forkchoice/protoarray/unrealized_justification_test.go +++ b/beacon-chain/forkchoice/protoarray/unrealized_justification_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - forkchoicetypes "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" + forkchoicetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStore_SetUnrealizedEpochs(t *testing.T) { diff --git a/beacon-chain/forkchoice/protoarray/vote_test.go b/beacon-chain/forkchoice/protoarray/vote_test.go index 62c0a977f..cec66e53a 100644 --- a/beacon-chain/forkchoice/protoarray/vote_test.go +++ b/beacon-chain/forkchoice/protoarray/vote_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestVotes_CanFindHead(t *testing.T) { diff --git a/beacon-chain/forkchoice/types/BUILD.bazel b/beacon-chain/forkchoice/types/BUILD.bazel index dc341b680..bfcdd2b98 100644 --- a/beacon-chain/forkchoice/types/BUILD.bazel +++ b/beacon-chain/forkchoice/types/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["types.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/types", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/types", visibility = ["//visibility:public"], deps = [ "//config/fieldparams:go_default_library", diff --git a/beacon-chain/forkchoice/types/types.go b/beacon-chain/forkchoice/types/types.go index e3d2775b9..105ad531b 100644 --- a/beacon-chain/forkchoice/types/types.go +++ b/beacon-chain/forkchoice/types/types.go @@ -1,10 +1,10 @@ package types import ( - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ProposerBoostRootArgs to call the BoostProposerRoot function. diff --git a/beacon-chain/gateway/BUILD.bazel b/beacon-chain/gateway/BUILD.bazel index 8bda9dd07..4feed0fe8 100644 --- a/beacon-chain/gateway/BUILD.bazel +++ b/beacon-chain/gateway/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["helpers.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/gateway", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/gateway", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//api/gateway:go_default_library", diff --git a/beacon-chain/gateway/helpers.go b/beacon-chain/gateway/helpers.go index ffa3bca64..d10912d4b 100644 --- a/beacon-chain/gateway/helpers.go +++ b/beacon-chain/gateway/helpers.go @@ -2,10 +2,10 @@ package gateway import ( gwruntime "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/prysmaticlabs/prysm/api/gateway" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - ethpbalpha "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/api/gateway" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + ethpbalpha "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/beacon-chain/gateway/helpers_test.go b/beacon-chain/gateway/helpers_test.go index 3c26807d6..40d4f61d8 100644 --- a/beacon-chain/gateway/helpers_test.go +++ b/beacon-chain/gateway/helpers_test.go @@ -3,9 +3,9 @@ package gateway import ( "testing" - "github.com/prysmaticlabs/prysm/api/gateway" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/api/gateway" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestDefaultConfig(t *testing.T) { diff --git a/beacon-chain/monitor/BUILD.bazel b/beacon-chain/monitor/BUILD.bazel index 6f33148fd..27216e840 100644 --- a/beacon-chain/monitor/BUILD.bazel +++ b/beacon-chain/monitor/BUILD.bazel @@ -11,7 +11,7 @@ go_library( "process_sync_committee.go", "service.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/monitor", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/monitor", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//async/event:go_default_library", diff --git a/beacon-chain/monitor/process_attestation.go b/beacon-chain/monitor/process_attestation.go index 8bd1a27d1..d949d041b 100644 --- a/beacon-chain/monitor/process_attestation.go +++ b/beacon-chain/monitor/process_attestation.go @@ -4,17 +4,17 @@ import ( "context" "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/monitor/process_attestation_test.go b/beacon-chain/monitor/process_attestation_test.go index c72b32b2e..5fb3a67d6 100644 --- a/beacon-chain/monitor/process_attestation_test.go +++ b/beacon-chain/monitor/process_attestation_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "github.com/sirupsen/logrus" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/monitor/process_block.go b/beacon-chain/monitor/process_block.go index 3e7cf0ff6..72d2a9064 100644 --- a/beacon-chain/monitor/process_block.go +++ b/beacon-chain/monitor/process_block.go @@ -4,13 +4,13 @@ import ( "context" "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/monitor/process_block_test.go b/beacon-chain/monitor/process_block_test.go index 17efe4ed1..91bfe4869 100644 --- a/beacon-chain/monitor/process_block_test.go +++ b/beacon-chain/monitor/process_block_test.go @@ -6,14 +6,14 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/monitor/process_exit.go b/beacon-chain/monitor/process_exit.go index 50a522b63..47f05f681 100644 --- a/beacon-chain/monitor/process_exit.go +++ b/beacon-chain/monitor/process_exit.go @@ -1,8 +1,8 @@ package monitor import ( - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/monitor/process_exit_test.go b/beacon-chain/monitor/process_exit_test.go index c6f8e072c..49d5a13af 100644 --- a/beacon-chain/monitor/process_exit_test.go +++ b/beacon-chain/monitor/process_exit_test.go @@ -3,10 +3,10 @@ package monitor import ( "testing" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/monitor/process_sync_committee.go b/beacon-chain/monitor/process_sync_committee.go index d9db6e7c5..17b48def8 100644 --- a/beacon-chain/monitor/process_sync_committee.go +++ b/beacon-chain/monitor/process_sync_committee.go @@ -3,9 +3,9 @@ package monitor import ( "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/monitor/process_sync_committee_test.go b/beacon-chain/monitor/process_sync_committee_test.go index 100902ccd..b0ff12512 100644 --- a/beacon-chain/monitor/process_sync_committee_test.go +++ b/beacon-chain/monitor/process_sync_committee_test.go @@ -4,10 +4,10 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/monitor/service.go b/beacon-chain/monitor/service.go index 3bf64aefe..b41187abe 100644 --- a/beacon-chain/monitor/service.go +++ b/beacon-chain/monitor/service.go @@ -6,16 +6,16 @@ import ( "sort" "sync" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/monitor/service_test.go b/beacon-chain/monitor/service_test.go index e7f00a367..3a46d2174 100644 --- a/beacon-chain/monitor/service_test.go +++ b/beacon-chain/monitor/service_test.go @@ -7,18 +7,18 @@ import ( "testing" "time" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/node/BUILD.bazel b/beacon-chain/node/BUILD.bazel index 9e34cbf26..6d445df54 100644 --- a/beacon-chain/node/BUILD.bazel +++ b/beacon-chain/node/BUILD.bazel @@ -9,7 +9,7 @@ go_library( "options.go", "prometheus.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/node", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/node", visibility = [ "//beacon-chain:__subpackages__", "//cmd/beacon-chain:__subpackages__", diff --git a/beacon-chain/node/config.go b/beacon-chain/node/config.go index a7224e244..4849757c1 100644 --- a/beacon-chain/node/config.go +++ b/beacon-chain/node/config.go @@ -6,12 +6,12 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/pkg/errors" fastssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - tracing2 "github.com/prysmaticlabs/prysm/monitoring/tracing" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + tracing2 "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" "github.com/urfave/cli/v2" ) diff --git a/beacon-chain/node/config_test.go b/beacon-chain/node/config_test.go index 0763e1375..5b11d2703 100644 --- a/beacon-chain/node/config_test.go +++ b/beacon-chain/node/config_test.go @@ -9,12 +9,12 @@ import ( "testing" "github.com/ethereum/go-ethereum/common" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" "github.com/urfave/cli/v2" ) diff --git a/beacon-chain/node/node.go b/beacon-chain/node/node.go index 784684e9b..892f4d53a 100644 --- a/beacon-chain/node/node.go +++ b/beacon-chain/node/node.go @@ -17,51 +17,51 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/pkg/errors" - apigateway "github.com/prysmaticlabs/prysm/api/gateway" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/builder" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" - "github.com/prysmaticlabs/prysm/beacon-chain/db/slasherkv" - interopcoldstart "github.com/prysmaticlabs/prysm/beacon-chain/deterministic-genesis" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice" - doublylinkedtree "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/doubly-linked-tree" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - "github.com/prysmaticlabs/prysm/beacon-chain/gateway" - "github.com/prysmaticlabs/prysm/beacon-chain/monitor" - "github.com/prysmaticlabs/prysm/beacon-chain/node/registration" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/synccommittee" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/apimiddleware" - "github.com/prysmaticlabs/prysm/beacon-chain/slasher" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - regularsync "github.com/prysmaticlabs/prysm/beacon-chain/sync" - "github.com/prysmaticlabs/prysm/beacon-chain/sync/backfill" - "github.com/prysmaticlabs/prysm/beacon-chain/sync/checkpoint" - "github.com/prysmaticlabs/prysm/beacon-chain/sync/genesis" - initialsync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/backup" - "github.com/prysmaticlabs/prysm/monitoring/prometheus" - "github.com/prysmaticlabs/prysm/runtime" - "github.com/prysmaticlabs/prysm/runtime/debug" - "github.com/prysmaticlabs/prysm/runtime/prereqs" - "github.com/prysmaticlabs/prysm/runtime/version" + apigateway "github.com/prysmaticlabs/prysm/v3/api/gateway" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/builder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/slasherkv" + interopcoldstart "github.com/prysmaticlabs/prysm/v3/beacon-chain/deterministic-genesis" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice" + doublylinkedtree "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/doubly-linked-tree" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/gateway" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/monitor" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/node/registration" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/synccommittee" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + regularsync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/backfill" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/checkpoint" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/genesis" + initialsync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/backup" + "github.com/prysmaticlabs/prysm/v3/monitoring/prometheus" + "github.com/prysmaticlabs/prysm/v3/runtime" + "github.com/prysmaticlabs/prysm/v3/runtime/debug" + "github.com/prysmaticlabs/prysm/v3/runtime/prereqs" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/beacon-chain/node/node_test.go b/beacon-chain/node/node_test.go index 332009d80..e796a7b5f 100644 --- a/beacon-chain/node/node_test.go +++ b/beacon-chain/node/node_test.go @@ -6,11 +6,11 @@ import ( "path/filepath" "testing" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/testing/require" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" "github.com/urfave/cli/v2" ) diff --git a/beacon-chain/node/options.go b/beacon-chain/node/options.go index 010ee9db1..835d89f4a 100644 --- a/beacon-chain/node/options.go +++ b/beacon-chain/node/options.go @@ -1,9 +1,9 @@ package node import ( - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/builder" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/builder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" ) // Option for beacon node configuration. diff --git a/beacon-chain/node/registration/BUILD.bazel b/beacon-chain/node/registration/BUILD.bazel index f44ec4c92..3e8b93420 100644 --- a/beacon-chain/node/registration/BUILD.bazel +++ b/beacon-chain/node/registration/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "log.go", "p2p.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/node/registration", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/node/registration", visibility = ["//beacon-chain/node:__subpackages__"], deps = [ "//cmd:go_default_library", diff --git a/beacon-chain/node/registration/p2p.go b/beacon-chain/node/registration/p2p.go index fcc70a467..1bf495319 100644 --- a/beacon-chain/node/registration/p2p.go +++ b/beacon-chain/node/registration/p2p.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/config/params" "github.com/urfave/cli/v2" "gopkg.in/yaml.v2" ) diff --git a/beacon-chain/node/registration/p2p_test.go b/beacon-chain/node/registration/p2p_test.go index a838a799a..3b7cf7679 100644 --- a/beacon-chain/node/registration/p2p_test.go +++ b/beacon-chain/node/registration/p2p_test.go @@ -5,10 +5,10 @@ import ( "os" "testing" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/urfave/cli/v2" ) diff --git a/beacon-chain/operations/attestations/BUILD.bazel b/beacon-chain/operations/attestations/BUILD.bazel index 0476214c2..e948e555a 100644 --- a/beacon-chain/operations/attestations/BUILD.bazel +++ b/beacon-chain/operations/attestations/BUILD.bazel @@ -10,7 +10,7 @@ go_library( "prune_expired.go", "service.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations", visibility = [ "//beacon-chain:__subpackages__", "//testing/spectest:__subpackages__", diff --git a/beacon-chain/operations/attestations/kv/BUILD.bazel b/beacon-chain/operations/attestations/kv/BUILD.bazel index 0d30828c3..e8c3c05fe 100644 --- a/beacon-chain/operations/attestations/kv/BUILD.bazel +++ b/beacon-chain/operations/attestations/kv/BUILD.bazel @@ -10,7 +10,7 @@ go_library( "seen_bits.go", "unaggregated.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations/kv", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations/kv", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/core/helpers:go_default_library", diff --git a/beacon-chain/operations/attestations/kv/aggregated.go b/beacon-chain/operations/attestations/kv/aggregated.go index 808cc4d14..d1522df0f 100644 --- a/beacon-chain/operations/attestations/kv/aggregated.go +++ b/beacon-chain/operations/attestations/kv/aggregated.go @@ -4,10 +4,10 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - attaggregation "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + attaggregation "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/attestations" log "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/operations/attestations/kv/aggregated_test.go b/beacon-chain/operations/attestations/kv/aggregated_test.go index b23cbdd69..c62236484 100644 --- a/beacon-chain/operations/attestations/kv/aggregated_test.go +++ b/beacon-chain/operations/attestations/kv/aggregated_test.go @@ -9,12 +9,12 @@ import ( "github.com/pkg/errors" fssz "github.com/prysmaticlabs/fastssz" "github.com/prysmaticlabs/go-bitfield" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestKV_Aggregated_AggregateUnaggregatedAttestations(t *testing.T) { diff --git a/beacon-chain/operations/attestations/kv/benchmark_test.go b/beacon-chain/operations/attestations/kv/benchmark_test.go index 5c1141f96..eadcd0a71 100644 --- a/beacon-chain/operations/attestations/kv/benchmark_test.go +++ b/beacon-chain/operations/attestations/kv/benchmark_test.go @@ -3,9 +3,9 @@ package kv_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations/kv" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations/kv" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func BenchmarkAttCaches(b *testing.B) { diff --git a/beacon-chain/operations/attestations/kv/block.go b/beacon-chain/operations/attestations/kv/block.go index 7366f9c6e..f582dddb8 100644 --- a/beacon-chain/operations/attestations/kv/block.go +++ b/beacon-chain/operations/attestations/kv/block.go @@ -2,7 +2,7 @@ package kv import ( "github.com/pkg/errors" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SaveBlockAttestation saves an block attestation in cache. diff --git a/beacon-chain/operations/attestations/kv/block_test.go b/beacon-chain/operations/attestations/kv/block_test.go index c19700296..772f239fa 100644 --- a/beacon-chain/operations/attestations/kv/block_test.go +++ b/beacon-chain/operations/attestations/kv/block_test.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestKV_BlockAttestation_CanSaveRetrieve(t *testing.T) { diff --git a/beacon-chain/operations/attestations/kv/forkchoice.go b/beacon-chain/operations/attestations/kv/forkchoice.go index b21a1d00a..0b3e9da8a 100644 --- a/beacon-chain/operations/attestations/kv/forkchoice.go +++ b/beacon-chain/operations/attestations/kv/forkchoice.go @@ -2,7 +2,7 @@ package kv import ( "github.com/pkg/errors" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SaveForkchoiceAttestation saves an forkchoice attestation in cache. diff --git a/beacon-chain/operations/attestations/kv/forkchoice_test.go b/beacon-chain/operations/attestations/kv/forkchoice_test.go index 610ce3420..12035418c 100644 --- a/beacon-chain/operations/attestations/kv/forkchoice_test.go +++ b/beacon-chain/operations/attestations/kv/forkchoice_test.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestKV_Forkchoice_CanSaveRetrieve(t *testing.T) { diff --git a/beacon-chain/operations/attestations/kv/kv.go b/beacon-chain/operations/attestations/kv/kv.go index 27311d02e..61270d0dd 100644 --- a/beacon-chain/operations/attestations/kv/kv.go +++ b/beacon-chain/operations/attestations/kv/kv.go @@ -8,9 +8,9 @@ import ( "time" "github.com/patrickmn/go-cache" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/hash" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) var hashFn = hash.HashProto diff --git a/beacon-chain/operations/attestations/kv/seen_bits.go b/beacon-chain/operations/attestations/kv/seen_bits.go index cdeab5552..401c06fc3 100644 --- a/beacon-chain/operations/attestations/kv/seen_bits.go +++ b/beacon-chain/operations/attestations/kv/seen_bits.go @@ -4,7 +4,7 @@ import ( "github.com/patrickmn/go-cache" "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func (c *AttCaches) insertSeenBit(att *ethpb.Attestation) error { diff --git a/beacon-chain/operations/attestations/kv/seen_bits_test.go b/beacon-chain/operations/attestations/kv/seen_bits_test.go index b81492e1a..c3a885da5 100644 --- a/beacon-chain/operations/attestations/kv/seen_bits_test.go +++ b/beacon-chain/operations/attestations/kv/seen_bits_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestAttCaches_hasSeenBit(t *testing.T) { diff --git a/beacon-chain/operations/attestations/kv/unaggregated.go b/beacon-chain/operations/attestations/kv/unaggregated.go index 8eabe9433..d4f6aa3a3 100644 --- a/beacon-chain/operations/attestations/kv/unaggregated.go +++ b/beacon-chain/operations/attestations/kv/unaggregated.go @@ -4,9 +4,9 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/beacon-chain/operations/attestations/kv/unaggregated_test.go b/beacon-chain/operations/attestations/kv/unaggregated_test.go index a42f86341..ccfc3c890 100644 --- a/beacon-chain/operations/attestations/kv/unaggregated_test.go +++ b/beacon-chain/operations/attestations/kv/unaggregated_test.go @@ -9,11 +9,11 @@ import ( c "github.com/patrickmn/go-cache" fssz "github.com/prysmaticlabs/fastssz" "github.com/prysmaticlabs/go-bitfield" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestKV_Unaggregated_SaveUnaggregatedAttestation(t *testing.T) { diff --git a/beacon-chain/operations/attestations/mock/BUILD.bazel b/beacon-chain/operations/attestations/mock/BUILD.bazel index 41d1ed182..ad1d0e985 100644 --- a/beacon-chain/operations/attestations/mock/BUILD.bazel +++ b/beacon-chain/operations/attestations/mock/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["mock.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations/mock", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations/mock", visibility = ["//visibility:public"], deps = [ "//consensus-types/primitives:go_default_library", diff --git a/beacon-chain/operations/attestations/mock/mock.go b/beacon-chain/operations/attestations/mock/mock.go index 3895b9160..8091a3193 100644 --- a/beacon-chain/operations/attestations/mock/mock.go +++ b/beacon-chain/operations/attestations/mock/mock.go @@ -3,8 +3,8 @@ package mock import ( "context" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // PoolMock -- diff --git a/beacon-chain/operations/attestations/pool.go b/beacon-chain/operations/attestations/pool.go index 3861d4623..bac255a5d 100644 --- a/beacon-chain/operations/attestations/pool.go +++ b/beacon-chain/operations/attestations/pool.go @@ -3,9 +3,9 @@ package attestations import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations/kv" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations/kv" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Pool defines the necessary methods for Prysm attestations pool to serve diff --git a/beacon-chain/operations/attestations/pool_test.go b/beacon-chain/operations/attestations/pool_test.go index a376e178f..0d5e525a2 100644 --- a/beacon-chain/operations/attestations/pool_test.go +++ b/beacon-chain/operations/attestations/pool_test.go @@ -1,7 +1,7 @@ package attestations import ( - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations/kv" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations/kv" ) var _ Pool = (*kv.AttCaches)(nil) diff --git a/beacon-chain/operations/attestations/prepare_forkchoice.go b/beacon-chain/operations/attestations/prepare_forkchoice.go index 8b4e71eab..d82ff7fcf 100644 --- a/beacon-chain/operations/attestations/prepare_forkchoice.go +++ b/beacon-chain/operations/attestations/prepare_forkchoice.go @@ -7,10 +7,10 @@ import ( "time" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/crypto/hash" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - attaggregation "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/attestations" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + attaggregation "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/attestations" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" ) diff --git a/beacon-chain/operations/attestations/prepare_forkchoice_test.go b/beacon-chain/operations/attestations/prepare_forkchoice_test.go index 295538c50..ac45e5a84 100644 --- a/beacon-chain/operations/attestations/prepare_forkchoice_test.go +++ b/beacon-chain/operations/attestations/prepare_forkchoice_test.go @@ -7,12 +7,12 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - attaggregation "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/attestations" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + attaggregation "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/attestations" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/operations/attestations/prune_expired.go b/beacon-chain/operations/attestations/prune_expired.go index fdca09ab5..07d7e52ba 100644 --- a/beacon-chain/operations/attestations/prune_expired.go +++ b/beacon-chain/operations/attestations/prune_expired.go @@ -3,9 +3,9 @@ package attestations import ( "time" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" ) // pruneAttsPool prunes attestations pool on every slot interval. diff --git a/beacon-chain/operations/attestations/prune_expired_test.go b/beacon-chain/operations/attestations/prune_expired_test.go index 70e511b69..f69f30238 100644 --- a/beacon-chain/operations/attestations/prune_expired_test.go +++ b/beacon-chain/operations/attestations/prune_expired_test.go @@ -6,14 +6,14 @@ import ( "time" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/async" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/async" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" ) func TestPruneExpired_Ticker(t *testing.T) { diff --git a/beacon-chain/operations/attestations/service.go b/beacon-chain/operations/attestations/service.go index d6cc17139..c5a71bf87 100644 --- a/beacon-chain/operations/attestations/service.go +++ b/beacon-chain/operations/attestations/service.go @@ -8,8 +8,8 @@ import ( "time" lru "github.com/hashicorp/golang-lru" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/config/params" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/config/params" ) var forkChoiceProcessedRootsSize = 1 << 16 diff --git a/beacon-chain/operations/attestations/service_test.go b/beacon-chain/operations/attestations/service_test.go index 15a78ff24..d85f860fc 100644 --- a/beacon-chain/operations/attestations/service_test.go +++ b/beacon-chain/operations/attestations/service_test.go @@ -5,8 +5,8 @@ import ( "errors" "testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStop_OK(t *testing.T) { diff --git a/beacon-chain/operations/slashings/BUILD.bazel b/beacon-chain/operations/slashings/BUILD.bazel index 2fba49749..98a6fbed5 100644 --- a/beacon-chain/operations/slashings/BUILD.bazel +++ b/beacon-chain/operations/slashings/BUILD.bazel @@ -9,7 +9,7 @@ go_library( "service.go", "types.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings", visibility = [ "//beacon-chain:__subpackages__", "//testing/endtoend:__subpackages__", diff --git a/beacon-chain/operations/slashings/mock/BUILD.bazel b/beacon-chain/operations/slashings/mock/BUILD.bazel index 8d7f21403..610572eb0 100644 --- a/beacon-chain/operations/slashings/mock/BUILD.bazel +++ b/beacon-chain/operations/slashings/mock/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["mock.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings/mock", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings/mock", visibility = ["//visibility:public"], deps = [ "//beacon-chain/state:go_default_library", diff --git a/beacon-chain/operations/slashings/mock/mock.go b/beacon-chain/operations/slashings/mock/mock.go index d35e190b8..bc8321cd7 100644 --- a/beacon-chain/operations/slashings/mock/mock.go +++ b/beacon-chain/operations/slashings/mock/mock.go @@ -3,8 +3,8 @@ package mock import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // PoolMock is a fake implementation of PoolManager. diff --git a/beacon-chain/operations/slashings/service.go b/beacon-chain/operations/slashings/service.go index 68317bc6a..61fc8f765 100644 --- a/beacon-chain/operations/slashings/service.go +++ b/beacon-chain/operations/slashings/service.go @@ -6,14 +6,14 @@ import ( "sort" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/trailofbits/go-mutexasserts" "go.opencensus.io/trace" ) diff --git a/beacon-chain/operations/slashings/service_attester_test.go b/beacon-chain/operations/slashings/service_attester_test.go index 47f380c58..24d7c1f51 100644 --- a/beacon-chain/operations/slashings/service_attester_test.go +++ b/beacon-chain/operations/slashings/service_attester_test.go @@ -4,14 +4,14 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func validAttesterSlashingForValIdx(t *testing.T, beaconState state.BeaconState, privs []bls.SecretKey, valIdx ...uint64) *ethpb.AttesterSlashing { diff --git a/beacon-chain/operations/slashings/service_proposer_test.go b/beacon-chain/operations/slashings/service_proposer_test.go index 540449a7c..58c9d7ba9 100644 --- a/beacon-chain/operations/slashings/service_proposer_test.go +++ b/beacon-chain/operations/slashings/service_proposer_test.go @@ -4,13 +4,13 @@ import ( "context" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func proposerSlashingForValIdx(valIdx types.ValidatorIndex) *ethpb.ProposerSlashing { diff --git a/beacon-chain/operations/slashings/service_test.go b/beacon-chain/operations/slashings/service_test.go index e85beeef6..44294dbf0 100644 --- a/beacon-chain/operations/slashings/service_test.go +++ b/beacon-chain/operations/slashings/service_test.go @@ -3,8 +3,8 @@ package slashings import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings/mock" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) var ( diff --git a/beacon-chain/operations/slashings/types.go b/beacon-chain/operations/slashings/types.go index fa9ef5148..032943c84 100644 --- a/beacon-chain/operations/slashings/types.go +++ b/beacon-chain/operations/slashings/types.go @@ -4,9 +4,9 @@ import ( "context" "sync" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // PoolInserter is capable of inserting new slashing objects into the operations pool. diff --git a/beacon-chain/operations/synccommittee/BUILD.bazel b/beacon-chain/operations/synccommittee/BUILD.bazel index d66b8b005..0f03d023b 100644 --- a/beacon-chain/operations/synccommittee/BUILD.bazel +++ b/beacon-chain/operations/synccommittee/BUILD.bazel @@ -10,7 +10,7 @@ go_library( "metric.go", "pool.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/operations/synccommittee", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/synccommittee", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//consensus-types/primitives:go_default_library", diff --git a/beacon-chain/operations/synccommittee/contribution.go b/beacon-chain/operations/synccommittee/contribution.go index e5e73ecd7..16f3ce6a3 100644 --- a/beacon-chain/operations/synccommittee/contribution.go +++ b/beacon-chain/operations/synccommittee/contribution.go @@ -4,9 +4,9 @@ import ( "strconv" "github.com/pkg/errors" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/queue" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/queue" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // To give two slots tolerance for objects that arrive earlier. diff --git a/beacon-chain/operations/synccommittee/contribution_test.go b/beacon-chain/operations/synccommittee/contribution_test.go index 6689efe0a..a60f6cb52 100644 --- a/beacon-chain/operations/synccommittee/contribution_test.go +++ b/beacon-chain/operations/synccommittee/contribution_test.go @@ -3,8 +3,8 @@ package synccommittee import ( "testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSyncCommitteeContributionCache_Nil(t *testing.T) { diff --git a/beacon-chain/operations/synccommittee/kv.go b/beacon-chain/operations/synccommittee/kv.go index 73ca86a6e..f4cffb99d 100644 --- a/beacon-chain/operations/synccommittee/kv.go +++ b/beacon-chain/operations/synccommittee/kv.go @@ -3,7 +3,7 @@ package synccommittee import ( "sync" - "github.com/prysmaticlabs/prysm/container/queue" + "github.com/prysmaticlabs/prysm/v3/container/queue" ) // Store defines the caches for various sync committee objects diff --git a/beacon-chain/operations/synccommittee/message.go b/beacon-chain/operations/synccommittee/message.go index 4212baeee..96c3facea 100644 --- a/beacon-chain/operations/synccommittee/message.go +++ b/beacon-chain/operations/synccommittee/message.go @@ -2,9 +2,9 @@ package synccommittee import ( "github.com/pkg/errors" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/queue" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/queue" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SaveSyncCommitteeMessage saves a sync committee message in to a priority queue. diff --git a/beacon-chain/operations/synccommittee/message_test.go b/beacon-chain/operations/synccommittee/message_test.go index c892a8ec0..5c7348a4a 100644 --- a/beacon-chain/operations/synccommittee/message_test.go +++ b/beacon-chain/operations/synccommittee/message_test.go @@ -3,8 +3,8 @@ package synccommittee import ( "testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSyncCommitteeSignatureCache_Nil(t *testing.T) { diff --git a/beacon-chain/operations/synccommittee/pool.go b/beacon-chain/operations/synccommittee/pool.go index 594c3f133..3f265b9d0 100644 --- a/beacon-chain/operations/synccommittee/pool.go +++ b/beacon-chain/operations/synccommittee/pool.go @@ -1,8 +1,8 @@ package synccommittee import ( - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) var _ = Pool(&Store{}) diff --git a/beacon-chain/operations/voluntaryexits/BUILD.bazel b/beacon-chain/operations/voluntaryexits/BUILD.bazel index 3e2adc799..b9ed24965 100644 --- a/beacon-chain/operations/voluntaryexits/BUILD.bazel +++ b/beacon-chain/operations/voluntaryexits/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "doc.go", "service.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits", visibility = [ "//beacon-chain:__subpackages__", ], diff --git a/beacon-chain/operations/voluntaryexits/mock/BUILD.bazel b/beacon-chain/operations/voluntaryexits/mock/BUILD.bazel index 3533c0452..1aabd0a86 100644 --- a/beacon-chain/operations/voluntaryexits/mock/BUILD.bazel +++ b/beacon-chain/operations/voluntaryexits/mock/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["mock.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits/mock", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits/mock", visibility = ["//visibility:public"], deps = [ "//beacon-chain/state:go_default_library", diff --git a/beacon-chain/operations/voluntaryexits/mock/mock.go b/beacon-chain/operations/voluntaryexits/mock/mock.go index 1590c839c..f1a98b97f 100644 --- a/beacon-chain/operations/voluntaryexits/mock/mock.go +++ b/beacon-chain/operations/voluntaryexits/mock/mock.go @@ -3,9 +3,9 @@ package mock import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // PoolMock is a fake implementation of PoolManager. diff --git a/beacon-chain/operations/voluntaryexits/service.go b/beacon-chain/operations/voluntaryexits/service.go index 49edcc292..916edfecd 100644 --- a/beacon-chain/operations/voluntaryexits/service.go +++ b/beacon-chain/operations/voluntaryexits/service.go @@ -5,11 +5,11 @@ import ( "sort" "sync" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" ) diff --git a/beacon-chain/operations/voluntaryexits/service_test.go b/beacon-chain/operations/voluntaryexits/service_test.go index 1188a4b5d..07475a7bc 100644 --- a/beacon-chain/operations/voluntaryexits/service_test.go +++ b/beacon-chain/operations/voluntaryexits/service_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/p2p/BUILD.bazel b/beacon-chain/p2p/BUILD.bazel index 7baae4fc7..746e52031 100644 --- a/beacon-chain/p2p/BUILD.bazel +++ b/beacon-chain/p2p/BUILD.bazel @@ -32,7 +32,7 @@ go_library( "utils.go", "watch_peers.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p", visibility = [ "//beacon-chain:__subpackages__", "//testing/endtoend/evaluators:__pkg__", diff --git a/beacon-chain/p2p/addr_factory_test.go b/beacon-chain/p2p/addr_factory_test.go index 3984879d1..002d91633 100644 --- a/beacon-chain/p2p/addr_factory_test.go +++ b/beacon-chain/p2p/addr_factory_test.go @@ -4,8 +4,8 @@ import ( "testing" ma "github.com/multiformats/go-multiaddr" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestRelayAddrs_OnlyFactory(t *testing.T) { diff --git a/beacon-chain/p2p/broadcaster.go b/beacon-chain/p2p/broadcaster.go index d617aa950..a2d739d93 100644 --- a/beacon-chain/p2p/broadcaster.go +++ b/beacon-chain/p2p/broadcaster.go @@ -9,12 +9,12 @@ import ( "github.com/pkg/errors" ssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/p2p/broadcaster_test.go b/beacon-chain/p2p/broadcaster_test.go index 7af31bbe9..484651b4e 100644 --- a/beacon-chain/p2p/broadcaster_test.go +++ b/beacon-chain/p2p/broadcaster_test.go @@ -13,17 +13,17 @@ import ( "github.com/libp2p/go-libp2p-core/host" pubsub "github.com/libp2p/go-libp2p-pubsub" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/consensus-types/wrapper" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - testpb "github.com/prysmaticlabs/prysm/proto/testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + testpb "github.com/prysmaticlabs/prysm/v3/proto/testing" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/p2p/config.go b/beacon-chain/p2p/config.go index 6aa38576f..2c1a6ea53 100644 --- a/beacon-chain/p2p/config.go +++ b/beacon-chain/p2p/config.go @@ -1,8 +1,8 @@ package p2p import ( - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/db" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" ) // Config for the p2p service. These parameters are set from application level flags diff --git a/beacon-chain/p2p/connection_gater_test.go b/beacon-chain/p2p/connection_gater_test.go index 6ab641251..aa1d0458f 100644 --- a/beacon-chain/p2p/connection_gater_test.go +++ b/beacon-chain/p2p/connection_gater_test.go @@ -9,13 +9,13 @@ import ( "github.com/libp2p/go-libp2p" "github.com/libp2p/go-libp2p-core/peer" ma "github.com/multiformats/go-multiaddr" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestPeer_AtMaxLimit(t *testing.T) { diff --git a/beacon-chain/p2p/dial_relay_node_test.go b/beacon-chain/p2p/dial_relay_node_test.go index be42d97ca..f51506f3d 100644 --- a/beacon-chain/p2p/dial_relay_node_test.go +++ b/beacon-chain/p2p/dial_relay_node_test.go @@ -7,8 +7,8 @@ import ( bh "github.com/libp2p/go-libp2p/p2p/host/blank" swarmt "github.com/libp2p/go-libp2p/p2p/net/swarm/testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestMakePeer_InvalidMultiaddress(t *testing.T) { diff --git a/beacon-chain/p2p/discovery.go b/beacon-chain/p2p/discovery.go index d42a1439c..572ab70eb 100644 --- a/beacon-chain/p2p/discovery.go +++ b/beacon-chain/p2p/discovery.go @@ -14,11 +14,11 @@ import ( ma "github.com/multiformats/go-multiaddr" "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/config/params" - ecdsaprysm "github.com/prysmaticlabs/prysm/crypto/ecdsa" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/config/params" + ecdsaprysm "github.com/prysmaticlabs/prysm/v3/crypto/ecdsa" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // Listener defines the discovery V5 network interface that is used diff --git a/beacon-chain/p2p/discovery_test.go b/beacon-chain/p2p/discovery_test.go index 0d1aa85c5..6b40b6f83 100644 --- a/beacon-chain/p2p/discovery_test.go +++ b/beacon-chain/p2p/discovery_test.go @@ -21,22 +21,22 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" "github.com/prysmaticlabs/go-bitfield" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - testp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/wrapper" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - prysmNetwork "github.com/prysmaticlabs/prysm/network" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + testp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + prysmNetwork "github.com/prysmaticlabs/prysm/v3/network" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/p2p/encoder/BUILD.bazel b/beacon-chain/p2p/encoder/BUILD.bazel index a91751ef8..ca9ee1886 100644 --- a/beacon-chain/p2p/encoder/BUILD.bazel +++ b/beacon-chain/p2p/encoder/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "ssz.go", "varint.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder", visibility = [ "//beacon-chain:__subpackages__", ], diff --git a/beacon-chain/p2p/encoder/snappy_test.go b/beacon-chain/p2p/encoder/snappy_test.go index 0ede68ff9..fe152c8e3 100644 --- a/beacon-chain/p2p/encoder/snappy_test.go +++ b/beacon-chain/p2p/encoder/snappy_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestSszNetworkEncoder_BufferedReader(t *testing.T) { diff --git a/beacon-chain/p2p/encoder/ssz.go b/beacon-chain/p2p/encoder/ssz.go index 3a10a5537..cae73161e 100644 --- a/beacon-chain/p2p/encoder/ssz.go +++ b/beacon-chain/p2p/encoder/ssz.go @@ -9,8 +9,8 @@ import ( "github.com/golang/snappy" "github.com/pkg/errors" fastssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/math" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/math" ) var _ NetworkEncoding = (*SszNetworkEncoder)(nil) diff --git a/beacon-chain/p2p/encoder/ssz_test.go b/beacon-chain/p2p/encoder/ssz_test.go index 620e66315..d9f4780a4 100644 --- a/beacon-chain/p2p/encoder/ssz_test.go +++ b/beacon-chain/p2p/encoder/ssz_test.go @@ -9,12 +9,12 @@ import ( "testing" gogo "github.com/gogo/protobuf/proto" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/p2p/encoder/varint_test.go b/beacon-chain/p2p/encoder/varint_test.go index 20f12c602..8331affc3 100644 --- a/beacon-chain/p2p/encoder/varint_test.go +++ b/beacon-chain/p2p/encoder/varint_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/gogo/protobuf/proto" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestReadVarint(t *testing.T) { diff --git a/beacon-chain/p2p/fork.go b/beacon-chain/p2p/fork.go index 67a19f128..077558262 100644 --- a/beacon-chain/p2p/fork.go +++ b/beacon-chain/p2p/fork.go @@ -8,11 +8,11 @@ import ( "github.com/ethereum/go-ethereum/p2p/enode" "github.com/ethereum/go-ethereum/p2p/enr" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/network/forks" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/network/forks" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/p2p/fork_test.go b/beacon-chain/p2p/fork_test.go index ba4d3752e..0676f9db5 100644 --- a/beacon-chain/p2p/fork_test.go +++ b/beacon-chain/p2p/fork_test.go @@ -13,16 +13,16 @@ import ( "github.com/ethereum/go-ethereum/p2p/enode" "github.com/ethereum/go-ethereum/p2p/enr" ma "github.com/multiformats/go-multiaddr" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/network/forks" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/network/forks" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/sirupsen/logrus" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/p2p/fork_watcher.go b/beacon-chain/p2p/fork_watcher.go index da762e869..cbd3c20ad 100644 --- a/beacon-chain/p2p/fork_watcher.go +++ b/beacon-chain/p2p/fork_watcher.go @@ -1,9 +1,9 @@ package p2p import ( - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // A background routine which listens for new and upcoming forks and diff --git a/beacon-chain/p2p/gossip_scoring_params.go b/beacon-chain/p2p/gossip_scoring_params.go index 743c32a29..395333db4 100644 --- a/beacon-chain/p2p/gossip_scoring_params.go +++ b/beacon-chain/p2p/gossip_scoring_params.go @@ -10,9 +10,9 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - coreTime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + coreTime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/config/params" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/p2p/gossip_scoring_params_test.go b/beacon-chain/p2p/gossip_scoring_params_test.go index 9421072a1..6870a7927 100644 --- a/beacon-chain/p2p/gossip_scoring_params_test.go +++ b/beacon-chain/p2p/gossip_scoring_params_test.go @@ -5,12 +5,12 @@ import ( "testing" pubsub "github.com/libp2p/go-libp2p-pubsub" - dbutil "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + dbutil "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestCorrect_ActiveValidatorsCount(t *testing.T) { diff --git a/beacon-chain/p2p/gossip_topic_mappings.go b/beacon-chain/p2p/gossip_topic_mappings.go index 9aba63458..48d2eaae1 100644 --- a/beacon-chain/p2p/gossip_topic_mappings.go +++ b/beacon-chain/p2p/gossip_topic_mappings.go @@ -3,9 +3,9 @@ package p2p import ( "reflect" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/p2p/gossip_topic_mappings_test.go b/beacon-chain/p2p/gossip_topic_mappings_test.go index e15e6b58d..e1671aab6 100644 --- a/beacon-chain/p2p/gossip_topic_mappings_test.go +++ b/beacon-chain/p2p/gossip_topic_mappings_test.go @@ -4,11 +4,11 @@ import ( "reflect" "testing" - "github.com/prysmaticlabs/prysm/config/params" - eth2types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/config/params" + eth2types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestMappingHasNoDuplicates(t *testing.T) { diff --git a/beacon-chain/p2p/handshake.go b/beacon-chain/p2p/handshake.go index 51aee6fb2..02b9652ef 100644 --- a/beacon-chain/p2p/handshake.go +++ b/beacon-chain/p2p/handshake.go @@ -10,9 +10,9 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/p2p/interfaces.go b/beacon-chain/p2p/interfaces.go index 4dfa062a8..da989d09a 100644 --- a/beacon-chain/p2p/interfaces.go +++ b/beacon-chain/p2p/interfaces.go @@ -10,10 +10,10 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" "github.com/multiformats/go-multiaddr" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/p2p/message_id.go b/beacon-chain/p2p/message_id.go index 6e95f6526..95e7b3061 100644 --- a/beacon-chain/p2p/message_id.go +++ b/beacon-chain/p2p/message_id.go @@ -2,13 +2,13 @@ package p2p import ( pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/math" - "github.com/prysmaticlabs/prysm/network/forks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/math" + "github.com/prysmaticlabs/prysm/v3/network/forks" ) // MsgID is a content addressable ID function. diff --git a/beacon-chain/p2p/message_id_test.go b/beacon-chain/p2p/message_id_test.go index 7c06b1ca6..a06557f61 100644 --- a/beacon-chain/p2p/message_id_test.go +++ b/beacon-chain/p2p/message_id_test.go @@ -7,13 +7,13 @@ import ( "github.com/golang/snappy" pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/network/forks" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/network/forks" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestMsgID_HashesCorrectly(t *testing.T) { diff --git a/beacon-chain/p2p/options.go b/beacon-chain/p2p/options.go index d31c1e2d2..d8f093601 100644 --- a/beacon-chain/p2p/options.go +++ b/beacon-chain/p2p/options.go @@ -12,8 +12,8 @@ import ( "github.com/libp2p/go-libp2p/p2p/transport/tcp" ma "github.com/multiformats/go-multiaddr" "github.com/pkg/errors" - ecdsaprysm "github.com/prysmaticlabs/prysm/crypto/ecdsa" - "github.com/prysmaticlabs/prysm/runtime/version" + ecdsaprysm "github.com/prysmaticlabs/prysm/v3/crypto/ecdsa" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // buildOptions for the libp2p host. diff --git a/beacon-chain/p2p/options_test.go b/beacon-chain/p2p/options_test.go index 7d11b4b2b..b1f76d2c5 100644 --- a/beacon-chain/p2p/options_test.go +++ b/beacon-chain/p2p/options_test.go @@ -12,11 +12,11 @@ import ( "github.com/ethereum/go-ethereum/p2p/enr" "github.com/libp2p/go-libp2p" "github.com/libp2p/go-libp2p-core/crypto" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/config/params" - ecdsaprysm "github.com/prysmaticlabs/prysm/crypto/ecdsa" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + ecdsaprysm "github.com/prysmaticlabs/prysm/v3/crypto/ecdsa" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestPrivateKeyLoading(t *testing.T) { diff --git a/beacon-chain/p2p/parameter_test.go b/beacon-chain/p2p/parameter_test.go index fbcf3c947..3203f8f89 100644 --- a/beacon-chain/p2p/parameter_test.go +++ b/beacon-chain/p2p/parameter_test.go @@ -4,8 +4,8 @@ import ( "testing" pubsub "github.com/libp2p/go-libp2p-pubsub" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestOverlayParameters(t *testing.T) { diff --git a/beacon-chain/p2p/peers/BUILD.bazel b/beacon-chain/p2p/peers/BUILD.bazel index 09caf410f..e18f0959f 100644 --- a/beacon-chain/p2p/peers/BUILD.bazel +++ b/beacon-chain/p2p/peers/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "log.go", "status.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/p2p/peers/peerdata:go_default_library", diff --git a/beacon-chain/p2p/peers/peerdata/BUILD.bazel b/beacon-chain/p2p/peers/peerdata/BUILD.bazel index 1cbda5ca7..5ee969837 100644 --- a/beacon-chain/p2p/peers/peerdata/BUILD.bazel +++ b/beacon-chain/p2p/peers/peerdata/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["store.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//proto/prysm/v1alpha1:go_default_library", diff --git a/beacon-chain/p2p/peers/peerdata/store.go b/beacon-chain/p2p/peers/peerdata/store.go index 5347d2a0d..c9605a3ea 100644 --- a/beacon-chain/p2p/peers/peerdata/store.go +++ b/beacon-chain/p2p/peers/peerdata/store.go @@ -10,8 +10,8 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" ma "github.com/multiformats/go-multiaddr" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata" ) var ( diff --git a/beacon-chain/p2p/peers/peerdata/store_test.go b/beacon-chain/p2p/peers/peerdata/store_test.go index 8972bd5cd..686512ba9 100644 --- a/beacon-chain/p2p/peers/peerdata/store_test.go +++ b/beacon-chain/p2p/peers/peerdata/store_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStore_GetSetDelete(t *testing.T) { diff --git a/beacon-chain/p2p/peers/peers_test.go b/beacon-chain/p2p/peers/peers_test.go index 57e45ad8c..3f8280664 100644 --- a/beacon-chain/p2p/peers/peers_test.go +++ b/beacon-chain/p2p/peers/peers_test.go @@ -4,8 +4,8 @@ import ( "io" "testing" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/features" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/p2p/peers/scorers/BUILD.bazel b/beacon-chain/p2p/peers/scorers/BUILD.bazel index f8a4493ff..1d9f45025 100644 --- a/beacon-chain/p2p/peers/scorers/BUILD.bazel +++ b/beacon-chain/p2p/peers/scorers/BUILD.bazel @@ -9,7 +9,7 @@ go_library( "peer_status.go", "service.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/p2p/peers/peerdata:go_default_library", diff --git a/beacon-chain/p2p/peers/scorers/bad_responses.go b/beacon-chain/p2p/peers/scorers/bad_responses.go index 3219d0fae..678ea2350 100644 --- a/beacon-chain/p2p/peers/scorers/bad_responses.go +++ b/beacon-chain/p2p/peers/scorers/bad_responses.go @@ -4,7 +4,7 @@ import ( "time" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" ) var _ Scorer = (*BadResponsesScorer)(nil) diff --git a/beacon-chain/p2p/peers/scorers/bad_responses_test.go b/beacon-chain/p2p/peers/scorers/bad_responses_test.go index 41652144b..139083b4e 100644 --- a/beacon-chain/p2p/peers/scorers/bad_responses_test.go +++ b/beacon-chain/p2p/peers/scorers/bad_responses_test.go @@ -7,11 +7,11 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestScorers_BadResponses_Score(t *testing.T) { diff --git a/beacon-chain/p2p/peers/scorers/block_providers.go b/beacon-chain/p2p/peers/scorers/block_providers.go index 329bbe574..301d7df73 100644 --- a/beacon-chain/p2p/peers/scorers/block_providers.go +++ b/beacon-chain/p2p/peers/scorers/block_providers.go @@ -7,11 +7,11 @@ import ( "time" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/crypto/rand" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" ) var _ Scorer = (*BlockProviderScorer)(nil) diff --git a/beacon-chain/p2p/peers/scorers/block_providers_test.go b/beacon-chain/p2p/peers/scorers/block_providers_test.go index 27ef73ffd..d5fd2ca4b 100644 --- a/beacon-chain/p2p/peers/scorers/block_providers_test.go +++ b/beacon-chain/p2p/peers/scorers/block_providers_test.go @@ -8,13 +8,13 @@ import ( "testing" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/time" ) func TestScorers_BlockProvider_Score(t *testing.T) { diff --git a/beacon-chain/p2p/peers/scorers/gossip_scorer.go b/beacon-chain/p2p/peers/scorers/gossip_scorer.go index 2e7145653..08381dd0a 100644 --- a/beacon-chain/p2p/peers/scorers/gossip_scorer.go +++ b/beacon-chain/p2p/peers/scorers/gossip_scorer.go @@ -2,8 +2,8 @@ package scorers import ( "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - pbrpc "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + pbrpc "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) var _ Scorer = (*GossipScorer)(nil) diff --git a/beacon-chain/p2p/peers/scorers/gossip_scorer_test.go b/beacon-chain/p2p/peers/scorers/gossip_scorer_test.go index 7960c0247..004a00ae4 100644 --- a/beacon-chain/p2p/peers/scorers/gossip_scorer_test.go +++ b/beacon-chain/p2p/peers/scorers/gossip_scorer_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - pbrpc "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + pbrpc "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestScorers_Gossip_Score(t *testing.T) { diff --git a/beacon-chain/p2p/peers/scorers/peer_status.go b/beacon-chain/p2p/peers/scorers/peer_status.go index eba44c050..1a83dcfe9 100644 --- a/beacon-chain/p2p/peers/scorers/peer_status.go +++ b/beacon-chain/p2p/peers/scorers/peer_status.go @@ -5,11 +5,11 @@ import ( "math" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time" ) var _ Scorer = (*PeerStatusScorer)(nil) diff --git a/beacon-chain/p2p/peers/scorers/peer_status_test.go b/beacon-chain/p2p/peers/scorers/peer_status_test.go index 05c8c4feb..0830a4214 100644 --- a/beacon-chain/p2p/peers/scorers/peer_status_test.go +++ b/beacon-chain/p2p/peers/scorers/peer_status_test.go @@ -5,14 +5,14 @@ import ( "testing" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestScorers_PeerStatus_Score(t *testing.T) { diff --git a/beacon-chain/p2p/peers/scorers/scorers_test.go b/beacon-chain/p2p/peers/scorers/scorers_test.go index 5e4dfb4bc..8fda7ab52 100644 --- a/beacon-chain/p2p/peers/scorers/scorers_test.go +++ b/beacon-chain/p2p/peers/scorers/scorers_test.go @@ -5,9 +5,9 @@ import ( "math" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/features" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/p2p/peers/scorers/service.go b/beacon-chain/p2p/peers/scorers/service.go index 174ea8407..c8893fb84 100644 --- a/beacon-chain/p2p/peers/scorers/service.go +++ b/beacon-chain/p2p/peers/scorers/service.go @@ -6,8 +6,8 @@ import ( "time" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - "github.com/prysmaticlabs/prysm/config/features" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + "github.com/prysmaticlabs/prysm/v3/config/features" ) var _ Scorer = (*Service)(nil) diff --git a/beacon-chain/p2p/peers/scorers/service_test.go b/beacon-chain/p2p/peers/scorers/service_test.go index a55ef31de..1d6373237 100644 --- a/beacon-chain/p2p/peers/scorers/service_test.go +++ b/beacon-chain/p2p/peers/scorers/service_test.go @@ -7,10 +7,10 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestScorers_Service_Init(t *testing.T) { diff --git a/beacon-chain/p2p/peers/status.go b/beacon-chain/p2p/peers/status.go index 885af01b9..538ba9bde 100644 --- a/beacon-chain/p2p/peers/status.go +++ b/beacon-chain/p2p/peers/status.go @@ -34,17 +34,17 @@ import ( ma "github.com/multiformats/go-multiaddr" manet "github.com/multiformats/go-multiaddr/net" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/rand" - pmath "github.com/prysmaticlabs/prysm/math" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + pmath "github.com/prysmaticlabs/prysm/v3/math" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) const ( diff --git a/beacon-chain/p2p/peers/status_test.go b/beacon-chain/p2p/peers/status_test.go index 871076bef..3cf5664a4 100644 --- a/beacon-chain/p2p/peers/status_test.go +++ b/beacon-chain/p2p/peers/status_test.go @@ -12,17 +12,17 @@ import ( "github.com/libp2p/go-libp2p-core/peer" ma "github.com/multiformats/go-multiaddr" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/consensus-types/wrapper" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStatus(t *testing.T) { diff --git a/beacon-chain/p2p/pubsub.go b/beacon-chain/p2p/pubsub.go index 0e78d7f33..fd7328bb4 100644 --- a/beacon-chain/p2p/pubsub.go +++ b/beacon-chain/p2p/pubsub.go @@ -9,10 +9,10 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - pbrpc "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + pbrpc "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) const ( diff --git a/beacon-chain/p2p/pubsub_filter.go b/beacon-chain/p2p/pubsub_filter.go index 02b1fab72..2e100d531 100644 --- a/beacon-chain/p2p/pubsub_filter.go +++ b/beacon-chain/p2p/pubsub_filter.go @@ -7,9 +7,9 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/network/forks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/network/forks" ) var _ pubsub.SubscriptionFilter = (*Service)(nil) diff --git a/beacon-chain/p2p/pubsub_filter_test.go b/beacon-chain/p2p/pubsub_filter_test.go index e3163f409..5b4e30e99 100644 --- a/beacon-chain/p2p/pubsub_filter_test.go +++ b/beacon-chain/p2p/pubsub_filter_test.go @@ -9,16 +9,16 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/network/forks" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - prysmTime "github.com/prysmaticlabs/prysm/time" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/network/forks" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" ) func TestService_CanSubscribe(t *testing.T) { diff --git a/beacon-chain/p2p/pubsub_fuzz_test.go b/beacon-chain/p2p/pubsub_fuzz_test.go index a37e18d01..6d9408114 100644 --- a/beacon-chain/p2p/pubsub_fuzz_test.go +++ b/beacon-chain/p2p/pubsub_fuzz_test.go @@ -6,8 +6,8 @@ import ( "fmt" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" ) func FuzzMsgID(f *testing.F) { diff --git a/beacon-chain/p2p/pubsub_test.go b/beacon-chain/p2p/pubsub_test.go index 110753ae6..cc74612cd 100644 --- a/beacon-chain/p2p/pubsub_test.go +++ b/beacon-chain/p2p/pubsub_test.go @@ -8,11 +8,11 @@ import ( "time" "github.com/pkg/errors" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - testp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + testp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestService_PublishToTopicConcurrentMapWrite(t *testing.T) { diff --git a/beacon-chain/p2p/rpc_topic_mappings.go b/beacon-chain/p2p/rpc_topic_mappings.go index 8dfec3790..020a8c2c8 100644 --- a/beacon-chain/p2p/rpc_topic_mappings.go +++ b/beacon-chain/p2p/rpc_topic_mappings.go @@ -4,10 +4,10 @@ import ( "reflect" "github.com/pkg/errors" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SchemaVersionV1 specifies the schema version for our rpc protocol ID. diff --git a/beacon-chain/p2p/rpc_topic_mappings_test.go b/beacon-chain/p2p/rpc_topic_mappings_test.go index a143aacfa..b96be543b 100644 --- a/beacon-chain/p2p/rpc_topic_mappings_test.go +++ b/beacon-chain/p2p/rpc_topic_mappings_test.go @@ -5,13 +5,13 @@ import ( "strings" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - eth2types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + eth2types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestVerifyRPCMappings(t *testing.T) { diff --git a/beacon-chain/p2p/sender.go b/beacon-chain/p2p/sender.go index fad4062a7..97cd8f78a 100644 --- a/beacon-chain/p2p/sender.go +++ b/beacon-chain/p2p/sender.go @@ -9,7 +9,7 @@ import ( "github.com/libp2p/go-libp2p-core/protocol" "github.com/pkg/errors" ssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/monitoring/tracing" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/p2p/sender_test.go b/beacon-chain/p2p/sender_test.go index a8522c218..01c4fe519 100644 --- a/beacon-chain/p2p/sender_test.go +++ b/beacon-chain/p2p/sender_test.go @@ -7,12 +7,12 @@ import ( "time" "github.com/libp2p/go-libp2p-core/network" - testp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + testp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/p2p/service.go b/beacon-chain/p2p/service.go index 7a2aa8eb8..b43610e65 100644 --- a/beacon-chain/p2p/service.go +++ b/beacon-chain/p2p/service.go @@ -22,17 +22,17 @@ import ( "github.com/libp2p/go-libp2p/p2p/protocol/identify" "github.com/multiformats/go-multiaddr" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata" - "github.com/prysmaticlabs/prysm/runtime" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata" + "github.com/prysmaticlabs/prysm/v3/runtime" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/p2p/service_test.go b/beacon-chain/p2p/service_test.go index c932bab63..caf12f26a 100644 --- a/beacon-chain/p2p/service_test.go +++ b/beacon-chain/p2p/service_test.go @@ -15,19 +15,19 @@ import ( "github.com/libp2p/go-libp2p-core/peer" noise "github.com/libp2p/go-libp2p/p2p/security/noise" "github.com/multiformats/go-multiaddr" - "github.com/prysmaticlabs/prysm/async/event" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/network/forks" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/async/event" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/network/forks" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/p2p/subnets.go b/beacon-chain/p2p/subnets.go index 58ad92a21..486d5b407 100644 --- a/beacon-chain/p2p/subnets.go +++ b/beacon-chain/p2p/subnets.go @@ -9,13 +9,13 @@ import ( "github.com/ethereum/go-ethereum/p2p/enr" "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/consensus-types/wrapper" - mathutil "github.com/prysmaticlabs/prysm/math" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper" + mathutil "github.com/prysmaticlabs/prysm/v3/math" "go.opencensus.io/trace" - "github.com/prysmaticlabs/prysm/config/params" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/params" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) var attestationSubnetCount = params.BeaconNetworkConfig().AttestationSubnetCount diff --git a/beacon-chain/p2p/subnets_test.go b/beacon-chain/p2p/subnets_test.go index cc1350c8b..b5cbcd467 100644 --- a/beacon-chain/p2p/subnets_test.go +++ b/beacon-chain/p2p/subnets_test.go @@ -12,17 +12,17 @@ import ( "github.com/ethereum/go-ethereum/p2p/enr" "github.com/libp2p/go-libp2p-core/crypto" "github.com/prysmaticlabs/go-bitfield" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/wrapper" - ecdsaprysm "github.com/prysmaticlabs/prysm/crypto/ecdsa" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper" + ecdsaprysm "github.com/prysmaticlabs/prysm/v3/crypto/ecdsa" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStartDiscV5_DiscoverPeersWithSubnets(t *testing.T) { diff --git a/beacon-chain/p2p/testing/BUILD.bazel b/beacon-chain/p2p/testing/BUILD.bazel index bd360e981..64c1cb236 100644 --- a/beacon-chain/p2p/testing/BUILD.bazel +++ b/beacon-chain/p2p/testing/BUILD.bazel @@ -12,7 +12,7 @@ go_library( "mock_peersprovider.go", "p2p.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing", visibility = [ "//beacon-chain:__subpackages__", ], diff --git a/beacon-chain/p2p/testing/fuzz_p2p.go b/beacon-chain/p2p/testing/fuzz_p2p.go index 11b9d6060..88ed84bef 100644 --- a/beacon-chain/p2p/testing/fuzz_p2p.go +++ b/beacon-chain/p2p/testing/fuzz_p2p.go @@ -10,10 +10,10 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" "github.com/multiformats/go-multiaddr" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/p2p/testing/mock_broadcaster.go b/beacon-chain/p2p/testing/mock_broadcaster.go index fc6b2028a..a9cb87d45 100644 --- a/beacon-chain/p2p/testing/mock_broadcaster.go +++ b/beacon-chain/p2p/testing/mock_broadcaster.go @@ -3,7 +3,7 @@ package testing import ( "context" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/p2p/testing/mock_metadataprovider.go b/beacon-chain/p2p/testing/mock_metadataprovider.go index d9e6910fa..4278e945d 100644 --- a/beacon-chain/p2p/testing/mock_metadataprovider.go +++ b/beacon-chain/p2p/testing/mock_metadataprovider.go @@ -1,7 +1,7 @@ package testing import ( - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata" ) // MockMetadataProvider is a fake implementation of the MetadataProvider interface. diff --git a/beacon-chain/p2p/testing/mock_peersprovider.go b/beacon-chain/p2p/testing/mock_peersprovider.go index 907501473..d1020649c 100644 --- a/beacon-chain/p2p/testing/mock_peersprovider.go +++ b/beacon-chain/p2p/testing/mock_peersprovider.go @@ -10,9 +10,9 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" ma "github.com/multiformats/go-multiaddr" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" log "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/p2p/testing/p2p.go b/beacon-chain/p2p/testing/p2p.go index cadd0675e..2223edd6b 100644 --- a/beacon-chain/p2p/testing/p2p.go +++ b/beacon-chain/p2p/testing/p2p.go @@ -21,11 +21,11 @@ import ( swarmt "github.com/libp2p/go-libp2p/p2p/net/swarm/testing" "github.com/multiformats/go-multiaddr" ssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata" "github.com/sirupsen/logrus" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/p2p/types/BUILD.bazel b/beacon-chain/p2p/types/BUILD.bazel index 53ed2752f..9277d6f8e 100644 --- a/beacon-chain/p2p/types/BUILD.bazel +++ b/beacon-chain/p2p/types/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "rpc_goodbye_codes.go", "types.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types", visibility = [ "//beacon-chain:__subpackages__", "//slasher/rpc:__pkg__", diff --git a/beacon-chain/p2p/types/object_mapping.go b/beacon-chain/p2p/types/object_mapping.go index 44e5149e1..97a07ca5f 100644 --- a/beacon-chain/p2p/types/object_mapping.go +++ b/beacon-chain/p2p/types/object_mapping.go @@ -1,13 +1,13 @@ package types import ( - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/consensus-types/wrapper" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata" ) func init() { diff --git a/beacon-chain/p2p/types/object_mapping_test.go b/beacon-chain/p2p/types/object_mapping_test.go index 0cbe81b6c..500dd2c5b 100644 --- a/beacon-chain/p2p/types/object_mapping_test.go +++ b/beacon-chain/p2p/types/object_mapping_test.go @@ -3,9 +3,9 @@ package types import ( "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestInitializeDataMaps(t *testing.T) { diff --git a/beacon-chain/p2p/types/rpc_goodbye_codes.go b/beacon-chain/p2p/types/rpc_goodbye_codes.go index 76ffe6312..602af491a 100644 --- a/beacon-chain/p2p/types/rpc_goodbye_codes.go +++ b/beacon-chain/p2p/types/rpc_goodbye_codes.go @@ -1,7 +1,7 @@ package types import ( - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // RPCGoodbyeCode represents goodbye code, used in sync package. diff --git a/beacon-chain/p2p/types/types.go b/beacon-chain/p2p/types/types.go index aacaedf5c..bf2e6976c 100644 --- a/beacon-chain/p2p/types/types.go +++ b/beacon-chain/p2p/types/types.go @@ -6,7 +6,7 @@ package types import ( "github.com/pkg/errors" ssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) const rootLength = 32 diff --git a/beacon-chain/p2p/types/types_test.go b/beacon-chain/p2p/types/types_test.go index a768779e4..2429c9b65 100644 --- a/beacon-chain/p2p/types/types_test.go +++ b/beacon-chain/p2p/types/types_test.go @@ -4,10 +4,10 @@ import ( "encoding/hex" "testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconBlockByRootsReq_Limit(t *testing.T) { diff --git a/beacon-chain/p2p/utils.go b/beacon-chain/p2p/utils.go index db327b75e..91ed9ff72 100644 --- a/beacon-chain/p2p/utils.go +++ b/beacon-chain/p2p/utils.go @@ -16,12 +16,12 @@ import ( "github.com/libp2p/go-libp2p-core/crypto" "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/consensus-types/wrapper" - ecdsaprysm "github.com/prysmaticlabs/prysm/crypto/ecdsa" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/network" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata" + "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper" + ecdsaprysm "github.com/prysmaticlabs/prysm/v3/crypto/ecdsa" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/network" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata" "github.com/sirupsen/logrus" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/p2p/utils_test.go b/beacon-chain/p2p/utils_test.go index a77386dc9..a7abf3bfe 100644 --- a/beacon-chain/p2p/utils_test.go +++ b/beacon-chain/p2p/utils_test.go @@ -6,9 +6,9 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/rpc/BUILD.bazel b/beacon-chain/rpc/BUILD.bazel index 39a73b137..b0b296c60 100644 --- a/beacon-chain/rpc/BUILD.bazel +++ b/beacon-chain/rpc/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "log.go", "service.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/blockchain:go_default_library", diff --git a/beacon-chain/rpc/apimiddleware/BUILD.bazel b/beacon-chain/rpc/apimiddleware/BUILD.bazel index fefe5f2c8..2569d3b16 100644 --- a/beacon-chain/rpc/apimiddleware/BUILD.bazel +++ b/beacon-chain/rpc/apimiddleware/BUILD.bazel @@ -9,7 +9,7 @@ go_library( "structs.go", "structs_marshalling.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/apimiddleware", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/apimiddleware", visibility = ["//visibility:public"], deps = [ "//api/gateway/apimiddleware:go_default_library", diff --git a/beacon-chain/rpc/apimiddleware/custom_handlers.go b/beacon-chain/rpc/apimiddleware/custom_handlers.go index c246f334a..05d87cf9c 100644 --- a/beacon-chain/rpc/apimiddleware/custom_handlers.go +++ b/beacon-chain/rpc/apimiddleware/custom_handlers.go @@ -11,9 +11,9 @@ import ( "strconv" "strings" - "github.com/prysmaticlabs/prysm/api/gateway/apimiddleware" - "github.com/prysmaticlabs/prysm/api/grpc" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/events" + "github.com/prysmaticlabs/prysm/v3/api/gateway/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/api/grpc" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/events" "github.com/r3labs/sse" ) diff --git a/beacon-chain/rpc/apimiddleware/custom_handlers_test.go b/beacon-chain/rpc/apimiddleware/custom_handlers_test.go index 35b8e36f0..f8524fb62 100644 --- a/beacon-chain/rpc/apimiddleware/custom_handlers_test.go +++ b/beacon-chain/rpc/apimiddleware/custom_handlers_test.go @@ -11,11 +11,11 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/api/gateway/apimiddleware" - "github.com/prysmaticlabs/prysm/api/grpc" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/events" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/api/gateway/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/api/grpc" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/events" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/r3labs/sse" ) diff --git a/beacon-chain/rpc/apimiddleware/custom_hooks.go b/beacon-chain/rpc/apimiddleware/custom_hooks.go index 38bfb7456..a3d4f80f6 100644 --- a/beacon-chain/rpc/apimiddleware/custom_hooks.go +++ b/beacon-chain/rpc/apimiddleware/custom_hooks.go @@ -11,11 +11,11 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/api/gateway/apimiddleware" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/api/gateway/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // https://ethereum.github.io/beacon-apis/#/Validator/prepareBeaconProposer expects posting a top-level array. diff --git a/beacon-chain/rpc/apimiddleware/custom_hooks_test.go b/beacon-chain/rpc/apimiddleware/custom_hooks_test.go index 44436833a..328449931 100644 --- a/beacon-chain/rpc/apimiddleware/custom_hooks_test.go +++ b/beacon-chain/rpc/apimiddleware/custom_hooks_test.go @@ -11,12 +11,12 @@ import ( "testing" "github.com/gogo/protobuf/types" - "github.com/prysmaticlabs/prysm/api/gateway/apimiddleware" - "github.com/prysmaticlabs/prysm/config/params" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/api/gateway/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestWrapAttestationArray(t *testing.T) { diff --git a/beacon-chain/rpc/apimiddleware/endpoint_factory.go b/beacon-chain/rpc/apimiddleware/endpoint_factory.go index 7f3d34758..7019006ab 100644 --- a/beacon-chain/rpc/apimiddleware/endpoint_factory.go +++ b/beacon-chain/rpc/apimiddleware/endpoint_factory.go @@ -2,7 +2,7 @@ package apimiddleware import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/api/gateway/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/api/gateway/apimiddleware" ) // BeaconEndpointFactory creates endpoints used for running beacon chain API calls through the API Middleware. diff --git a/beacon-chain/rpc/apimiddleware/structs.go b/beacon-chain/rpc/apimiddleware/structs.go index 8a26df26b..11def8b9c 100644 --- a/beacon-chain/rpc/apimiddleware/structs.go +++ b/beacon-chain/rpc/apimiddleware/structs.go @@ -3,9 +3,9 @@ package apimiddleware import ( "strings" - "github.com/prysmaticlabs/prysm/api/gateway/apimiddleware" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/helpers" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" + "github.com/prysmaticlabs/prysm/v3/api/gateway/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/helpers" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" ) //---------------- diff --git a/beacon-chain/rpc/apimiddleware/structs_marshalling_test.go b/beacon-chain/rpc/apimiddleware/structs_marshalling_test.go index 1587508c9..250fc0cc4 100644 --- a/beacon-chain/rpc/apimiddleware/structs_marshalling_test.go +++ b/beacon-chain/rpc/apimiddleware/structs_marshalling_test.go @@ -4,8 +4,8 @@ import ( "encoding/base64" "testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestUnmarshalEpochParticipation(t *testing.T) { diff --git a/beacon-chain/rpc/eth/beacon/BUILD.bazel b/beacon-chain/rpc/eth/beacon/BUILD.bazel index 1ec65b552..45e905b16 100644 --- a/beacon-chain/rpc/eth/beacon/BUILD.bazel +++ b/beacon-chain/rpc/eth/beacon/BUILD.bazel @@ -12,7 +12,7 @@ go_library( "sync_committee.go", "validator.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/beacon", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/beacon", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//api/grpc:go_default_library", diff --git a/beacon-chain/rpc/eth/beacon/blocks.go b/beacon-chain/rpc/eth/beacon/blocks.go index e49df366b..81fdcf24b 100644 --- a/beacon-chain/rpc/eth/beacon/blocks.go +++ b/beacon-chain/rpc/eth/beacon/blocks.go @@ -7,23 +7,23 @@ import ( "github.com/golang/protobuf/ptypes/empty" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/db/filters" - rpchelpers "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/helpers" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz/detect" - "github.com/prysmaticlabs/prysm/network/forks" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - "github.com/prysmaticlabs/prysm/proto/migration" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters" + rpchelpers "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/helpers" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz/detect" + "github.com/prysmaticlabs/prysm/v3/network/forks" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + "github.com/prysmaticlabs/prysm/v3/proto/migration" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" diff --git a/beacon-chain/rpc/eth/beacon/blocks_test.go b/beacon-chain/rpc/eth/beacon/blocks_test.go index 94824b7fa..904dc0edc 100644 --- a/beacon-chain/rpc/eth/beacon/blocks_test.go +++ b/beacon-chain/rpc/eth/beacon/blocks_test.go @@ -6,25 +6,25 @@ import ( "reflect" "testing" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - executionTest "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - "github.com/prysmaticlabs/prysm/proto/migration" - ethpbalpha "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + executionTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + "github.com/prysmaticlabs/prysm/v3/proto/migration" + ethpbalpha "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/grpc/metadata" ) diff --git a/beacon-chain/rpc/eth/beacon/config.go b/beacon-chain/rpc/eth/beacon/config.go index 1fc033894..cb994d4dd 100644 --- a/beacon-chain/rpc/eth/beacon/config.go +++ b/beacon-chain/rpc/eth/beacon/config.go @@ -8,9 +8,9 @@ import ( "strings" "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/network/forks" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/network/forks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" "go.opencensus.io/trace" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/beacon-chain/rpc/eth/beacon/config_test.go b/beacon-chain/rpc/eth/beacon/config_test.go index 8db30833d..a8c161f73 100644 --- a/beacon-chain/rpc/eth/beacon/config_test.go +++ b/beacon-chain/rpc/eth/beacon/config_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/ethereum/go-ethereum/common" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/beacon-chain/rpc/eth/beacon/init_test.go b/beacon-chain/rpc/eth/beacon/init_test.go index cf42ec83b..774fa6d05 100644 --- a/beacon-chain/rpc/eth/beacon/init_test.go +++ b/beacon-chain/rpc/eth/beacon/init_test.go @@ -1,7 +1,7 @@ package beacon import ( - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func init() { diff --git a/beacon-chain/rpc/eth/beacon/pool.go b/beacon-chain/rpc/eth/beacon/pool.go index dadd61e1d..1e9f9ab22 100644 --- a/beacon-chain/rpc/eth/beacon/pool.go +++ b/beacon-chain/rpc/eth/beacon/pool.go @@ -3,18 +3,18 @@ package beacon import ( "context" - "github.com/prysmaticlabs/prysm/api/grpc" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - corehelpers "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/helpers" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/proto/migration" - ethpbalpha "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/api/grpc" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + corehelpers "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/helpers" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/proto/migration" + ethpbalpha "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/beacon-chain/rpc/eth/beacon/pool_test.go b/beacon-chain/rpc/eth/beacon/pool_test.go index 89f62f659..e0248f1ab 100644 --- a/beacon-chain/rpc/eth/beacon/pool_test.go +++ b/beacon-chain/rpc/eth/beacon/pool_test.go @@ -8,24 +8,24 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/prysmaticlabs/go-bitfield" - grpcutil "github.com/prysmaticlabs/prysm/api/grpc" - blockchainmock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - slashingsmock "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings/mock" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits/mock" - p2pMock "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/config/params" - eth2types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/proto/migration" - ethpbv1alpha1 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + grpcutil "github.com/prysmaticlabs/prysm/v3/api/grpc" + blockchainmock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + slashingsmock "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings/mock" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits/mock" + p2pMock "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + eth2types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/proto/migration" + ethpbv1alpha1 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/beacon-chain/rpc/eth/beacon/server.go b/beacon-chain/rpc/eth/beacon/server.go index aac76c329..2d94d631c 100644 --- a/beacon-chain/rpc/eth/beacon/server.go +++ b/beacon-chain/rpc/eth/beacon/server.go @@ -4,19 +4,19 @@ package beacon import ( - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - v1alpha1validator "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/validator" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/statefetcher" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + v1alpha1validator "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/validator" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/statefetcher" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" ) // Server defines a server implementation of the gRPC Beacon Chain service, diff --git a/beacon-chain/rpc/eth/beacon/server_test.go b/beacon-chain/rpc/eth/beacon/server_test.go index da23a893f..eb36b20c7 100644 --- a/beacon-chain/rpc/eth/beacon/server_test.go +++ b/beacon-chain/rpc/eth/beacon/server_test.go @@ -1,5 +1,5 @@ package beacon -import ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" +import ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" var _ ethpbservice.BeaconChainServer = (*Server)(nil) diff --git a/beacon-chain/rpc/eth/beacon/state.go b/beacon-chain/rpc/eth/beacon/state.go index 4ac4b9e06..44c16ee7c 100644 --- a/beacon-chain/rpc/eth/beacon/state.go +++ b/beacon-chain/rpc/eth/beacon/state.go @@ -5,14 +5,14 @@ import ( "context" "strconv" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/statefetcher" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/statefetcher" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/beacon-chain/rpc/eth/beacon/state_test.go b/beacon-chain/rpc/eth/beacon/state_test.go index d20f3f34d..d749b524c 100644 --- a/beacon-chain/rpc/eth/beacon/state_test.go +++ b/beacon-chain/rpc/eth/beacon/state_test.go @@ -5,16 +5,16 @@ import ( "testing" "time" - chainMock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/testutil" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - eth "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + chainMock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/testutil" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + eth "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/beacon-chain/rpc/eth/beacon/sync_committee.go b/beacon-chain/rpc/eth/beacon/sync_committee.go index 39f3c3d72..b82e9032a 100644 --- a/beacon-chain/rpc/eth/beacon/sync_committee.go +++ b/beacon-chain/rpc/eth/beacon/sync_committee.go @@ -6,16 +6,16 @@ import ( "github.com/golang/protobuf/ptypes/empty" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/api/grpc" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - ethpbalpha "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/api/grpc" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + ethpbalpha "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/beacon-chain/rpc/eth/beacon/sync_committee_test.go b/beacon-chain/rpc/eth/beacon/sync_committee_test.go index eacedea0c..c1cbb9d63 100644 --- a/beacon-chain/rpc/eth/beacon/sync_committee_test.go +++ b/beacon-chain/rpc/eth/beacon/sync_committee_test.go @@ -9,22 +9,22 @@ import ( "time" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - grpcutil "github.com/prysmaticlabs/prysm/api/grpc" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/synccommittee" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/validator" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/testutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - ethpbalpha "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + grpcutil "github.com/prysmaticlabs/prysm/v3/api/grpc" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/synccommittee" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/validator" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/testutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + ethpbalpha "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" bytesutil2 "github.com/wealdtech/go-bytesutil" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/beacon-chain/rpc/eth/beacon/validator.go b/beacon-chain/rpc/eth/beacon/validator.go index f6e5f2e4b..55554dbeb 100644 --- a/beacon-chain/rpc/eth/beacon/validator.go +++ b/beacon-chain/rpc/eth/beacon/validator.go @@ -5,16 +5,16 @@ import ( "strconv" "github.com/pkg/errors" - corehelpers "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/proto/migration" - "github.com/prysmaticlabs/prysm/time/slots" + corehelpers "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/proto/migration" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/beacon-chain/rpc/eth/beacon/validator_test.go b/beacon-chain/rpc/eth/beacon/validator_test.go index 0a03762f0..7a1a8c80b 100644 --- a/beacon-chain/rpc/eth/beacon/validator_test.go +++ b/beacon-chain/rpc/eth/beacon/validator_test.go @@ -6,22 +6,22 @@ import ( "strings" "testing" - chainMock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - rpchelpers "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/statefetcher" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/testutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/proto/migration" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + chainMock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + rpchelpers "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/statefetcher" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/testutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/proto/migration" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestGetValidator(t *testing.T) { diff --git a/beacon-chain/rpc/eth/debug/BUILD.bazel b/beacon-chain/rpc/eth/debug/BUILD.bazel index 45f69c1f1..bf2512465 100644 --- a/beacon-chain/rpc/eth/debug/BUILD.bazel +++ b/beacon-chain/rpc/eth/debug/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "debug.go", "server.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/debug", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/debug", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/blockchain:go_default_library", diff --git a/beacon-chain/rpc/eth/debug/debug.go b/beacon-chain/rpc/eth/debug/debug.go index 68b4d70ca..93e9e4b1f 100644 --- a/beacon-chain/rpc/eth/debug/debug.go +++ b/beacon-chain/rpc/eth/debug/debug.go @@ -3,11 +3,11 @@ package debug import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/helpers" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - "github.com/prysmaticlabs/prysm/proto/migration" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/helpers" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + "github.com/prysmaticlabs/prysm/v3/proto/migration" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "go.opencensus.io/trace" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/beacon-chain/rpc/eth/debug/debug_test.go b/beacon-chain/rpc/eth/debug/debug_test.go index 140bbf74f..298d18268 100644 --- a/beacon-chain/rpc/eth/debug/debug_test.go +++ b/beacon-chain/rpc/eth/debug/debug_test.go @@ -4,16 +4,16 @@ import ( "context" "testing" - blockchainmock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/testutil" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + blockchainmock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/testutil" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/beacon-chain/rpc/eth/debug/server.go b/beacon-chain/rpc/eth/debug/server.go index 19e46f098..52bbffe22 100644 --- a/beacon-chain/rpc/eth/debug/server.go +++ b/beacon-chain/rpc/eth/debug/server.go @@ -4,9 +4,9 @@ package debug import ( - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/statefetcher" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/statefetcher" ) // Server defines a server implementation of the gRPC Beacon Chain service, diff --git a/beacon-chain/rpc/eth/events/BUILD.bazel b/beacon-chain/rpc/eth/events/BUILD.bazel index 69311445b..4bfea5450 100644 --- a/beacon-chain/rpc/eth/events/BUILD.bazel +++ b/beacon-chain/rpc/eth/events/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "events.go", "server.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/events", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/events", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/core/feed:go_default_library", diff --git a/beacon-chain/rpc/eth/events/events.go b/beacon-chain/rpc/eth/events/events.go index 83e861fb7..61dd10e9c 100644 --- a/beacon-chain/rpc/eth/events/events.go +++ b/beacon-chain/rpc/eth/events/events.go @@ -5,13 +5,13 @@ import ( gwpb "github.com/grpc-ecosystem/grpc-gateway/v2/proto/gateway" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/proto/migration" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/proto/migration" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" diff --git a/beacon-chain/rpc/eth/events/events_test.go b/beacon-chain/rpc/eth/events/events_test.go index 02f255b6e..770edd19c 100644 --- a/beacon-chain/rpc/eth/events/events_test.go +++ b/beacon-chain/rpc/eth/events/events_test.go @@ -7,20 +7,20 @@ import ( "github.com/golang/mock/gomock" "github.com/grpc-ecosystem/grpc-gateway/v2/proto/gateway" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/async/event" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/proto/migration" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/async/event" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/proto/migration" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/types/known/anypb" ) diff --git a/beacon-chain/rpc/eth/events/server.go b/beacon-chain/rpc/eth/events/server.go index 9f95b6fa0..f58793679 100644 --- a/beacon-chain/rpc/eth/events/server.go +++ b/beacon-chain/rpc/eth/events/server.go @@ -6,9 +6,9 @@ package events import ( "context" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - opfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + opfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" ) // Server defines a server implementation of the gRPC events service, diff --git a/beacon-chain/rpc/eth/helpers/BUILD.bazel b/beacon-chain/rpc/eth/helpers/BUILD.bazel index e40350e45..01c0ea9dd 100644 --- a/beacon-chain/rpc/eth/helpers/BUILD.bazel +++ b/beacon-chain/rpc/eth/helpers/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "sync.go", "validator_status.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/helpers", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/helpers", visibility = ["//visibility:public"], deps = [ "//api/grpc:go_default_library", diff --git a/beacon-chain/rpc/eth/helpers/error_handling.go b/beacon-chain/rpc/eth/helpers/error_handling.go index c965b33c4..9915d3c94 100644 --- a/beacon-chain/rpc/eth/helpers/error_handling.go +++ b/beacon-chain/rpc/eth/helpers/error_handling.go @@ -3,8 +3,8 @@ package helpers import ( "errors" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/statefetcher" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/statefetcher" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/eth/helpers/sync.go b/beacon-chain/rpc/eth/helpers/sync.go index ee6b461a0..54f679776 100644 --- a/beacon-chain/rpc/eth/helpers/sync.go +++ b/beacon-chain/rpc/eth/helpers/sync.go @@ -6,11 +6,11 @@ import ( "strconv" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/api/grpc" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/sync" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/api/grpc" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/config/params" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/eth/helpers/sync_test.go b/beacon-chain/rpc/eth/helpers/sync_test.go index 7efbbc498..b0da86156 100644 --- a/beacon-chain/rpc/eth/helpers/sync_test.go +++ b/beacon-chain/rpc/eth/helpers/sync_test.go @@ -6,13 +6,13 @@ import ( "testing" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - grpcutil "github.com/prysmaticlabs/prysm/api/grpc" - chainmock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - syncmock "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + grpcutil "github.com/prysmaticlabs/prysm/v3/api/grpc" + chainmock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + syncmock "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/grpc" ) diff --git a/beacon-chain/rpc/eth/helpers/validator_status.go b/beacon-chain/rpc/eth/helpers/validator_status.go index 0a01eaff5..fdd7bec21 100644 --- a/beacon-chain/rpc/eth/helpers/validator_status.go +++ b/beacon-chain/rpc/eth/helpers/validator_status.go @@ -2,10 +2,10 @@ package helpers import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" ) // ValidatorStatus returns a validator's status at the given epoch. diff --git a/beacon-chain/rpc/eth/helpers/validator_status_test.go b/beacon-chain/rpc/eth/helpers/validator_status_test.go index edd1b93ad..340278784 100644 --- a/beacon-chain/rpc/eth/helpers/validator_status_test.go +++ b/beacon-chain/rpc/eth/helpers/validator_status_test.go @@ -4,13 +4,13 @@ import ( "strconv" "testing" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/proto/migration" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/proto/migration" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func Test_ValidatorStatus(t *testing.T) { diff --git a/beacon-chain/rpc/eth/node/BUILD.bazel b/beacon-chain/rpc/eth/node/BUILD.bazel index 8e5febe1c..4ce93828a 100644 --- a/beacon-chain/rpc/eth/node/BUILD.bazel +++ b/beacon-chain/rpc/eth/node/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "node.go", "server.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/node", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/node", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//api/grpc:go_default_library", diff --git a/beacon-chain/rpc/eth/node/node.go b/beacon-chain/rpc/eth/node/node.go index 7e70cea80..43a10cd0f 100644 --- a/beacon-chain/rpc/eth/node/node.go +++ b/beacon-chain/rpc/eth/node/node.go @@ -10,14 +10,14 @@ import ( "github.com/libp2p/go-libp2p-core/peer" "github.com/pkg/errors" - grpcutil "github.com/prysmaticlabs/prysm/api/grpc" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/proto/migration" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + grpcutil "github.com/prysmaticlabs/prysm/v3/api/grpc" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/peerdata" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/proto/migration" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "go.opencensus.io/trace" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/beacon-chain/rpc/eth/node/node_test.go b/beacon-chain/rpc/eth/node/node_test.go index c04bf0482..ae9776f45 100644 --- a/beacon-chain/rpc/eth/node/node_test.go +++ b/beacon-chain/rpc/eth/node/node_test.go @@ -17,20 +17,20 @@ import ( libp2ptest "github.com/libp2p/go-libp2p-peerstore/test" ma "github.com/multiformats/go-multiaddr" "github.com/prysmaticlabs/go-bitfield" - grpcutil "github.com/prysmaticlabs/prysm/api/grpc" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - syncmock "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/consensus-types/wrapper" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + grpcutil "github.com/prysmaticlabs/prysm/v3/api/grpc" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + syncmock "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/beacon-chain/rpc/eth/node/server.go b/beacon-chain/rpc/eth/node/server.go index a8d546aab..e333c3366 100644 --- a/beacon-chain/rpc/eth/node/server.go +++ b/beacon-chain/rpc/eth/node/server.go @@ -4,10 +4,10 @@ package node import ( - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" "google.golang.org/grpc" ) diff --git a/beacon-chain/rpc/eth/node/server_test.go b/beacon-chain/rpc/eth/node/server_test.go index ae96e9ac7..a5e96d498 100644 --- a/beacon-chain/rpc/eth/node/server_test.go +++ b/beacon-chain/rpc/eth/node/server_test.go @@ -1,7 +1,7 @@ package node import ( - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" ) var _ ethpbservice.BeaconNodeServer = (*Server)(nil) diff --git a/beacon-chain/rpc/eth/validator/BUILD.bazel b/beacon-chain/rpc/eth/validator/BUILD.bazel index 99091535b..824691f84 100644 --- a/beacon-chain/rpc/eth/validator/BUILD.bazel +++ b/beacon-chain/rpc/eth/validator/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "server.go", "validator.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/validator", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/validator", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/blockchain:go_default_library", diff --git a/beacon-chain/rpc/eth/validator/server.go b/beacon-chain/rpc/eth/validator/server.go index 40c7f2323..280fdc9d9 100644 --- a/beacon-chain/rpc/eth/validator/server.go +++ b/beacon-chain/rpc/eth/validator/server.go @@ -1,13 +1,13 @@ package validator import ( - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/synccommittee" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - v1alpha1validator "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/validator" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/statefetcher" - "github.com/prysmaticlabs/prysm/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/synccommittee" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + v1alpha1validator "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/validator" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/statefetcher" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" ) // Server defines a server implementation of the gRPC Validator service, diff --git a/beacon-chain/rpc/eth/validator/validator.go b/beacon-chain/rpc/eth/validator/validator.go index 51f195601..da4f22f23 100644 --- a/beacon-chain/rpc/eth/validator/validator.go +++ b/beacon-chain/rpc/eth/validator/validator.go @@ -12,21 +12,21 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/golang/protobuf/ptypes/empty" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - rpchelpers "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - statev1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - "github.com/prysmaticlabs/prysm/proto/migration" - ethpbalpha "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + rpchelpers "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + statev1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + "github.com/prysmaticlabs/prysm/v3/proto/migration" + ethpbalpha "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" log "github.com/sirupsen/logrus" "go.opencensus.io/trace" "google.golang.org/grpc/codes" diff --git a/beacon-chain/rpc/eth/validator/validator_test.go b/beacon-chain/rpc/eth/validator/validator_test.go index 2fcfbe14d..8f1567437 100644 --- a/beacon-chain/rpc/eth/validator/validator_test.go +++ b/beacon-chain/rpc/eth/validator/validator_test.go @@ -9,40 +9,40 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/prysmaticlabs/go-bitfield" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - coreTime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - dbutil "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations/mock" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/synccommittee" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - p2pmock "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - p2pType "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - v1alpha1validator "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/validator" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/testutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - "github.com/prysmaticlabs/prysm/proto/migration" - ethpbalpha "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + coreTime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + dbutil "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations/mock" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/synccommittee" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + p2pmock "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + p2pType "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + v1alpha1validator "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/validator" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/testutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + "github.com/prysmaticlabs/prysm/v3/proto/migration" + ethpbalpha "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/BUILD.bazel b/beacon-chain/rpc/prysm/v1alpha1/beacon/BUILD.bazel index 969f26fb5..97a0d64fc 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/BUILD.bazel +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/BUILD.bazel @@ -14,7 +14,7 @@ go_library( "validators.go", "validators_stream.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/beacon", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/beacon", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//api/pagination:go_default_library", diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/assignments.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/assignments.go index 22e95c8c4..a4574e977 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/assignments.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/assignments.go @@ -5,13 +5,13 @@ import ( "fmt" "strconv" - "github.com/prysmaticlabs/prysm/api/pagination" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/cmd" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/api/pagination" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/cmd" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/assignments_test.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/assignments_test.go index 5d367a429..ae59c4458 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/assignments_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/assignments_test.go @@ -7,19 +7,19 @@ import ( "strconv" "testing" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - mockstategen "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen/mock" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + mockstategen "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen/mock" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/attestations.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/attestations.go index e08dce07a..0ee877999 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/attestations.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/attestations.go @@ -6,19 +6,19 @@ import ( "strconv" "strings" - "github.com/prysmaticlabs/prysm/api/pagination" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/db/filters" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - attaggregation "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/attestations" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/api/pagination" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + attaggregation "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/attestations" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/emptypb" diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/attestations_test.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/attestations_test.go index 7b7d874de..591f84585 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/attestations_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/attestations_test.go @@ -10,30 +10,30 @@ import ( "github.com/golang/mock/gomock" "github.com/prysmaticlabs/go-bitfield" - chainMock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/cmd" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - attaggregation "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/attestations" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + chainMock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/cmd" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + attaggregation "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/attestations" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/beacon_test.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/beacon_test.go index c3b7397cf..5c432b742 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/beacon_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/beacon_test.go @@ -3,8 +3,8 @@ package beacon import ( "testing" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func TestMain(m *testing.M) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/blocks.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/blocks.go index 8576e1f04..d65e86d30 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/blocks.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/blocks.go @@ -5,21 +5,21 @@ import ( "strconv" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/api/pagination" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/db/filters" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/api/pagination" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/emptypb" diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/blocks_test.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/blocks_test.go index 95fe76c03..8eae2f625 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/blocks_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/blocks_test.go @@ -7,26 +7,26 @@ import ( "testing" "github.com/golang/mock/gomock" - chainMock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + chainMock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/committees.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/committees.go index 4d1cfb3df..ea3f58406 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/committees.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/committees.go @@ -4,13 +4,13 @@ import ( "context" "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/committees_test.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/committees_test.go index 10659f5bd..f53821ad2 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/committees_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/committees_test.go @@ -7,22 +7,22 @@ import ( "testing" "time" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - mockstategen "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen/mock" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - blocktest "github.com/prysmaticlabs/prysm/consensus-types/blocks/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + mockstategen "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen/mock" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + blocktest "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/config.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/config.go index 703baaedb..59ed3945f 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/config.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/config.go @@ -5,8 +5,8 @@ import ( "fmt" "reflect" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/config_test.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/config_test.go index 51c8712fa..8a81f3b96 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/config_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/config_test.go @@ -6,9 +6,9 @@ import ( "reflect" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/init_test.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/init_test.go index cf42ec83b..774fa6d05 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/init_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/init_test.go @@ -1,7 +1,7 @@ package beacon import ( - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func init() { diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/server.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/server.go index 8dbba8aa4..9c5522341 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/server.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/server.go @@ -7,19 +7,19 @@ import ( "context" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/beacon-chain/sync" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Server defines a server implementation of the gRPC Beacon Chain service, diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/slashings.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/slashings.go index d947ecb5f..c69d85aae 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/slashings.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/slashings.go @@ -3,10 +3,10 @@ package beacon import ( "context" - "github.com/prysmaticlabs/prysm/config/features" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/features" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/slashings_test.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/slashings_test.go index 55b764531..6a41c5cf5 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/slashings_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/slashings_test.go @@ -4,17 +4,17 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/config/features" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/config/features" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestServer_SubmitProposerSlashing(t *testing.T) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/validators.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/validators.go index 031d28e81..343287741 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/validators.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/validators.go @@ -6,21 +6,21 @@ import ( "sort" "strconv" - "github.com/prysmaticlabs/prysm/api/pagination" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - coreTime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/api/pagination" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + coreTime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/emptypb" diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/validators_stream.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/validators_stream.go index 99de4a3cf..b994dce81 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/validators_stream.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/validators_stream.go @@ -13,21 +13,21 @@ import ( "github.com/patrickmn/go-cache" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - coreTime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + coreTime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/validators_stream_test.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/validators_stream_test.go index 5b6e417b0..9174db7f3 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/validators_stream_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/validators_stream_test.go @@ -4,12 +4,12 @@ import ( "sync" "testing" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestInfostream_EpochToTimestamp(t *testing.T) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/beacon/validators_test.go b/beacon-chain/rpc/prysm/v1alpha1/beacon/validators_test.go index 337461f9a..9f96f22dc 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/beacon/validators_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/beacon/validators_test.go @@ -10,33 +10,33 @@ import ( "time" "github.com/prysmaticlabs/go-bitfield" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - coreTime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - mockstategen "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen/mock" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - "github.com/prysmaticlabs/prysm/cmd" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - blocktest "github.com/prysmaticlabs/prysm/consensus-types/blocks/testing" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + coreTime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + mockstategen "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen/mock" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + "github.com/prysmaticlabs/prysm/v3/cmd" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + blocktest "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks/testing" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/debug/BUILD.bazel b/beacon-chain/rpc/prysm/v1alpha1/debug/BUILD.bazel index 155266188..dbb30de25 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/debug/BUILD.bazel +++ b/beacon-chain/rpc/prysm/v1alpha1/debug/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "server.go", "state.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/debug", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/debug", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/blockchain:go_default_library", diff --git a/beacon-chain/rpc/prysm/v1alpha1/debug/block.go b/beacon-chain/rpc/prysm/v1alpha1/debug/block.go index 01900a160..098b73ffa 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/debug/block.go +++ b/beacon-chain/rpc/prysm/v1alpha1/debug/block.go @@ -5,14 +5,14 @@ import ( "fmt" "math" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/db/filters" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - pbrpc "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + pbrpc "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/debug/block_test.go b/beacon-chain/rpc/prysm/v1alpha1/debug/block_test.go index 21651cdc1..f41ceea36 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/debug/block_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/debug/block_test.go @@ -6,16 +6,16 @@ import ( "time" "github.com/prysmaticlabs/go-bitfield" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestServer_GetBlock(t *testing.T) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/debug/p2p.go b/beacon-chain/rpc/prysm/v1alpha1/debug/p2p.go index ed43922b1..3ffbd1582 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/debug/p2p.go +++ b/beacon-chain/rpc/prysm/v1alpha1/debug/p2p.go @@ -6,8 +6,8 @@ import ( "github.com/golang/protobuf/ptypes/empty" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/debug/p2p_test.go b/beacon-chain/rpc/prysm/v1alpha1/debug/p2p_test.go index a6e8be49d..fc06d324a 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/debug/p2p_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/debug/p2p_test.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/golang/protobuf/ptypes/empty" - mockP2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + mockP2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestDebugServer_GetPeer(t *testing.T) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/debug/server.go b/beacon-chain/rpc/prysm/v1alpha1/debug/server.go index 5ba4cf396..a5c25c88d 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/debug/server.go +++ b/beacon-chain/rpc/prysm/v1alpha1/debug/server.go @@ -10,11 +10,11 @@ import ( gethlog "github.com/ethereum/go-ethereum/log" "github.com/golang/protobuf/ptypes/empty" golog "github.com/ipfs/go-log/v2" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - pbrpc "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + pbrpc "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/beacon-chain/rpc/prysm/v1alpha1/debug/state.go b/beacon-chain/rpc/prysm/v1alpha1/debug/state.go index 3f0efb19b..b40c280f7 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/debug/state.go +++ b/beacon-chain/rpc/prysm/v1alpha1/debug/state.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - pbrpc "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + pbrpc "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/debug/state_test.go b/beacon-chain/rpc/prysm/v1alpha1/debug/state_test.go index 719c57dce..a8a28a4f6 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/debug/state_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/debug/state_test.go @@ -5,15 +5,15 @@ import ( "math" "testing" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - mockstategen "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen/mock" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - pbrpc "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + mockstategen "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen/mock" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + pbrpc "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func addDefaultReplayerBuilder(s *Server, h stategen.HistoryAccessor) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/node/BUILD.bazel b/beacon-chain/rpc/prysm/v1alpha1/node/BUILD.bazel index b8370a7e5..96d9a5b34 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/node/BUILD.bazel +++ b/beacon-chain/rpc/prysm/v1alpha1/node/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["server.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/node", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/node", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/blockchain:go_default_library", diff --git a/beacon-chain/rpc/prysm/v1alpha1/node/server.go b/beacon-chain/rpc/prysm/v1alpha1/node/server.go index bca42a2c0..e8223a4f4 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/node/server.go +++ b/beacon-chain/rpc/prysm/v1alpha1/node/server.go @@ -13,14 +13,14 @@ import ( "github.com/golang/protobuf/ptypes/timestamp" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/sync" - "github.com/prysmaticlabs/prysm/io/logs" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/io/logs" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/beacon-chain/rpc/prysm/v1alpha1/node/server_test.go b/beacon-chain/rpc/prysm/v1alpha1/node/server_test.go index 8c8ad6547..21e734b3d 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/node/server_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/node/server_test.go @@ -9,18 +9,18 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/p2p/enode" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbutil "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - mockP2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/testutil" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbutil "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + mockP2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/testutil" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/grpc" "google.golang.org/grpc/reflection" "google.golang.org/protobuf/types/known/emptypb" diff --git a/beacon-chain/rpc/prysm/v1alpha1/slasher/BUILD.bazel b/beacon-chain/rpc/prysm/v1alpha1/slasher/BUILD.bazel index fa85d67b4..c61bcdf14 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/slasher/BUILD.bazel +++ b/beacon-chain/rpc/prysm/v1alpha1/slasher/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "blocks.go", "server.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/slasher", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/slasher", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/slasher:go_default_library", diff --git a/beacon-chain/rpc/prysm/v1alpha1/slasher/attestations.go b/beacon-chain/rpc/prysm/v1alpha1/slasher/attestations.go index 8f565d5db..9b4c5db66 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/slasher/attestations.go +++ b/beacon-chain/rpc/prysm/v1alpha1/slasher/attestations.go @@ -3,8 +3,8 @@ package slasher import ( "context" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/slasher/attestations_test.go b/beacon-chain/rpc/prysm/v1alpha1/slasher/attestations_test.go index aeb028ace..5ed8b2e2f 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/slasher/attestations_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/slasher/attestations_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/slasher/mock" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/mock" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestServer_HighestAttestations(t *testing.T) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/slasher/blocks.go b/beacon-chain/rpc/prysm/v1alpha1/slasher/blocks.go index 7718758ab..30defff27 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/slasher/blocks.go +++ b/beacon-chain/rpc/prysm/v1alpha1/slasher/blocks.go @@ -3,7 +3,7 @@ package slasher import ( "context" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/slasher/server.go b/beacon-chain/rpc/prysm/v1alpha1/slasher/server.go index ba41b16e1..0d8e4ee3b 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/slasher/server.go +++ b/beacon-chain/rpc/prysm/v1alpha1/slasher/server.go @@ -3,7 +3,7 @@ package slasher import ( - slasherservice "github.com/prysmaticlabs/prysm/beacon-chain/slasher" + slasherservice "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher" ) // Server defines a server implementation of the gRPC slasher service. diff --git a/beacon-chain/rpc/prysm/v1alpha1/slasher/server_test.go b/beacon-chain/rpc/prysm/v1alpha1/slasher/server_test.go index 43e6dc393..d593719df 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/slasher/server_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/slasher/server_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/slasher/mock" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/mock" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestServer_IsSlashableAttestation_SlashingFound(t *testing.T) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/BUILD.bazel b/beacon-chain/rpc/prysm/v1alpha1/validator/BUILD.bazel index 840e14a0d..dd1c32ea4 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/BUILD.bazel +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/BUILD.bazel @@ -22,7 +22,7 @@ go_library( "status.go", "sync_committee.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/validator", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/validator", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//async/event:go_default_library", diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/aggregator.go b/beacon-chain/rpc/prysm/v1alpha1/validator/aggregator.go index 94c047b1c..ab0533a3c 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/aggregator.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/aggregator.go @@ -4,12 +4,12 @@ import ( "bytes" "context" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" "google.golang.org/grpc/codes" diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/aggregator_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/aggregator_test.go index 4c9461ef5..714585f81 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/aggregator_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/aggregator_test.go @@ -7,24 +7,24 @@ import ( "time" "github.com/prysmaticlabs/go-bitfield" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - attaggregation "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/attestations" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + attaggregation "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/attestations" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestSubmitAggregateAndProof_Syncing(t *testing.T) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/assignments.go b/beacon-chain/rpc/prysm/v1alpha1/validator/assignments.go index 8cf484702..a89c48518 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/assignments.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/assignments.go @@ -5,21 +5,21 @@ import ( "context" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - coreTime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - beaconState "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + coreTime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + beaconState "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/assignments_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/assignments_test.go index 938fc8575..0461f8ea6 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/assignments_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/assignments_test.go @@ -7,27 +7,27 @@ import ( "time" "github.com/golang/mock/gomock" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // pubKey is a helper to generate a well-formed public key. diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/attester.go b/beacon-chain/rpc/prysm/v1alpha1/validator/attester.go index 15e18df99..709484ff5 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/attester.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/attester.go @@ -5,18 +5,18 @@ import ( "errors" "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/attester_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/attester_test.go index 6652baa8e..16e51caba 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/attester_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/attester_test.go @@ -7,24 +7,24 @@ import ( "testing" "time" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - dbutil "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + dbutil "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/blocks.go b/beacon-chain/rpc/prysm/v1alpha1/validator/blocks.go index ff175ddf6..e2f2d1d33 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/blocks.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/blocks.go @@ -2,13 +2,13 @@ package validator import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/blocks_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/blocks_test.go index 72ee2a3f4..7c6a937ad 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/blocks_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/blocks_test.go @@ -5,19 +5,19 @@ import ( "testing" "github.com/golang/mock/gomock" - chainMock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + chainMock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestServer_StreamAltairBlocksVerified_ContextCanceled(t *testing.T) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/exit.go b/beacon-chain/rpc/prysm/v1alpha1/validator/exit.go index a9ad75056..772730705 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/exit.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/exit.go @@ -3,11 +3,11 @@ package validator import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - opfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + opfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/exit_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/exit_test.go index 8d3886ff9..c2cedb12e 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/exit_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/exit_test.go @@ -5,22 +5,22 @@ import ( "testing" "time" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - opfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + opfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestProposeExit_Notification(t *testing.T) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer.go index 6db73f470..267a3136d 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer.go @@ -10,17 +10,17 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/builder" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/builder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" "google.golang.org/grpc/codes" diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_altair.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_altair.go index 8879bb8b4..be6fd508a 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_altair.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_altair.go @@ -4,14 +4,14 @@ import ( "context" "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition/interop" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - synccontribution "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition/interop" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + synccontribution "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution" "go.opencensus.io/trace" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations.go index a88f4d2e4..8be759bbd 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations.go @@ -6,16 +6,16 @@ import ( "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation" - attaggregation "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/attestations" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation" + attaggregation "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/attestations" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "go.opencensus.io/trace" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations_test.go index a8e24608d..58a219fb4 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestProposer_ProposerAtts_sortByProfitability(t *testing.T) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix.go index 85b13c5f2..21e87635c 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix.go @@ -9,20 +9,20 @@ import ( "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition/interop" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - coreBlock "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition/interop" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + coreBlock "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix_test.go index b2178f152..9fe8dca82 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix_test.go @@ -8,39 +8,39 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - blockchainTest "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - builderTest "github.com/prysmaticlabs/prysm/beacon-chain/builder/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - b "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - prysmtime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/synccommittee" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - v1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + blockchainTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + builderTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/builder/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + consensusblocks "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + prysmtime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/synccommittee" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + v1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" ) @@ -481,7 +481,7 @@ func TestServer_GetBellatrixBeaconBlock_HappyCase(t *testing.T) { stateRoot, err := beaconState.HashTreeRoot(ctx) require.NoError(t, err, "Could not hash genesis state") - genesis := b.NewGenesisBlock(stateRoot[:]) + genesis := consensusblocks.NewGenesisBlock(stateRoot[:]) wsb, err := blocks.NewSignedBeaconBlock(genesis) require.NoError(t, err) require.NoError(t, db.SaveBlock(ctx, wsb), "Could not save genesis block") @@ -579,7 +579,7 @@ func TestServer_GetBellatrixBeaconBlock_BuilderCase(t *testing.T) { stateRoot, err := beaconState.HashTreeRoot(ctx) require.NoError(t, err, "Could not hash genesis state") - genesis := b.NewGenesisBlock(stateRoot[:]) + genesis := consensusblocks.NewGenesisBlock(stateRoot[:]) wsb, err := blocks.NewSignedBeaconBlock(genesis) require.NoError(t, err) require.NoError(t, db.SaveBlock(ctx, wsb), "Could not save genesis block") diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_deposits.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_deposits.go index 3fc7e0d10..310bdc826 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_deposits.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_deposits.go @@ -6,10 +6,10 @@ import ( "math/big" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" "go.opencensus.io/trace" "golang.org/x/sync/errgroup" diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_eth1data.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_eth1data.go index ecacf2967..3a27dd9ec 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_eth1data.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_eth1data.go @@ -6,15 +6,15 @@ import ( "github.com/pkg/errors" fastssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // eth1DataMajorityVote determines the appropriate eth1data for a block proposal using diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_execution_payload.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_execution_payload.go index ecb77168d..81f89dc4c 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_execution_payload.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_execution_payload.go @@ -8,19 +8,19 @@ import ( "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_execution_payload_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_execution_payload_test.go index 5e8a165ef..9b2d9ec72 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_execution_payload_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_execution_payload_test.go @@ -7,19 +7,19 @@ import ( "github.com/ethereum/go-ethereum/common" gethtypes "github.com/ethereum/go-ethereum/core/types" - chainMock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - powtesting "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - pb "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + chainMock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + powtesting "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + pb "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_phase0.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_phase0.go index db5c42d2d..6ce7208a5 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_phase0.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_phase0.go @@ -5,16 +5,16 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition/interop" - v "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition/interop" + v "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_sync_aggregate.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_sync_aggregate.go index 503373d53..73fe3e44f 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_sync_aggregate.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_sync_aggregate.go @@ -3,7 +3,7 @@ package validator import ( "bytes" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) type proposerSyncContributions []*eth.SyncCommitteeContribution diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_sync_aggregate_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_sync_aggregate_test.go index 2ff417899..68e1e2931 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_sync_aggregate_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_sync_aggregate_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - v2 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" + v2 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestProposerSyncContributions_FilterByBlockRoot(t *testing.T) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_test.go index 54dce4969..5b806bfdc 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_test.go @@ -9,40 +9,40 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/builder" - builderTest "github.com/prysmaticlabs/prysm/beacon-chain/builder/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - b "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - coretime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - dbutil "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/synccommittee" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - attaggregation "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/attestations" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/builder" + builderTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/builder/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + b "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + coretime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + dbutil "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/synccommittee" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + attaggregation "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/attestations" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_utils_bench_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_utils_bench_test.go index 3e79ce97c..7e88ca00c 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_utils_bench_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_utils_bench_test.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - aggtesting "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/testing" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + aggtesting "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/testing" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func BenchmarkProposerAtts_sortByProfitability(b *testing.B) { diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/server.go b/beacon-chain/rpc/prysm/v1alpha1/validator/server.go index 6d8415d62..03a36117c 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/server.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/server.go @@ -8,28 +8,28 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/builder" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - opfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/synccommittee" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/beacon-chain/sync" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/network/forks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/builder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + opfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/synccommittee" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/network/forks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/emptypb" diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/server_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/server_test.go index 68c366e87..c93ec9901 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/server_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/server_test.go @@ -7,23 +7,23 @@ import ( "time" "github.com/golang/mock/gomock" - "github.com/prysmaticlabs/prysm/async/event" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/async/event" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/status.go b/beacon-chain/rpc/prysm/v1alpha1/validator/status.go index 1ee46b378..4df64586d 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/status.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/status.go @@ -4,19 +4,19 @@ import ( "context" "errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/contracts/deposit" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/contracts/deposit" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/status_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/status_test.go index 2e8c26ac8..3b056ab13 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/status_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/status_test.go @@ -7,24 +7,24 @@ import ( "time" "github.com/d4l3k/messagediff" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - mockstategen "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen/mock" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + mockstategen "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen/mock" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/sync_committee.go b/beacon-chain/rpc/prysm/v1alpha1/validator/sync_committee.go index b9fb3512b..6a263fe8a 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/sync_committee.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/sync_committee.go @@ -5,13 +5,13 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - opfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + opfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "golang.org/x/sync/errgroup" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/sync_committee_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/sync_committee_test.go index fc42caf98..cd21611be 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/sync_committee_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/sync_committee_test.go @@ -5,20 +5,20 @@ import ( "testing" "time" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - opfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/synccommittee" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + opfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/synccommittee" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/emptypb" diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/validator_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/validator_test.go index 11335f4c5..d714ae52d 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/validator_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/validator_test.go @@ -4,7 +4,7 @@ import ( "io" "testing" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/rpc/service.go b/beacon-chain/rpc/service.go index 86daac0f7..36503f734 100644 --- a/beacon-chain/rpc/service.go +++ b/beacon-chain/rpc/service.go @@ -13,39 +13,39 @@ import ( grpcopentracing "github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing" grpcprometheus "github.com/grpc-ecosystem/go-grpc-prometheus" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/builder" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - opfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/synccommittee" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/beacon" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/debug" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/events" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/node" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/validator" - beaconv1alpha1 "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/beacon" - debugv1alpha1 "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/debug" - nodev1alpha1 "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/node" - validatorv1alpha1 "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/validator" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/statefetcher" - slasherservice "github.com/prysmaticlabs/prysm/beacon-chain/slasher" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - chainSync "github.com/prysmaticlabs/prysm/beacon-chain/sync" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/logs" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - ethpbv1alpha1 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/builder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + opfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/synccommittee" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/beacon" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/debug" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/events" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/node" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/validator" + beaconv1alpha1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/beacon" + debugv1alpha1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/debug" + nodev1alpha1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/node" + validatorv1alpha1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/prysm/v1alpha1/validator" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/statefetcher" + slasherservice "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + chainSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/logs" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + ethpbv1alpha1 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" "go.opencensus.io/plugin/ocgrpc" "google.golang.org/grpc" diff --git a/beacon-chain/rpc/service_test.go b/beacon-chain/rpc/service_test.go index 39f59e72a..f2cfe1dfc 100644 --- a/beacon-chain/rpc/service_test.go +++ b/beacon-chain/rpc/service_test.go @@ -7,11 +7,11 @@ import ( "testing" "time" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/sirupsen/logrus" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/rpc/statefetcher/BUILD.bazel b/beacon-chain/rpc/statefetcher/BUILD.bazel index 699a37b76..f863ec1da 100644 --- a/beacon-chain/rpc/statefetcher/BUILD.bazel +++ b/beacon-chain/rpc/statefetcher/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["fetcher.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/statefetcher", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/statefetcher", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/blockchain:go_default_library", diff --git a/beacon-chain/rpc/statefetcher/fetcher.go b/beacon-chain/rpc/statefetcher/fetcher.go index c96619d44..e33117677 100644 --- a/beacon-chain/rpc/statefetcher/fetcher.go +++ b/beacon-chain/rpc/statefetcher/fetcher.go @@ -8,14 +8,14 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" "go.opencensus.io/trace" ) diff --git a/beacon-chain/rpc/statefetcher/fetcher_test.go b/beacon-chain/rpc/statefetcher/fetcher_test.go index d43bbdf3e..5487f98eb 100644 --- a/beacon-chain/rpc/statefetcher/fetcher_test.go +++ b/beacon-chain/rpc/statefetcher/fetcher_test.go @@ -7,21 +7,21 @@ import ( "testing" "time" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" "github.com/ethereum/go-ethereum/common/hexutil" - chainMock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mockstategen "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen/mock" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + chainMock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mockstategen "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen/mock" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestGetState(t *testing.T) { diff --git a/beacon-chain/rpc/testutil/BUILD.bazel b/beacon-chain/rpc/testutil/BUILD.bazel index 78fd85a19..3210cc7fa 100644 --- a/beacon-chain/rpc/testutil/BUILD.bazel +++ b/beacon-chain/rpc/testutil/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "mock_genesis_timefetcher.go", "mock_state_fetcher.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/testutil", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/testutil", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/state:go_default_library", diff --git a/beacon-chain/rpc/testutil/mock_genesis_timefetcher.go b/beacon-chain/rpc/testutil/mock_genesis_timefetcher.go index d8de9bfce..5b102d7b7 100644 --- a/beacon-chain/rpc/testutil/mock_genesis_timefetcher.go +++ b/beacon-chain/rpc/testutil/mock_genesis_timefetcher.go @@ -3,8 +3,8 @@ package testutil import ( "time" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // MockGenesisTimeFetcher is a fake implementation of the blockchain.TimeFetcher diff --git a/beacon-chain/rpc/testutil/mock_state_fetcher.go b/beacon-chain/rpc/testutil/mock_state_fetcher.go index 6f76e9f0b..0b695d79e 100644 --- a/beacon-chain/rpc/testutil/mock_state_fetcher.go +++ b/beacon-chain/rpc/testutil/mock_state_fetcher.go @@ -3,8 +3,8 @@ package testutil import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // MockFetcher is a fake implementation of statefetcher.Fetcher. diff --git a/beacon-chain/server/BUILD.bazel b/beacon-chain/server/BUILD.bazel index 2b50b5bc6..7705b8972 100644 --- a/beacon-chain/server/BUILD.bazel +++ b/beacon-chain/server/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "log.go", "main.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/server", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/server", visibility = ["//visibility:private"], deps = [ "//api/gateway:go_default_library", diff --git a/beacon-chain/server/main.go b/beacon-chain/server/main.go index e3a7f9a93..8dab3d634 100644 --- a/beacon-chain/server/main.go +++ b/beacon-chain/server/main.go @@ -11,11 +11,11 @@ import ( "github.com/gorilla/mux" joonix "github.com/joonix/log" - "github.com/prysmaticlabs/prysm/api/gateway" - beaconGateway "github.com/prysmaticlabs/prysm/beacon-chain/gateway" - "github.com/prysmaticlabs/prysm/beacon-chain/rpc/apimiddleware" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - _ "github.com/prysmaticlabs/prysm/runtime/maxprocs" + "github.com/prysmaticlabs/prysm/v3/api/gateway" + beaconGateway "github.com/prysmaticlabs/prysm/v3/beacon-chain/gateway" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + _ "github.com/prysmaticlabs/prysm/v3/runtime/maxprocs" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/slasher/BUILD.bazel b/beacon-chain/slasher/BUILD.bazel index 23ed0d1a7..416cbcee5 100644 --- a/beacon-chain/slasher/BUILD.bazel +++ b/beacon-chain/slasher/BUILD.bazel @@ -17,7 +17,7 @@ go_library( "rpc.go", "service.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/slasher", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher", visibility = [ "//beacon-chain:__subpackages__", "//testing/slasher/simulator:__subpackages__", diff --git a/beacon-chain/slasher/chunks.go b/beacon-chain/slasher/chunks.go index e232bc44d..e9b400266 100644 --- a/beacon-chain/slasher/chunks.go +++ b/beacon-chain/slasher/chunks.go @@ -6,10 +6,10 @@ import ( "math" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // A struct encapsulating input arguments to diff --git a/beacon-chain/slasher/chunks_test.go b/beacon-chain/slasher/chunks_test.go index 569123b9b..4df191bca 100644 --- a/beacon-chain/slasher/chunks_test.go +++ b/beacon-chain/slasher/chunks_test.go @@ -5,12 +5,12 @@ import ( "math" "testing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) var ( diff --git a/beacon-chain/slasher/detect_attestations.go b/beacon-chain/slasher/detect_attestations.go index 13ae787bb..b8533c26b 100644 --- a/beacon-chain/slasher/detect_attestations.go +++ b/beacon-chain/slasher/detect_attestations.go @@ -6,9 +6,9 @@ import ( "time" "github.com/pkg/errors" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/slasher/detect_attestations_test.go b/beacon-chain/slasher/detect_attestations_test.go index 411368eb2..cecdc21ea 100644 --- a/beacon-chain/slasher/detect_attestations_test.go +++ b/beacon-chain/slasher/detect_attestations_test.go @@ -6,20 +6,20 @@ import ( "testing" "time" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - slashingsmock "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings/mock" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + slashingsmock "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings/mock" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/slasher/detect_blocks.go b/beacon-chain/slasher/detect_blocks.go index 4decba73d..d7b5edaa5 100644 --- a/beacon-chain/slasher/detect_blocks.go +++ b/beacon-chain/slasher/detect_blocks.go @@ -4,9 +4,9 @@ import ( "context" "github.com/pkg/errors" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/beacon-chain/slasher/detect_blocks_test.go b/beacon-chain/slasher/detect_blocks_test.go index a91dde065..1711fca52 100644 --- a/beacon-chain/slasher/detect_blocks_test.go +++ b/beacon-chain/slasher/detect_blocks_test.go @@ -4,19 +4,19 @@ import ( "context" "testing" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - slashingsmock "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings/mock" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + slashingsmock "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings/mock" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/slasher/helpers.go b/beacon-chain/slasher/helpers.go index df95bcb44..e9d3aefca 100644 --- a/beacon-chain/slasher/helpers.go +++ b/beacon-chain/slasher/helpers.go @@ -4,12 +4,12 @@ import ( "bytes" "strconv" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/slasher/helpers_test.go b/beacon-chain/slasher/helpers_test.go index 072d442cb..54f27689e 100644 --- a/beacon-chain/slasher/helpers_test.go +++ b/beacon-chain/slasher/helpers_test.go @@ -4,12 +4,12 @@ import ( "reflect" "testing" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/slasher/mock/BUILD.bazel b/beacon-chain/slasher/mock/BUILD.bazel index a21166436..b2feb93f5 100644 --- a/beacon-chain/slasher/mock/BUILD.bazel +++ b/beacon-chain/slasher/mock/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["mock_slashing_checker.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/slasher/mock", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/mock", visibility = ["//visibility:public"], deps = [ "//config/params:go_default_library", diff --git a/beacon-chain/slasher/mock/mock_slashing_checker.go b/beacon-chain/slasher/mock/mock_slashing_checker.go index 4821bca32..7453d5acc 100644 --- a/beacon-chain/slasher/mock/mock_slashing_checker.go +++ b/beacon-chain/slasher/mock/mock_slashing_checker.go @@ -3,9 +3,9 @@ package mock import ( "context" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) type MockSlashingChecker struct { diff --git a/beacon-chain/slasher/params.go b/beacon-chain/slasher/params.go index dad1f204d..4fd59defb 100644 --- a/beacon-chain/slasher/params.go +++ b/beacon-chain/slasher/params.go @@ -2,7 +2,7 @@ package slasher import ( ssz "github.com/prysmaticlabs/fastssz" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // Parameters for slashing detection. diff --git a/beacon-chain/slasher/params_test.go b/beacon-chain/slasher/params_test.go index b45176cb0..e0c252025 100644 --- a/beacon-chain/slasher/params_test.go +++ b/beacon-chain/slasher/params_test.go @@ -5,8 +5,8 @@ import ( "testing" ssz "github.com/prysmaticlabs/fastssz" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestDefaultParams(t *testing.T) { diff --git a/beacon-chain/slasher/process_slashings.go b/beacon-chain/slasher/process_slashings.go index 8e8c6d1f2..951545163 100644 --- a/beacon-chain/slasher/process_slashings.go +++ b/beacon-chain/slasher/process_slashings.go @@ -3,10 +3,10 @@ package slasher import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Verifies attester slashings, logs them, and submits them to the slashing operations pool diff --git a/beacon-chain/slasher/process_slashings_test.go b/beacon-chain/slasher/process_slashings_test.go index 26ec523e1..547cc240d 100644 --- a/beacon-chain/slasher/process_slashings_test.go +++ b/beacon-chain/slasher/process_slashings_test.go @@ -4,17 +4,17 @@ import ( "context" "testing" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - slashingsmock "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings/mock" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + slashingsmock "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings/mock" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/slasher/queue.go b/beacon-chain/slasher/queue.go index 1cb03e31c..b6ec95500 100644 --- a/beacon-chain/slasher/queue.go +++ b/beacon-chain/slasher/queue.go @@ -3,7 +3,7 @@ package slasher import ( "sync" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" ) // Struct for handling a thread-safe list of indexed attestation wrappers. diff --git a/beacon-chain/slasher/queue_test.go b/beacon-chain/slasher/queue_test.go index 8bed17b3a..8a6faf580 100644 --- a/beacon-chain/slasher/queue_test.go +++ b/beacon-chain/slasher/queue_test.go @@ -3,9 +3,9 @@ package slasher import ( "testing" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func Test_attestationsQueue(t *testing.T) { diff --git a/beacon-chain/slasher/receive.go b/beacon-chain/slasher/receive.go index d1c985848..cdd4e1a58 100644 --- a/beacon-chain/slasher/receive.go +++ b/beacon-chain/slasher/receive.go @@ -5,10 +5,10 @@ import ( "time" "github.com/pkg/errors" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/slasher/receive_test.go b/beacon-chain/slasher/receive_test.go index edf7c880e..b06e4b2f4 100644 --- a/beacon-chain/slasher/receive_test.go +++ b/beacon-chain/slasher/receive_test.go @@ -4,17 +4,17 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/async/event" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - params2 "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/async/event" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + params2 "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/slasher/rpc.go b/beacon-chain/slasher/rpc.go index db433a45d..1b7ab9903 100644 --- a/beacon-chain/slasher/rpc.go +++ b/beacon-chain/slasher/rpc.go @@ -4,10 +4,10 @@ import ( "context" "github.com/pkg/errors" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/beacon-chain/slasher/rpc_test.go b/beacon-chain/slasher/rpc_test.go index bfb7decd3..8a2754150 100644 --- a/beacon-chain/slasher/rpc_test.go +++ b/beacon-chain/slasher/rpc_test.go @@ -5,13 +5,13 @@ import ( "testing" "time" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - slashertypes "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + slashertypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestIsSlashableBlock(t *testing.T) { diff --git a/beacon-chain/slasher/service.go b/beacon-chain/slasher/service.go index d83bd0177..2b06c13a7 100644 --- a/beacon-chain/slasher/service.go +++ b/beacon-chain/slasher/service.go @@ -8,18 +8,18 @@ import ( "context" "time" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/beacon-chain/sync" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) const ( diff --git a/beacon-chain/slasher/service_test.go b/beacon-chain/slasher/service_test.go index a3d936dab..b22fec660 100644 --- a/beacon-chain/slasher/service_test.go +++ b/beacon-chain/slasher/service_test.go @@ -6,17 +6,17 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/async/event" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mockslasher "github.com/prysmaticlabs/prysm/beacon-chain/slasher/mock" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async/event" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mockslasher "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/mock" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/slasher/types/BUILD.bazel b/beacon-chain/slasher/types/BUILD.bazel index db624157f..95279ef44 100644 --- a/beacon-chain/slasher/types/BUILD.bazel +++ b/beacon-chain/slasher/types/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["types.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/slasher/types", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher/types", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//consensus-types/primitives:go_default_library", diff --git a/beacon-chain/slasher/types/types.go b/beacon-chain/slasher/types/types.go index f11c166d4..cb7bd3a13 100644 --- a/beacon-chain/slasher/types/types.go +++ b/beacon-chain/slasher/types/types.go @@ -1,8 +1,8 @@ package types import ( - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ChunkKind to differentiate what kind of span we are working diff --git a/beacon-chain/state/BUILD.bazel b/beacon-chain/state/BUILD.bazel index 5e68cdc66..298a1adbb 100644 --- a/beacon-chain/state/BUILD.bazel +++ b/beacon-chain/state/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "interfaces.go", "prometheus.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state", visibility = ["//visibility:public"], deps = [ "//config/fieldparams:go_default_library", diff --git a/beacon-chain/state/fieldtrie/BUILD.bazel b/beacon-chain/state/fieldtrie/BUILD.bazel index 5c463fef1..a1e752bfb 100644 --- a/beacon-chain/state/fieldtrie/BUILD.bazel +++ b/beacon-chain/state/fieldtrie/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "field_trie.go", "field_trie_helpers.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/state/state-native/custom-types:go_default_library", diff --git a/beacon-chain/state/fieldtrie/field_trie.go b/beacon-chain/state/fieldtrie/field_trie.go index 4dcf7a30a..f5db44163 100644 --- a/beacon-chain/state/fieldtrie/field_trie.go +++ b/beacon-chain/state/fieldtrie/field_trie.go @@ -5,9 +5,9 @@ import ( "sync" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - pmath "github.com/prysmaticlabs/prysm/math" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + pmath "github.com/prysmaticlabs/prysm/v3/math" ) var ( diff --git a/beacon-chain/state/fieldtrie/field_trie_helpers.go b/beacon-chain/state/fieldtrie/field_trie_helpers.go index 52dc568de..aef2f4e31 100644 --- a/beacon-chain/state/fieldtrie/field_trie_helpers.go +++ b/beacon-chain/state/fieldtrie/field_trie_helpers.go @@ -6,15 +6,15 @@ import ( "reflect" "github.com/pkg/errors" - customtypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/custom-types" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - pmath "github.com/prysmaticlabs/prysm/math" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + customtypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/custom-types" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + pmath "github.com/prysmaticlabs/prysm/v3/math" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // ProofFromMerkleLayers creates a proof starting at the leaf index of the state Merkle layers. diff --git a/beacon-chain/state/fieldtrie/field_trie_test.go b/beacon-chain/state/fieldtrie/field_trie_test.go index 6f1a980fd..22a20f6a9 100644 --- a/beacon-chain/state/fieldtrie/field_trie_test.go +++ b/beacon-chain/state/fieldtrie/field_trie_test.go @@ -3,15 +3,15 @@ package fieldtrie_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - stateTypes "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + stateTypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestFieldTrie_NewTrie(t *testing.T) { diff --git a/beacon-chain/state/fieldtrie/helpers_test.go b/beacon-chain/state/fieldtrie/helpers_test.go index c4cc6bd94..18d67a74e 100644 --- a/beacon-chain/state/fieldtrie/helpers_test.go +++ b/beacon-chain/state/fieldtrie/helpers_test.go @@ -5,11 +5,11 @@ import ( "sync" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func Test_handlePendingAttestation_OutOfRange(t *testing.T) { diff --git a/beacon-chain/state/genesis/BUILD.bazel b/beacon-chain/state/genesis/BUILD.bazel index c599956ff..c8b5f6c80 100644 --- a/beacon-chain/state/genesis/BUILD.bazel +++ b/beacon-chain/state/genesis/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", srcs = ["genesis.go"], embedsrcs = ["mainnet.ssz.snappy"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/genesis", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/genesis", visibility = ["//beacon-chain/db:__subpackages__"], deps = [ "//beacon-chain/state:go_default_library", diff --git a/beacon-chain/state/genesis/genesis.go b/beacon-chain/state/genesis/genesis.go index 301e7f1f9..d6ae3a2cf 100644 --- a/beacon-chain/state/genesis/genesis.go +++ b/beacon-chain/state/genesis/genesis.go @@ -4,10 +4,10 @@ import ( _ "embed" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) var ( diff --git a/beacon-chain/state/genesis/genesis_test.go b/beacon-chain/state/genesis/genesis_test.go index 7d6a78a45..b34d2b89b 100644 --- a/beacon-chain/state/genesis/genesis_test.go +++ b/beacon-chain/state/genesis/genesis_test.go @@ -3,8 +3,8 @@ package genesis_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/genesis" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/genesis" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func TestGenesisState(t *testing.T) { diff --git a/beacon-chain/state/interfaces.go b/beacon-chain/state/interfaces.go index 4e041fcc1..662b6ff30 100644 --- a/beacon-chain/state/interfaces.go +++ b/beacon-chain/state/interfaces.go @@ -7,11 +7,11 @@ import ( "context" "github.com/prysmaticlabs/go-bitfield" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // BeaconState has read and write access to beacon state methods. diff --git a/beacon-chain/state/state-native/BUILD.bazel b/beacon-chain/state/state-native/BUILD.bazel index 1702d18f9..20fc39310 100644 --- a/beacon-chain/state/state-native/BUILD.bazel +++ b/beacon-chain/state/state-native/BUILD.bazel @@ -38,7 +38,7 @@ go_library( "//config:mainnet": ["beacon_state_mainnet.go"], "//config:minimal": ["beacon_state_minimal.go"], }), - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native", visibility = [ "//beacon-chain:__subpackages__", "//contracts/deposit:__subpackages__", diff --git a/beacon-chain/state/state-native/beacon_state_mainnet.go b/beacon-chain/state/state-native/beacon_state_mainnet.go index 561cedec1..1fcb1d519 100644 --- a/beacon-chain/state/state-native/beacon_state_mainnet.go +++ b/beacon-chain/state/state-native/beacon_state_mainnet.go @@ -6,13 +6,13 @@ import ( "sync" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - customtypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/custom-types" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - eth2types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + customtypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/custom-types" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + eth2types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // BeaconState defines a struct containing utilities for the Ethereum Beacon Chain state, defining diff --git a/beacon-chain/state/state-native/beacon_state_mainnet_test.go b/beacon-chain/state/state-native/beacon_state_mainnet_test.go index f679be153..acdb5c4ae 100644 --- a/beacon-chain/state/state-native/beacon_state_mainnet_test.go +++ b/beacon-chain/state/state-native/beacon_state_mainnet_test.go @@ -7,10 +7,10 @@ import ( "strconv" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestMainnetSszValuesAgainstFieldParams(t *testing.T) { diff --git a/beacon-chain/state/state-native/beacon_state_minimal.go b/beacon-chain/state/state-native/beacon_state_minimal.go index 7dc28b678..8ee35b15f 100644 --- a/beacon-chain/state/state-native/beacon_state_minimal.go +++ b/beacon-chain/state/state-native/beacon_state_minimal.go @@ -6,13 +6,13 @@ import ( "sync" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - customtypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/custom-types" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - eth2types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + customtypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/custom-types" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + eth2types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // BeaconState defines a struct containing utilities for the Ethereum Beacon Chain state, defining diff --git a/beacon-chain/state/state-native/beacon_state_minimal_test.go b/beacon-chain/state/state-native/beacon_state_minimal_test.go index badbee719..28efcfdaf 100644 --- a/beacon-chain/state/state-native/beacon_state_minimal_test.go +++ b/beacon-chain/state/state-native/beacon_state_minimal_test.go @@ -7,9 +7,9 @@ import ( "strconv" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestMinimalSszValuesAgainstFieldParams(t *testing.T) { diff --git a/beacon-chain/state/state-native/custom-types/BUILD.bazel b/beacon-chain/state/state-native/custom-types/BUILD.bazel index 74a9ff710..d6580c117 100644 --- a/beacon-chain/state/state-native/custom-types/BUILD.bazel +++ b/beacon-chain/state/state-native/custom-types/BUILD.bazel @@ -9,7 +9,7 @@ go_library( "randao_mixes.go", "state_roots.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/custom-types", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/custom-types", visibility = ["//visibility:public"], deps = [ "//config/fieldparams:go_default_library", diff --git a/beacon-chain/state/state-native/custom-types/block_roots.go b/beacon-chain/state/state-native/custom-types/block_roots.go index 9314aad40..74b2fda3e 100644 --- a/beacon-chain/state/state-native/custom-types/block_roots.go +++ b/beacon-chain/state/state-native/custom-types/block_roots.go @@ -4,7 +4,7 @@ import ( "fmt" fssz "github.com/prysmaticlabs/fastssz" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" ) var _ fssz.HashRoot = (BlockRoots)([fieldparams.BlockRootsLength][32]byte{}) diff --git a/beacon-chain/state/state-native/custom-types/block_roots_test.go b/beacon-chain/state/state-native/custom-types/block_roots_test.go index 1bd756b71..a37b08b9f 100644 --- a/beacon-chain/state/state-native/custom-types/block_roots_test.go +++ b/beacon-chain/state/state-native/custom-types/block_roots_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/testing/assert" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestBlockRoots_Casting(t *testing.T) { diff --git a/beacon-chain/state/state-native/custom-types/historical_roots_test.go b/beacon-chain/state/state-native/custom-types/historical_roots_test.go index 462a3fd01..5443ec0aa 100644 --- a/beacon-chain/state/state-native/custom-types/historical_roots_test.go +++ b/beacon-chain/state/state-native/custom-types/historical_roots_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestHistoricalRoots_Casting(t *testing.T) { diff --git a/beacon-chain/state/state-native/custom-types/randao_mixes.go b/beacon-chain/state/state-native/custom-types/randao_mixes.go index eea7324ae..43dd7dfee 100644 --- a/beacon-chain/state/state-native/custom-types/randao_mixes.go +++ b/beacon-chain/state/state-native/custom-types/randao_mixes.go @@ -4,7 +4,7 @@ import ( "fmt" fssz "github.com/prysmaticlabs/fastssz" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" ) var _ fssz.HashRoot = (RandaoMixes)([fieldparams.RandaoMixesLength][32]byte{}) diff --git a/beacon-chain/state/state-native/custom-types/randao_mixes_test.go b/beacon-chain/state/state-native/custom-types/randao_mixes_test.go index 9e94581da..b162145d8 100644 --- a/beacon-chain/state/state-native/custom-types/randao_mixes_test.go +++ b/beacon-chain/state/state-native/custom-types/randao_mixes_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/testing/assert" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestRandaoMixes_Casting(t *testing.T) { diff --git a/beacon-chain/state/state-native/custom-types/state_roots.go b/beacon-chain/state/state-native/custom-types/state_roots.go index bf2780575..deb053549 100644 --- a/beacon-chain/state/state-native/custom-types/state_roots.go +++ b/beacon-chain/state/state-native/custom-types/state_roots.go @@ -4,7 +4,7 @@ import ( "fmt" fssz "github.com/prysmaticlabs/fastssz" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" ) var _ fssz.HashRoot = (StateRoots)([fieldparams.StateRootsLength][32]byte{}) diff --git a/beacon-chain/state/state-native/custom-types/state_roots_test.go b/beacon-chain/state/state-native/custom-types/state_roots_test.go index d37c6c267..05a5192d6 100644 --- a/beacon-chain/state/state-native/custom-types/state_roots_test.go +++ b/beacon-chain/state/state-native/custom-types/state_roots_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/testing/assert" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestStateRoots_Casting(t *testing.T) { diff --git a/beacon-chain/state/state-native/getters_attestation.go b/beacon-chain/state/state-native/getters_attestation.go index 4ffc596b3..16af60756 100644 --- a/beacon-chain/state/state-native/getters_attestation.go +++ b/beacon-chain/state/state-native/getters_attestation.go @@ -1,8 +1,8 @@ package state_native import ( - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // PreviousEpochAttestations corresponding to blocks on the beacon chain. diff --git a/beacon-chain/state/state-native/getters_attestation_test.go b/beacon-chain/state/state-native/getters_attestation_test.go index 7b490ca41..ff1e56db4 100644 --- a/beacon-chain/state/state-native/getters_attestation_test.go +++ b/beacon-chain/state/state-native/getters_attestation_test.go @@ -3,8 +3,8 @@ package state_native import ( "testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconState_PreviousEpochAttestations(t *testing.T) { diff --git a/beacon-chain/state/state-native/getters_block.go b/beacon-chain/state/state-native/getters_block.go index bde96ee55..efa8c2a79 100644 --- a/beacon-chain/state/state-native/getters_block.go +++ b/beacon-chain/state/state-native/getters_block.go @@ -3,7 +3,7 @@ package state_native import ( "fmt" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // LatestBlockHeader stored within the beacon state. diff --git a/beacon-chain/state/state-native/getters_block_test.go b/beacon-chain/state/state-native/getters_block_test.go index e6e430321..b9beaa1f1 100644 --- a/beacon-chain/state/state-native/getters_block_test.go +++ b/beacon-chain/state/state-native/getters_block_test.go @@ -3,9 +3,9 @@ package state_native import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_LatestBlockHeader_Phase0(t *testing.T) { diff --git a/beacon-chain/state/state-native/getters_checkpoint.go b/beacon-chain/state/state-native/getters_checkpoint.go index 117304ded..6c9338424 100644 --- a/beacon-chain/state/state-native/getters_checkpoint.go +++ b/beacon-chain/state/state-native/getters_checkpoint.go @@ -4,8 +4,8 @@ import ( "bytes" "github.com/prysmaticlabs/go-bitfield" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // JustificationBits marking which epochs have been justified in the beacon chain. diff --git a/beacon-chain/state/state-native/getters_checkpoint_test.go b/beacon-chain/state/state-native/getters_checkpoint_test.go index f0131b81d..4c0fe317c 100644 --- a/beacon-chain/state/state-native/getters_checkpoint_test.go +++ b/beacon-chain/state/state-native/getters_checkpoint_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_PreviousJustifiedCheckpointNil_Phase0(t *testing.T) { diff --git a/beacon-chain/state/state-native/getters_eth1.go b/beacon-chain/state/state-native/getters_eth1.go index 35939ef27..41f73279f 100644 --- a/beacon-chain/state/state-native/getters_eth1.go +++ b/beacon-chain/state/state-native/getters_eth1.go @@ -1,7 +1,7 @@ package state_native import ( - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Eth1Data corresponding to the proof-of-work chain information stored in the beacon state. diff --git a/beacon-chain/state/state-native/getters_misc.go b/beacon-chain/state/state-native/getters_misc.go index 29aa8b5f5..95050d1da 100644 --- a/beacon-chain/state/state-native/getters_misc.go +++ b/beacon-chain/state/state-native/getters_misc.go @@ -1,8 +1,8 @@ package state_native import ( - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // GenesisTime of the beacon state as a uint64. diff --git a/beacon-chain/state/state-native/getters_participation.go b/beacon-chain/state/state-native/getters_participation.go index a8de9727f..ff0c3b536 100644 --- a/beacon-chain/state/state-native/getters_participation.go +++ b/beacon-chain/state/state-native/getters_participation.go @@ -1,9 +1,9 @@ package state_native import ( - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // CurrentEpochParticipation corresponding to participation bits on the beacon chain. diff --git a/beacon-chain/state/state-native/getters_participation_test.go b/beacon-chain/state/state-native/getters_participation_test.go index 30fbdd647..fb413ffba 100644 --- a/beacon-chain/state/state-native/getters_participation_test.go +++ b/beacon-chain/state/state-native/getters_participation_test.go @@ -3,9 +3,9 @@ package state_native import ( "testing" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestState_UnrealizedCheckpointBalances(t *testing.T) { diff --git a/beacon-chain/state/state-native/getters_payload_header.go b/beacon-chain/state/state-native/getters_payload_header.go index eeb105bfa..328d1a733 100644 --- a/beacon-chain/state/state-native/getters_payload_header.go +++ b/beacon-chain/state/state-native/getters_payload_header.go @@ -1,9 +1,9 @@ package state_native import ( - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // LatestExecutionPayloadHeader of the beacon state. diff --git a/beacon-chain/state/state-native/getters_state.go b/beacon-chain/state/state-native/getters_state.go index 7816c17ba..cdfc0eb9a 100644 --- a/beacon-chain/state/state-native/getters_state.go +++ b/beacon-chain/state/state-native/getters_state.go @@ -4,8 +4,8 @@ import ( "fmt" "github.com/pkg/errors" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // ToProtoUnsafe returns the pointer value of the underlying diff --git a/beacon-chain/state/state-native/getters_sync_committee.go b/beacon-chain/state/state-native/getters_sync_committee.go index 4d6588670..28e1f87d9 100644 --- a/beacon-chain/state/state-native/getters_sync_committee.go +++ b/beacon-chain/state/state-native/getters_sync_committee.go @@ -1,9 +1,9 @@ package state_native import ( - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // CurrentSyncCommittee of the current sync committee in beacon chain state. diff --git a/beacon-chain/state/state-native/getters_test.go b/beacon-chain/state/state-native/getters_test.go index 13debf16f..ce2374a6d 100644 --- a/beacon-chain/state/state-native/getters_test.go +++ b/beacon-chain/state/state-native/getters_test.go @@ -3,9 +3,9 @@ package state_native import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_SlotDataRace_Phase0(t *testing.T) { diff --git a/beacon-chain/state/state-native/getters_validator.go b/beacon-chain/state/state-native/getters_validator.go index 8f51d94f6..9a957db89 100644 --- a/beacon-chain/state/state-native/getters_validator.go +++ b/beacon-chain/state/state-native/getters_validator.go @@ -4,12 +4,12 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // ValidatorIndexOutOfRangeError represents an error scenario where a validator does not exist diff --git a/beacon-chain/state/state-native/getters_validator_test.go b/beacon-chain/state/state-native/getters_validator_test.go index b279c6067..86abbb067 100644 --- a/beacon-chain/state/state-native/getters_validator_test.go +++ b/beacon-chain/state/state-native/getters_validator_test.go @@ -3,10 +3,10 @@ package state_native_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_ValidatorAtIndexReadOnly_HandlesNilSlice_Phase0(t *testing.T) { diff --git a/beacon-chain/state/state-native/hasher.go b/beacon-chain/state/state-native/hasher.go index 05577cbf2..58b0a088f 100644 --- a/beacon-chain/state/state-native/hasher.go +++ b/beacon-chain/state/state-native/hasher.go @@ -5,14 +5,14 @@ import ( "encoding/binary" "github.com/pkg/errors" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - "github.com/prysmaticlabs/prysm/runtime/version" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "go.opencensus.io/trace" ) diff --git a/beacon-chain/state/state-native/hasher_test.go b/beacon-chain/state/state-native/hasher_test.go index c41575454..857f8dd76 100644 --- a/beacon-chain/state/state-native/hasher_test.go +++ b/beacon-chain/state/state-native/hasher_test.go @@ -5,18 +5,18 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestComputeFieldRootsWithHasher_Phase0(t *testing.T) { diff --git a/beacon-chain/state/state-native/proofs.go b/beacon-chain/state/state-native/proofs.go index 8bfb3a52d..d806430b9 100644 --- a/beacon-chain/state/state-native/proofs.go +++ b/beacon-chain/state/state-native/proofs.go @@ -4,10 +4,10 @@ import ( "context" "encoding/binary" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) const ( diff --git a/beacon-chain/state/state-native/proofs_test.go b/beacon-chain/state/state-native/proofs_test.go index 468498f58..e9a7f3b1c 100644 --- a/beacon-chain/state/state-native/proofs_test.go +++ b/beacon-chain/state/state-native/proofs_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestBeaconStateMerkleProofs(t *testing.T) { diff --git a/beacon-chain/state/state-native/readonly_validator.go b/beacon-chain/state/state-native/readonly_validator.go index b97cf22f9..6c52b5a9b 100644 --- a/beacon-chain/state/state-native/readonly_validator.go +++ b/beacon-chain/state/state-native/readonly_validator.go @@ -2,10 +2,10 @@ package state_native import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) var ( diff --git a/beacon-chain/state/state-native/readonly_validator_test.go b/beacon-chain/state/state-native/readonly_validator_test.go index 3374d68b2..f1231b1f8 100644 --- a/beacon-chain/state/state-native/readonly_validator_test.go +++ b/beacon-chain/state/state-native/readonly_validator_test.go @@ -3,12 +3,12 @@ package state_native_test import ( "testing" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestReadOnlyValidator_ReturnsErrorOnNil(t *testing.T) { diff --git a/beacon-chain/state/state-native/references_test.go b/beacon-chain/state/state-native/references_test.go index 0b6e4df03..219d1afe8 100644 --- a/beacon-chain/state/state-native/references_test.go +++ b/beacon-chain/state/state-native/references_test.go @@ -7,12 +7,12 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStateReferenceSharing_Finalizer_Phase0(t *testing.T) { diff --git a/beacon-chain/state/state-native/setters_attestation.go b/beacon-chain/state/state-native/setters_attestation.go index 3a360babb..963ba404d 100644 --- a/beacon-chain/state/state-native/setters_attestation.go +++ b/beacon-chain/state/state-native/setters_attestation.go @@ -3,11 +3,11 @@ package state_native import ( "fmt" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // RotateAttestations sets the previous epoch attestations to the current epoch attestations and diff --git a/beacon-chain/state/state-native/setters_attestation_test.go b/beacon-chain/state/state-native/setters_attestation_test.go index 81d5f887e..ead329741 100644 --- a/beacon-chain/state/state-native/setters_attestation_test.go +++ b/beacon-chain/state/state-native/setters_attestation_test.go @@ -3,9 +3,9 @@ package state_native import ( "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconState_RotateAttestations(t *testing.T) { diff --git a/beacon-chain/state/state-native/setters_block.go b/beacon-chain/state/state-native/setters_block.go index 975072858..cc7f06e79 100644 --- a/beacon-chain/state/state-native/setters_block.go +++ b/beacon-chain/state/state-native/setters_block.go @@ -3,11 +3,11 @@ package state_native import ( "fmt" - customtypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/custom-types" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + customtypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/custom-types" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetLatestBlockHeader in the beacon state. diff --git a/beacon-chain/state/state-native/setters_checkpoint.go b/beacon-chain/state/state-native/setters_checkpoint.go index 84ee7e677..bbbbd34ae 100644 --- a/beacon-chain/state/state-native/setters_checkpoint.go +++ b/beacon-chain/state/state-native/setters_checkpoint.go @@ -2,8 +2,8 @@ package state_native import ( "github.com/prysmaticlabs/go-bitfield" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetJustificationBits for the beacon state. diff --git a/beacon-chain/state/state-native/setters_eth1.go b/beacon-chain/state/state-native/setters_eth1.go index 7e0af8fa4..0140323f4 100644 --- a/beacon-chain/state/state-native/setters_eth1.go +++ b/beacon-chain/state/state-native/setters_eth1.go @@ -1,9 +1,9 @@ package state_native import ( - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetEth1Data for the beacon state. diff --git a/beacon-chain/state/state-native/setters_misc.go b/beacon-chain/state/state-native/setters_misc.go index 00ebc4804..6ec54d879 100644 --- a/beacon-chain/state/state-native/setters_misc.go +++ b/beacon-chain/state/state-native/setters_misc.go @@ -2,13 +2,13 @@ package state_native import ( "github.com/pkg/errors" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/state/state-native/setters_participation.go b/beacon-chain/state/state-native/setters_participation.go index d12109107..eba285e8b 100644 --- a/beacon-chain/state/state-native/setters_participation.go +++ b/beacon-chain/state/state-native/setters_participation.go @@ -1,9 +1,9 @@ package state_native import ( - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/runtime/version" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // SetPreviousParticipationBits for the beacon state. Updates the entire diff --git a/beacon-chain/state/state-native/setters_payload_header.go b/beacon-chain/state/state-native/setters_payload_header.go index 50d4fff9a..3a2384142 100644 --- a/beacon-chain/state/state-native/setters_payload_header.go +++ b/beacon-chain/state/state-native/setters_payload_header.go @@ -2,11 +2,11 @@ package state_native import ( "github.com/pkg/errors" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - _ "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + _ "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // SetLatestExecutionPayloadHeader for the beacon state. diff --git a/beacon-chain/state/state-native/setters_randao.go b/beacon-chain/state/state-native/setters_randao.go index 1221881e8..c41338b0e 100644 --- a/beacon-chain/state/state-native/setters_randao.go +++ b/beacon-chain/state/state-native/setters_randao.go @@ -2,11 +2,11 @@ package state_native import ( "github.com/pkg/errors" - customtypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/custom-types" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + customtypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/custom-types" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) // SetRandaoMixes for the beacon state. Updates the entire diff --git a/beacon-chain/state/state-native/setters_state.go b/beacon-chain/state/state-native/setters_state.go index bb41d3c7d..7b6dee496 100644 --- a/beacon-chain/state/state-native/setters_state.go +++ b/beacon-chain/state/state-native/setters_state.go @@ -2,10 +2,10 @@ package state_native import ( "github.com/pkg/errors" - customtypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/custom-types" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" + customtypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/custom-types" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" ) // SetStateRoots for the beacon state. Updates the state roots diff --git a/beacon-chain/state/state-native/setters_sync_committee.go b/beacon-chain/state/state-native/setters_sync_committee.go index cec9b3631..068ef6a8b 100644 --- a/beacon-chain/state/state-native/setters_sync_committee.go +++ b/beacon-chain/state/state-native/setters_sync_committee.go @@ -1,9 +1,9 @@ package state_native import ( - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // SetCurrentSyncCommittee for the beacon state. diff --git a/beacon-chain/state/state-native/setters_validator.go b/beacon-chain/state/state-native/setters_validator.go index d79a704ba..3153e9a17 100644 --- a/beacon-chain/state/state-native/setters_validator.go +++ b/beacon-chain/state/state-native/setters_validator.go @@ -2,12 +2,12 @@ package state_native import ( "github.com/pkg/errors" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // SetValidators for the beacon state. Updates the entire diff --git a/beacon-chain/state/state-native/spec_parameters.go b/beacon-chain/state/state-native/spec_parameters.go index 2626fb868..819cc4acd 100644 --- a/beacon-chain/state/state-native/spec_parameters.go +++ b/beacon-chain/state/state-native/spec_parameters.go @@ -1,8 +1,8 @@ package state_native import ( - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) func (b *BeaconState) ProportionalSlashingMultiplier() (uint64, error) { diff --git a/beacon-chain/state/state-native/state_test.go b/beacon-chain/state/state-native/state_test.go index 4aefeb494..bc55caefc 100644 --- a/beacon-chain/state/state-native/state_test.go +++ b/beacon-chain/state/state-native/state_test.go @@ -7,15 +7,15 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestValidatorMap_DistinctCopy(t *testing.T) { diff --git a/beacon-chain/state/state-native/state_trie.go b/beacon-chain/state/state-native/state_trie.go index 2884c91ad..a0b65a4f3 100644 --- a/beacon-chain/state/state-native/state_trie.go +++ b/beacon-chain/state/state-native/state_trie.go @@ -6,20 +6,20 @@ import ( "sort" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - customtypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/custom-types" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + customtypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/custom-types" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "go.opencensus.io/trace" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/state/state-native/state_trie_test.go b/beacon-chain/state/state-native/state_trie_test.go index 3f901470e..3de5315a2 100644 --- a/beacon-chain/state/state-native/state_trie_test.go +++ b/beacon-chain/state/state-native/state_trie_test.go @@ -5,14 +5,14 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestInitializeFromProto_Phase0(t *testing.T) { diff --git a/beacon-chain/state/state-native/types.go b/beacon-chain/state/state-native/types.go index da3cf25f5..5571aa94c 100644 --- a/beacon-chain/state/state-native/types.go +++ b/beacon-chain/state/state-native/types.go @@ -3,10 +3,10 @@ package state_native import ( "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - nativetypes "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + nativetypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // Ensure type BeaconState below implements BeaconState interface. diff --git a/beacon-chain/state/state-native/types/BUILD.bazel b/beacon-chain/state/state-native/types/BUILD.bazel index b5a3d8c4b..c548fa043 100644 --- a/beacon-chain/state/state-native/types/BUILD.bazel +++ b/beacon-chain/state/state-native/types/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["types.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native/types", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native/types", visibility = ["//visibility:public"], deps = ["@com_github_pkg_errors//:go_default_library"], ) diff --git a/beacon-chain/state/state-native/types_test.go b/beacon-chain/state/state-native/types_test.go index 80188b115..40bbefde7 100644 --- a/beacon-chain/state/state-native/types_test.go +++ b/beacon-chain/state/state-native/types_test.go @@ -6,14 +6,14 @@ import ( "strconv" "testing" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" log "github.com/sirupsen/logrus" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/state/stategen/BUILD.bazel b/beacon-chain/state/stategen/BUILD.bazel index cce821093..5aad61b60 100644 --- a/beacon-chain/state/stategen/BUILD.bazel +++ b/beacon-chain/state/stategen/BUILD.bazel @@ -17,7 +17,7 @@ go_library( "service.go", "setter.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/altair:go_default_library", diff --git a/beacon-chain/state/stategen/cacher.go b/beacon-chain/state/stategen/cacher.go index aead7e09b..5180e9b34 100644 --- a/beacon-chain/state/stategen/cacher.go +++ b/beacon-chain/state/stategen/cacher.go @@ -2,7 +2,7 @@ package stategen import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" ) var ErrNotInCache = errors.New("state not found in cache") diff --git a/beacon-chain/state/stategen/epoch_boundary_state_cache.go b/beacon-chain/state/stategen/epoch_boundary_state_cache.go index bd1d35f0f..e2e551ca0 100644 --- a/beacon-chain/state/stategen/epoch_boundary_state_cache.go +++ b/beacon-chain/state/stategen/epoch_boundary_state_cache.go @@ -5,8 +5,8 @@ import ( "strconv" "sync" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "k8s.io/client-go/tools/cache" ) diff --git a/beacon-chain/state/stategen/epoch_boundary_state_cache_test.go b/beacon-chain/state/stategen/epoch_boundary_state_cache_test.go index f0e37d27d..904d32820 100644 --- a/beacon-chain/state/stategen/epoch_boundary_state_cache_test.go +++ b/beacon-chain/state/stategen/epoch_boundary_state_cache_test.go @@ -3,10 +3,10 @@ package stategen import ( "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestEpochBoundaryStateCache_BadSlotKey(t *testing.T) { diff --git a/beacon-chain/state/stategen/getter.go b/beacon-chain/state/stategen/getter.go index 8f4f3f5bf..fcc64ca67 100644 --- a/beacon-chain/state/stategen/getter.go +++ b/beacon-chain/state/stategen/getter.go @@ -4,12 +4,12 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/beacon-chain/state/stategen/getter_test.go b/beacon-chain/state/stategen/getter_test.go index 61da8e0a6..9e45b16c0 100644 --- a/beacon-chain/state/stategen/getter_test.go +++ b/beacon-chain/state/stategen/getter_test.go @@ -4,15 +4,15 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestStateByRoot_GenesisState(t *testing.T) { diff --git a/beacon-chain/state/stategen/history.go b/beacon-chain/state/stategen/history.go index 80099b782..f6e45cf4c 100644 --- a/beacon-chain/state/stategen/history.go +++ b/beacon-chain/state/stategen/history.go @@ -5,13 +5,13 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" "go.opencensus.io/trace" ) diff --git a/beacon-chain/state/stategen/history_test.go b/beacon-chain/state/stategen/history_test.go index dda1c657c..e67c638fe 100644 --- a/beacon-chain/state/stategen/history_test.go +++ b/beacon-chain/state/stategen/history_test.go @@ -6,13 +6,13 @@ import ( "fmt" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/consensus-types/mock" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/consensus-types/mock" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBlockForSlotFuture(t *testing.T) { diff --git a/beacon-chain/state/stategen/hot_state_cache.go b/beacon-chain/state/stategen/hot_state_cache.go index 97d4c1cb1..4df6f2d28 100644 --- a/beacon-chain/state/stategen/hot_state_cache.go +++ b/beacon-chain/state/stategen/hot_state_cache.go @@ -6,8 +6,8 @@ import ( lru "github.com/hashicorp/golang-lru" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" ) var ( diff --git a/beacon-chain/state/stategen/hot_state_cache_test.go b/beacon-chain/state/stategen/hot_state_cache_test.go index 27385aacb..dedb46371 100644 --- a/beacon-chain/state/stategen/hot_state_cache_test.go +++ b/beacon-chain/state/stategen/hot_state_cache_test.go @@ -3,11 +3,11 @@ package stategen import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestHotStateCache_RoundTrip(t *testing.T) { diff --git a/beacon-chain/state/stategen/init_test.go b/beacon-chain/state/stategen/init_test.go index 359b39d98..17f6b99b1 100644 --- a/beacon-chain/state/stategen/init_test.go +++ b/beacon-chain/state/stategen/init_test.go @@ -1,7 +1,7 @@ package stategen import ( - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func init() { diff --git a/beacon-chain/state/stategen/migrate.go b/beacon-chain/state/stategen/migrate.go index dc5e85bf2..e70cf688b 100644 --- a/beacon-chain/state/stategen/migrate.go +++ b/beacon-chain/state/stategen/migrate.go @@ -5,8 +5,8 @@ import ( "encoding/hex" "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/state/stategen/migrate_test.go b/beacon-chain/state/stategen/migrate_test.go index ae7a6f91c..08ab72cc5 100644 --- a/beacon-chain/state/stategen/migrate_test.go +++ b/beacon-chain/state/stategen/migrate_test.go @@ -4,13 +4,13 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/state/stategen/mock/BUILD.bazel b/beacon-chain/state/stategen/mock/BUILD.bazel index a03296bd2..7e0763b1b 100644 --- a/beacon-chain/state/stategen/mock/BUILD.bazel +++ b/beacon-chain/state/stategen/mock/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "mock.go", "replayer.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen/mock", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen/mock", visibility = ["//visibility:public"], deps = [ "//beacon-chain/state:go_default_library", diff --git a/beacon-chain/state/stategen/mock/mock.go b/beacon-chain/state/stategen/mock/mock.go index 33f258a8c..fcc4dc16c 100644 --- a/beacon-chain/state/stategen/mock/mock.go +++ b/beacon-chain/state/stategen/mock/mock.go @@ -3,8 +3,8 @@ package mock import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // MockStateManager is a fake implementation of StateManager. diff --git a/beacon-chain/state/stategen/mock/replayer.go b/beacon-chain/state/stategen/mock/replayer.go index f207a0241..3b030b15b 100644 --- a/beacon-chain/state/stategen/mock/replayer.go +++ b/beacon-chain/state/stategen/mock/replayer.go @@ -3,9 +3,9 @@ package mock import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) func NewMockReplayerBuilder(opt ...MockReplayerBuilderOption) *MockReplayerBuilder { diff --git a/beacon-chain/state/stategen/mock_test.go b/beacon-chain/state/stategen/mock_test.go index 686231232..55ab4ba27 100644 --- a/beacon-chain/state/stategen/mock_test.go +++ b/beacon-chain/state/stategen/mock_test.go @@ -7,18 +7,18 @@ import ( "testing" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - blocktest "github.com/prysmaticlabs/prysm/consensus-types/blocks/testing" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + blocktest "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks/testing" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestMockHistoryStates(t *testing.T) { diff --git a/beacon-chain/state/stategen/replay.go b/beacon-chain/state/stategen/replay.go index f3db9fd24..5de04e377 100644 --- a/beacon-chain/state/stategen/replay.go +++ b/beacon-chain/state/stategen/replay.go @@ -6,18 +6,18 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/execution" - prysmtime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/db/filters" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/execution" + prysmtime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/state/stategen/replay_test.go b/beacon-chain/state/stategen/replay_test.go index 2d99c24fd..022737548 100644 --- a/beacon-chain/state/stategen/replay_test.go +++ b/beacon-chain/state/stategen/replay_test.go @@ -4,18 +4,18 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/state/stategen/replayer.go b/beacon-chain/state/stategen/replayer.go index 8769e7659..dae7c74a1 100644 --- a/beacon-chain/state/stategen/replayer.go +++ b/beacon-chain/state/stategen/replayer.go @@ -6,9 +6,9 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/state/stategen/replayer_test.go b/beacon-chain/state/stategen/replayer_test.go index 9d0c30b76..52073ce96 100644 --- a/beacon-chain/state/stategen/replayer_test.go +++ b/beacon-chain/state/stategen/replayer_test.go @@ -4,11 +4,11 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func headerFromBlock(b interfaces.SignedBeaconBlock) (*ethpb.BeaconBlockHeader, error) { diff --git a/beacon-chain/state/stategen/service.go b/beacon-chain/state/stategen/service.go index a2eb04665..a6b335145 100644 --- a/beacon-chain/state/stategen/service.go +++ b/beacon-chain/state/stategen/service.go @@ -8,12 +8,12 @@ import ( "errors" "sync" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/sync/backfill" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/backfill" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" "go.opencensus.io/trace" ) diff --git a/beacon-chain/state/stategen/service_test.go b/beacon-chain/state/stategen/service_test.go index 65273bcd3..b5d71506f 100644 --- a/beacon-chain/state/stategen/service_test.go +++ b/beacon-chain/state/stategen/service_test.go @@ -4,12 +4,12 @@ import ( "context" "testing" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestResume(t *testing.T) { diff --git a/beacon-chain/state/stategen/setter.go b/beacon-chain/state/stategen/setter.go index bddf80dc9..2e5cbe492 100644 --- a/beacon-chain/state/stategen/setter.go +++ b/beacon-chain/state/stategen/setter.go @@ -4,11 +4,11 @@ import ( "context" "math" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/state/stategen/setter_test.go b/beacon-chain/state/stategen/setter_test.go index 3b9967f50..5d0b40cc3 100644 --- a/beacon-chain/state/stategen/setter_test.go +++ b/beacon-chain/state/stategen/setter_test.go @@ -4,11 +4,11 @@ import ( "context" "testing" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/state/stateutil/BUILD.bazel b/beacon-chain/state/stateutil/BUILD.bazel index a2952c6be..ec1c1d22f 100644 --- a/beacon-chain/state/stateutil/BUILD.bazel +++ b/beacon-chain/state/stateutil/BUILD.bazel @@ -19,7 +19,7 @@ go_library( "validator_map_handler.go", "validator_root.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil", visibility = [ "//beacon-chain:__subpackages__", "//proto/migration:__subpackages__", diff --git a/beacon-chain/state/stateutil/benchmark_test.go b/beacon-chain/state/stateutil/benchmark_test.go index 90a187d08..f1ddd01c3 100644 --- a/beacon-chain/state/stateutil/benchmark_test.go +++ b/beacon-chain/state/stateutil/benchmark_test.go @@ -3,9 +3,9 @@ package stateutil_test import ( "testing" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/ssz" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func BenchmarkMerkleize_Buffered(b *testing.B) { diff --git a/beacon-chain/state/stateutil/block_header_root.go b/beacon-chain/state/stateutil/block_header_root.go index 87f9098ac..9181eab88 100644 --- a/beacon-chain/state/stateutil/block_header_root.go +++ b/beacon-chain/state/stateutil/block_header_root.go @@ -3,10 +3,10 @@ package stateutil import ( "encoding/binary" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // BlockHeaderRoot computes the HashTreeRoot Merkleization of diff --git a/beacon-chain/state/stateutil/eth1_root.go b/beacon-chain/state/stateutil/eth1_root.go index aaebac8bd..233f67631 100644 --- a/beacon-chain/state/stateutil/eth1_root.go +++ b/beacon-chain/state/stateutil/eth1_root.go @@ -5,11 +5,11 @@ import ( "encoding/binary" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Eth1DataRootWithHasher returns the hash tree root of input `eth1Data`. diff --git a/beacon-chain/state/stateutil/field_root_attestation.go b/beacon-chain/state/stateutil/field_root_attestation.go index ea0de4aa8..de450d85d 100644 --- a/beacon-chain/state/stateutil/field_root_attestation.go +++ b/beacon-chain/state/stateutil/field_root_attestation.go @@ -6,10 +6,10 @@ import ( "fmt" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // RootsArrayHashTreeRoot computes the Merkle root of arrays of 32-byte hashes, such as [64][32]byte diff --git a/beacon-chain/state/stateutil/field_root_eth1.go b/beacon-chain/state/stateutil/field_root_eth1.go index dba431edb..453e596bb 100644 --- a/beacon-chain/state/stateutil/field_root_eth1.go +++ b/beacon-chain/state/stateutil/field_root_eth1.go @@ -2,8 +2,8 @@ package stateutil import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Eth1Root computes the HashTreeRoot Merkleization of diff --git a/beacon-chain/state/stateutil/field_root_test.go b/beacon-chain/state/stateutil/field_root_test.go index 94f5a2c3e..42f2aaa2e 100644 --- a/beacon-chain/state/stateutil/field_root_test.go +++ b/beacon-chain/state/stateutil/field_root_test.go @@ -3,7 +3,7 @@ package stateutil import ( "testing" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestArraysTreeRoot_OnlyPowerOf2(t *testing.T) { diff --git a/beacon-chain/state/stateutil/field_root_validator.go b/beacon-chain/state/stateutil/field_root_validator.go index 2c2701031..4a0c0d08e 100644 --- a/beacon-chain/state/stateutil/field_root_validator.go +++ b/beacon-chain/state/stateutil/field_root_validator.go @@ -5,12 +5,12 @@ import ( "encoding/binary" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/crypto/hash/htr" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/crypto/hash/htr" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) const ( diff --git a/beacon-chain/state/stateutil/field_root_validator_test.go b/beacon-chain/state/stateutil/field_root_validator_test.go index 43ff89e8c..c07b94470 100644 --- a/beacon-chain/state/stateutil/field_root_validator_test.go +++ b/beacon-chain/state/stateutil/field_root_validator_test.go @@ -5,9 +5,9 @@ import ( "strings" "testing" - mathutil "github.com/prysmaticlabs/prysm/math" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" + mathutil "github.com/prysmaticlabs/prysm/v3/math" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestValidatorConstants(t *testing.T) { diff --git a/beacon-chain/state/stateutil/field_root_vector.go b/beacon-chain/state/stateutil/field_root_vector.go index f2f28d45d..58e1cd189 100644 --- a/beacon-chain/state/stateutil/field_root_vector.go +++ b/beacon-chain/state/stateutil/field_root_vector.go @@ -2,8 +2,8 @@ package stateutil import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/ssz" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" ) func ArraysRoot(input [][]byte, length uint64) ([32]byte, error) { diff --git a/beacon-chain/state/stateutil/participation_bit_root.go b/beacon-chain/state/stateutil/participation_bit_root.go index c6398dade..817d36eb4 100644 --- a/beacon-chain/state/stateutil/participation_bit_root.go +++ b/beacon-chain/state/stateutil/participation_bit_root.go @@ -4,9 +4,9 @@ import ( "encoding/binary" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/ssz" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" ) // ParticipationBitsRoot computes the HashTreeRoot merkleization of diff --git a/beacon-chain/state/stateutil/pending_attestation_root.go b/beacon-chain/state/stateutil/pending_attestation_root.go index d0a853d82..48d7bf6ae 100644 --- a/beacon-chain/state/stateutil/pending_attestation_root.go +++ b/beacon-chain/state/stateutil/pending_attestation_root.go @@ -4,10 +4,10 @@ import ( "encoding/binary" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // PendingAttRootWithHasher describes a method from which the hash tree root diff --git a/beacon-chain/state/stateutil/state_hasher.go b/beacon-chain/state/stateutil/state_hasher.go index e6ed13d9c..16f1735c6 100644 --- a/beacon-chain/state/stateutil/state_hasher.go +++ b/beacon-chain/state/stateutil/state_hasher.go @@ -5,12 +5,12 @@ import ( "encoding/binary" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/beacon-chain/state/stateutil/state_root_test.go b/beacon-chain/state/stateutil/state_root_test.go index e7e7c9a62..aba4edf9d 100644 --- a/beacon-chain/state/stateutil/state_root_test.go +++ b/beacon-chain/state/stateutil/state_root_test.go @@ -6,12 +6,12 @@ import ( "strconv" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestState_FieldCount(t *testing.T) { diff --git a/beacon-chain/state/stateutil/sync_committee.root.go b/beacon-chain/state/stateutil/sync_committee.root.go index 4089a8266..037cf0084 100644 --- a/beacon-chain/state/stateutil/sync_committee.root.go +++ b/beacon-chain/state/stateutil/sync_committee.root.go @@ -1,11 +1,11 @@ package stateutil import ( - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/crypto/hash/htr" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/crypto/hash/htr" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SyncCommitteeRoot computes the HashTreeRoot Merkleization of a committee root. diff --git a/beacon-chain/state/stateutil/trie_helpers.go b/beacon-chain/state/stateutil/trie_helpers.go index 79011be39..5794f6e30 100644 --- a/beacon-chain/state/stateutil/trie_helpers.go +++ b/beacon-chain/state/stateutil/trie_helpers.go @@ -5,12 +5,12 @@ import ( "encoding/binary" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/crypto/hash/htr" - "github.com/prysmaticlabs/prysm/encoding/ssz" - "github.com/prysmaticlabs/prysm/math" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/crypto/hash/htr" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + "github.com/prysmaticlabs/prysm/v3/math" ) // ReturnTrieLayer returns the representation of a merkle trie when diff --git a/beacon-chain/state/stateutil/trie_helpers_test.go b/beacon-chain/state/stateutil/trie_helpers_test.go index 6badff0ee..274b9caa5 100644 --- a/beacon-chain/state/stateutil/trie_helpers_test.go +++ b/beacon-chain/state/stateutil/trie_helpers_test.go @@ -3,17 +3,17 @@ package stateutil_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestReturnTrieLayer_OK(t *testing.T) { diff --git a/beacon-chain/state/stateutil/unrealized_justification.go b/beacon-chain/state/stateutil/unrealized_justification.go index 3942613ec..812c1f1ac 100644 --- a/beacon-chain/state/stateutil/unrealized_justification.go +++ b/beacon-chain/state/stateutil/unrealized_justification.go @@ -2,10 +2,10 @@ package stateutil import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/math" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/math" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // UnrealizedCheckpointBalances returns the total current active balance, the diff --git a/beacon-chain/state/stateutil/unrealized_justification_test.go b/beacon-chain/state/stateutil/unrealized_justification_test.go index de4f5341b..0847fc3e0 100644 --- a/beacon-chain/state/stateutil/unrealized_justification_test.go +++ b/beacon-chain/state/stateutil/unrealized_justification_test.go @@ -3,9 +3,9 @@ package stateutil import ( "testing" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestState_UnrealizedCheckpointBalances(t *testing.T) { diff --git a/beacon-chain/state/stateutil/validator_map_handler.go b/beacon-chain/state/stateutil/validator_map_handler.go index 0b3da7253..a31499f32 100644 --- a/beacon-chain/state/stateutil/validator_map_handler.go +++ b/beacon-chain/state/stateutil/validator_map_handler.go @@ -3,10 +3,10 @@ package stateutil import ( "sync" - coreutils "github.com/prysmaticlabs/prysm/beacon-chain/core/transition/stateutils" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + coreutils "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition/stateutils" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ValidatorMapHandler is a container to hold the map and a reference tracker for how many diff --git a/beacon-chain/state/stateutil/validator_root.go b/beacon-chain/state/stateutil/validator_root.go index d2ab417d1..fd8606ad6 100644 --- a/beacon-chain/state/stateutil/validator_root.go +++ b/beacon-chain/state/stateutil/validator_root.go @@ -4,11 +4,11 @@ import ( "encoding/binary" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ValidatorRootWithHasher describes a method from which the hash tree root diff --git a/beacon-chain/state/stateutil/validator_root_test.go b/beacon-chain/state/stateutil/validator_root_test.go index 7fc05e26e..798f21ea0 100644 --- a/beacon-chain/state/stateutil/validator_root_test.go +++ b/beacon-chain/state/stateutil/validator_root_test.go @@ -3,7 +3,7 @@ package stateutil_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" ) func BenchmarkUint64ListRootWithRegistryLimit(b *testing.B) { diff --git a/beacon-chain/state/testing/BUILD.bazel b/beacon-chain/state/testing/BUILD.bazel index 939fd8214..ecfb15975 100644 --- a/beacon-chain/state/testing/BUILD.bazel +++ b/beacon-chain/state/testing/BUILD.bazel @@ -10,7 +10,7 @@ go_library( "getters_validator.go", "setters_participation.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing", visibility = ["//beacon-chain/state:__subpackages__"], deps = [ "//beacon-chain/state:go_default_library", diff --git a/beacon-chain/state/testing/getters.go b/beacon-chain/state/testing/getters.go index 252dfce79..bc434ff80 100644 --- a/beacon-chain/state/testing/getters.go +++ b/beacon-chain/state/testing/getters.go @@ -4,12 +4,12 @@ import ( "sync" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func VerifyBeaconStateSlotDataRace(t *testing.T, factory getState) { diff --git a/beacon-chain/state/testing/getters_block.go b/beacon-chain/state/testing/getters_block.go index 6d298266c..459b8d26e 100644 --- a/beacon-chain/state/testing/getters_block.go +++ b/beacon-chain/state/testing/getters_block.go @@ -3,11 +3,11 @@ package testing import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) type getStateWithLatestBlockHeader func(*ethpb.BeaconBlockHeader) (state.BeaconState, error) diff --git a/beacon-chain/state/testing/getters_checkpoint.go b/beacon-chain/state/testing/getters_checkpoint.go index 16c1929de..f1f826517 100644 --- a/beacon-chain/state/testing/getters_checkpoint.go +++ b/beacon-chain/state/testing/getters_checkpoint.go @@ -2,11 +2,11 @@ package testing import ( "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" "testing" ) diff --git a/beacon-chain/state/testing/getters_validator.go b/beacon-chain/state/testing/getters_validator.go index bfd9bfb49..b2eacf70c 100644 --- a/beacon-chain/state/testing/getters_validator.go +++ b/beacon-chain/state/testing/getters_validator.go @@ -3,9 +3,9 @@ package testing import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) type getState func() (state.BeaconState, error) diff --git a/beacon-chain/state/testing/setters_participation.go b/beacon-chain/state/testing/setters_participation.go index 0f8c8879c..0725420b5 100644 --- a/beacon-chain/state/testing/setters_participation.go +++ b/beacon-chain/state/testing/setters_participation.go @@ -3,9 +3,9 @@ package testing import ( "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func VerifyBeaconStateModifyCurrentParticipationField(t *testing.T, factory getState) { diff --git a/beacon-chain/state/types/BUILD.bazel b/beacon-chain/state/types/BUILD.bazel index 23a064230..c783bccfe 100644 --- a/beacon-chain/state/types/BUILD.bazel +++ b/beacon-chain/state/types/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["types.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/types", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//runtime/version:go_default_library", diff --git a/beacon-chain/state/types/types.go b/beacon-chain/state/types/types.go index 9f225833f..3fc4a48b0 100644 --- a/beacon-chain/state/types/types.go +++ b/beacon-chain/state/types/types.go @@ -2,7 +2,7 @@ package types import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // FieldIndex represents the relevant field position in the diff --git a/beacon-chain/state/types/types_test.go b/beacon-chain/state/types/types_test.go index 765748aa8..43716a268 100644 --- a/beacon-chain/state/types/types_test.go +++ b/beacon-chain/state/types/types_test.go @@ -3,7 +3,7 @@ package types import ( "testing" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestStateFieldIndexes(t *testing.T) { diff --git a/beacon-chain/state/v1/BUILD.bazel b/beacon-chain/state/v1/BUILD.bazel index ebfd83951..5d06a3fe0 100644 --- a/beacon-chain/state/v1/BUILD.bazel +++ b/beacon-chain/state/v1/BUILD.bazel @@ -29,7 +29,7 @@ go_library( "unsupported_getters.go", "unsupported_setters.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/v1", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1", visibility = ["//visibility:public"], deps = [ "//beacon-chain/state:go_default_library", diff --git a/beacon-chain/state/v1/field_roots.go b/beacon-chain/state/v1/field_roots.go index 0aa5725a0..671c8b765 100644 --- a/beacon-chain/state/v1/field_roots.go +++ b/beacon-chain/state/v1/field_roots.go @@ -3,8 +3,8 @@ package v1 import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // computeFieldRoots returns the hash tree root computations of every field in diff --git a/beacon-chain/state/v1/getters_attestation.go b/beacon-chain/state/v1/getters_attestation.go index fbdde3cbc..c25c17762 100644 --- a/beacon-chain/state/v1/getters_attestation.go +++ b/beacon-chain/state/v1/getters_attestation.go @@ -1,7 +1,7 @@ package v1 import ( - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // PreviousEpochAttestations corresponding to blocks on the beacon chain. diff --git a/beacon-chain/state/v1/getters_attestation_test.go b/beacon-chain/state/v1/getters_attestation_test.go index af85b2661..f61370bae 100644 --- a/beacon-chain/state/v1/getters_attestation_test.go +++ b/beacon-chain/state/v1/getters_attestation_test.go @@ -3,8 +3,8 @@ package v1 import ( "testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconState_PreviousEpochAttestations(t *testing.T) { diff --git a/beacon-chain/state/v1/getters_block.go b/beacon-chain/state/v1/getters_block.go index 64baa623c..22f7dfa86 100644 --- a/beacon-chain/state/v1/getters_block.go +++ b/beacon-chain/state/v1/getters_block.go @@ -1,8 +1,8 @@ package v1 import ( - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // LatestBlockHeader stored within the beacon state. diff --git a/beacon-chain/state/v1/getters_block_test.go b/beacon-chain/state/v1/getters_block_test.go index a6a027e48..621234567 100644 --- a/beacon-chain/state/v1/getters_block_test.go +++ b/beacon-chain/state/v1/getters_block_test.go @@ -3,9 +3,9 @@ package v1 import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_LatestBlockHeader(t *testing.T) { diff --git a/beacon-chain/state/v1/getters_checkpoint.go b/beacon-chain/state/v1/getters_checkpoint.go index 898f7848e..46de7eda8 100644 --- a/beacon-chain/state/v1/getters_checkpoint.go +++ b/beacon-chain/state/v1/getters_checkpoint.go @@ -4,8 +4,8 @@ import ( "bytes" "github.com/prysmaticlabs/go-bitfield" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // JustificationBits marking which epochs have been justified in the beacon chain. diff --git a/beacon-chain/state/v1/getters_checkpoint_test.go b/beacon-chain/state/v1/getters_checkpoint_test.go index dbe590a56..c22162168 100644 --- a/beacon-chain/state/v1/getters_checkpoint_test.go +++ b/beacon-chain/state/v1/getters_checkpoint_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_JustificationBitsNil(t *testing.T) { diff --git a/beacon-chain/state/v1/getters_eth1.go b/beacon-chain/state/v1/getters_eth1.go index 4f1ad84d1..d203f26f2 100644 --- a/beacon-chain/state/v1/getters_eth1.go +++ b/beacon-chain/state/v1/getters_eth1.go @@ -1,7 +1,7 @@ package v1 import ( - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Eth1Data corresponding to the proof-of-work chain information stored in the beacon state. diff --git a/beacon-chain/state/v1/getters_misc.go b/beacon-chain/state/v1/getters_misc.go index 6b3ba90c7..1b075d736 100644 --- a/beacon-chain/state/v1/getters_misc.go +++ b/beacon-chain/state/v1/getters_misc.go @@ -1,11 +1,11 @@ package v1 import ( - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // GenesisTime of the beacon state as a uint64. diff --git a/beacon-chain/state/v1/getters_randao.go b/beacon-chain/state/v1/getters_randao.go index b222ceb36..7b6672aaa 100644 --- a/beacon-chain/state/v1/getters_randao.go +++ b/beacon-chain/state/v1/getters_randao.go @@ -1,7 +1,7 @@ package v1 import ( - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) // RandaoMixes of block proposers on the beacon chain. diff --git a/beacon-chain/state/v1/getters_state.go b/beacon-chain/state/v1/getters_state.go index 42b1f9e93..abf55e16b 100644 --- a/beacon-chain/state/v1/getters_state.go +++ b/beacon-chain/state/v1/getters_state.go @@ -2,8 +2,8 @@ package v1 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // InnerStateUnsafe returns the pointer value of the underlying diff --git a/beacon-chain/state/v1/getters_test.go b/beacon-chain/state/v1/getters_test.go index c2bd2138c..fc279ac6f 100644 --- a/beacon-chain/state/v1/getters_test.go +++ b/beacon-chain/state/v1/getters_test.go @@ -4,11 +4,11 @@ import ( "runtime/debug" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconState_SlotDataRace(t *testing.T) { diff --git a/beacon-chain/state/v1/getters_validator.go b/beacon-chain/state/v1/getters_validator.go index 8e5c2d264..d6e6d0868 100644 --- a/beacon-chain/state/v1/getters_validator.go +++ b/beacon-chain/state/v1/getters_validator.go @@ -4,11 +4,11 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ValidatorIndexOutOfRangeError represents an error scenario where a validator does not exist diff --git a/beacon-chain/state/v1/getters_validator_test.go b/beacon-chain/state/v1/getters_validator_test.go index 17ef46017..5d871d1bf 100644 --- a/beacon-chain/state/v1/getters_validator_test.go +++ b/beacon-chain/state/v1/getters_validator_test.go @@ -3,10 +3,10 @@ package v1_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_ValidatorAtIndexReadOnly_HandlesNilSlice(t *testing.T) { diff --git a/beacon-chain/state/v1/proofs.go b/beacon-chain/state/v1/proofs.go index e8e3cba63..a6f1536c4 100644 --- a/beacon-chain/state/v1/proofs.go +++ b/beacon-chain/state/v1/proofs.go @@ -5,8 +5,8 @@ import ( "encoding/binary" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) const ( diff --git a/beacon-chain/state/v1/proofs_test.go b/beacon-chain/state/v1/proofs_test.go index 8f1260cda..51b9961cd 100644 --- a/beacon-chain/state/v1/proofs_test.go +++ b/beacon-chain/state/v1/proofs_test.go @@ -4,10 +4,10 @@ import ( "context" "testing" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestBeaconStateMerkleProofs(t *testing.T) { diff --git a/beacon-chain/state/v1/readonly_validator.go b/beacon-chain/state/v1/readonly_validator.go index 2168c635a..663f5b4c5 100644 --- a/beacon-chain/state/v1/readonly_validator.go +++ b/beacon-chain/state/v1/readonly_validator.go @@ -2,10 +2,10 @@ package v1 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) var ( diff --git a/beacon-chain/state/v1/readonly_validator_test.go b/beacon-chain/state/v1/readonly_validator_test.go index c94e4e808..ac2957480 100644 --- a/beacon-chain/state/v1/readonly_validator_test.go +++ b/beacon-chain/state/v1/readonly_validator_test.go @@ -3,12 +3,12 @@ package v1_test import ( "testing" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestReadOnlyValidator_ReturnsErrorOnNil(t *testing.T) { diff --git a/beacon-chain/state/v1/references_test.go b/beacon-chain/state/v1/references_test.go index 3c8e60807..573bd5cad 100644 --- a/beacon-chain/state/v1/references_test.go +++ b/beacon-chain/state/v1/references_test.go @@ -7,12 +7,12 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStateReferenceSharing_Finalizer(t *testing.T) { diff --git a/beacon-chain/state/v1/setters_attestation.go b/beacon-chain/state/v1/setters_attestation.go index 7b3fd41e5..b50c0f196 100644 --- a/beacon-chain/state/v1/setters_attestation.go +++ b/beacon-chain/state/v1/setters_attestation.go @@ -3,9 +3,9 @@ package v1 import ( "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // RotateAttestations sets the previous epoch attestations to the current epoch attestations and diff --git a/beacon-chain/state/v1/setters_attestation_test.go b/beacon-chain/state/v1/setters_attestation_test.go index 85f16f51f..be1e88418 100644 --- a/beacon-chain/state/v1/setters_attestation_test.go +++ b/beacon-chain/state/v1/setters_attestation_test.go @@ -4,12 +4,12 @@ import ( "context" "testing" - stateTypes "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + stateTypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconState_RotateAttestations(t *testing.T) { diff --git a/beacon-chain/state/v1/setters_block.go b/beacon-chain/state/v1/setters_block.go index 78195cc37..3aada4089 100644 --- a/beacon-chain/state/v1/setters_block.go +++ b/beacon-chain/state/v1/setters_block.go @@ -3,8 +3,8 @@ package v1 import ( "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetLatestBlockHeader in the beacon state. diff --git a/beacon-chain/state/v1/setters_checkpoint.go b/beacon-chain/state/v1/setters_checkpoint.go index bf84053ee..0e815d634 100644 --- a/beacon-chain/state/v1/setters_checkpoint.go +++ b/beacon-chain/state/v1/setters_checkpoint.go @@ -2,7 +2,7 @@ package v1 import ( "github.com/prysmaticlabs/go-bitfield" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetJustificationBits for the beacon state. diff --git a/beacon-chain/state/v1/setters_eth1.go b/beacon-chain/state/v1/setters_eth1.go index 53a568366..892f3b6b4 100644 --- a/beacon-chain/state/v1/setters_eth1.go +++ b/beacon-chain/state/v1/setters_eth1.go @@ -1,8 +1,8 @@ package v1 import ( - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetEth1Data for the beacon state. diff --git a/beacon-chain/state/v1/setters_misc.go b/beacon-chain/state/v1/setters_misc.go index b268383d9..9553cd283 100644 --- a/beacon-chain/state/v1/setters_misc.go +++ b/beacon-chain/state/v1/setters_misc.go @@ -2,11 +2,11 @@ package v1 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - stateTypes "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + stateTypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/state/v1/setters_randao.go b/beacon-chain/state/v1/setters_randao.go index 1f1f337b1..938952ab9 100644 --- a/beacon-chain/state/v1/setters_randao.go +++ b/beacon-chain/state/v1/setters_randao.go @@ -2,7 +2,7 @@ package v1 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" ) // SetRandaoMixes for the beacon state. Updates the entire diff --git a/beacon-chain/state/v1/setters_state.go b/beacon-chain/state/v1/setters_state.go index 1a7d93fad..ed8b1dc17 100644 --- a/beacon-chain/state/v1/setters_state.go +++ b/beacon-chain/state/v1/setters_state.go @@ -2,7 +2,7 @@ package v1 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" ) // SetStateRoots for the beacon state. Updates the state roots diff --git a/beacon-chain/state/v1/setters_validator.go b/beacon-chain/state/v1/setters_validator.go index b96f0d244..2e05213ed 100644 --- a/beacon-chain/state/v1/setters_validator.go +++ b/beacon-chain/state/v1/setters_validator.go @@ -2,10 +2,10 @@ package v1 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetValidators for the beacon state. Updates the entire diff --git a/beacon-chain/state/v1/spec_parameters.go b/beacon-chain/state/v1/spec_parameters.go index d14aff610..376e56b74 100644 --- a/beacon-chain/state/v1/spec_parameters.go +++ b/beacon-chain/state/v1/spec_parameters.go @@ -1,6 +1,6 @@ package v1 -import "github.com/prysmaticlabs/prysm/config/params" +import "github.com/prysmaticlabs/prysm/v3/config/params" func (b *BeaconState) ProportionalSlashingMultiplier() (uint64, error) { return params.BeaconConfig().ProportionalSlashingMultiplier, nil diff --git a/beacon-chain/state/v1/state_fuzz_test.go b/beacon-chain/state/v1/state_fuzz_test.go index ac3ed0b42..6c7102860 100644 --- a/beacon-chain/state/v1/state_fuzz_test.go +++ b/beacon-chain/state/v1/state_fuzz_test.go @@ -7,16 +7,16 @@ import ( "encoding/base64" "testing" - coreState "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - native "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + coreState "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + native "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func FuzzV1StateHashTreeRoot(f *testing.F) { diff --git a/beacon-chain/state/v1/state_test.go b/beacon-chain/state/v1/state_test.go index 3ebf55d94..0685bbf60 100644 --- a/beacon-chain/state/v1/state_test.go +++ b/beacon-chain/state/v1/state_test.go @@ -7,14 +7,14 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestValidatorMap_DistinctCopy(t *testing.T) { diff --git a/beacon-chain/state/v1/state_trie.go b/beacon-chain/state/v1/state_trie.go index cc50f61aa..76ba8150d 100644 --- a/beacon-chain/state/v1/state_trie.go +++ b/beacon-chain/state/v1/state_trie.go @@ -6,19 +6,19 @@ import ( "sort" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/state/v1/state_trie_test.go b/beacon-chain/state/v1/state_trie_test.go index 996b076a1..d98d1f4e5 100644 --- a/beacon-chain/state/v1/state_trie_test.go +++ b/beacon-chain/state/v1/state_trie_test.go @@ -5,14 +5,14 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestInitializeFromProto(t *testing.T) { diff --git a/beacon-chain/state/v1/types.go b/beacon-chain/state/v1/types.go index e668ba810..2d3994f0c 100644 --- a/beacon-chain/state/v1/types.go +++ b/beacon-chain/state/v1/types.go @@ -4,12 +4,12 @@ import ( "sync" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Ensure type BeaconState below implements BeaconState interface. diff --git a/beacon-chain/state/v1/types_test.go b/beacon-chain/state/v1/types_test.go index ea221b37d..2b4b3d3b2 100644 --- a/beacon-chain/state/v1/types_test.go +++ b/beacon-chain/state/v1/types_test.go @@ -6,14 +6,14 @@ import ( "strconv" "testing" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" log "github.com/sirupsen/logrus" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/state/v1/unsupported_getters.go b/beacon-chain/state/v1/unsupported_getters.go index cf01bd4ba..f034afd21 100644 --- a/beacon-chain/state/v1/unsupported_getters.go +++ b/beacon-chain/state/v1/unsupported_getters.go @@ -2,8 +2,8 @@ package v1 import ( "github.com/pkg/errors" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // CurrentEpochParticipation is not supported for phase 0 beacon state. diff --git a/beacon-chain/state/v1/unsupported_setters.go b/beacon-chain/state/v1/unsupported_setters.go index 24b55989f..da6f50f01 100644 --- a/beacon-chain/state/v1/unsupported_setters.go +++ b/beacon-chain/state/v1/unsupported_setters.go @@ -2,8 +2,8 @@ package v1 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // AppendCurrentParticipationBits is not supported for phase 0 beacon state. diff --git a/beacon-chain/state/v2/BUILD.bazel b/beacon-chain/state/v2/BUILD.bazel index cd406be0f..cfc3f1fa9 100644 --- a/beacon-chain/state/v2/BUILD.bazel +++ b/beacon-chain/state/v2/BUILD.bazel @@ -30,7 +30,7 @@ go_library( "state_trie.go", "types.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/v2", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/time:go_default_library", diff --git a/beacon-chain/state/v2/deprecated_getters.go b/beacon-chain/state/v2/deprecated_getters.go index 20b25519c..579514b7e 100644 --- a/beacon-chain/state/v2/deprecated_getters.go +++ b/beacon-chain/state/v2/deprecated_getters.go @@ -2,8 +2,8 @@ package v2 import ( "github.com/pkg/errors" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // PreviousEpochAttestations is not supported for HF1 beacon state. diff --git a/beacon-chain/state/v2/deprecated_getters_test.go b/beacon-chain/state/v2/deprecated_getters_test.go index c63ba5874..b3bedfed1 100644 --- a/beacon-chain/state/v2/deprecated_getters_test.go +++ b/beacon-chain/state/v2/deprecated_getters_test.go @@ -3,8 +3,8 @@ package v2 import ( "testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconState_PreviousEpochAttestations(t *testing.T) { diff --git a/beacon-chain/state/v2/deprecated_setters.go b/beacon-chain/state/v2/deprecated_setters.go index 1b9281e7f..314064ff8 100644 --- a/beacon-chain/state/v2/deprecated_setters.go +++ b/beacon-chain/state/v2/deprecated_setters.go @@ -2,8 +2,8 @@ package v2 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // AppendCurrentEpochAttestations is not supported for HF1 beacon state. diff --git a/beacon-chain/state/v2/deprecated_setters_test.go b/beacon-chain/state/v2/deprecated_setters_test.go index c1fe140fe..c74963a03 100644 --- a/beacon-chain/state/v2/deprecated_setters_test.go +++ b/beacon-chain/state/v2/deprecated_setters_test.go @@ -3,8 +3,8 @@ package v2 import ( "testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconState_AppendCurrentEpochAttestations(t *testing.T) { diff --git a/beacon-chain/state/v2/field_roots.go b/beacon-chain/state/v2/field_roots.go index db62145ca..3200b505a 100644 --- a/beacon-chain/state/v2/field_roots.go +++ b/beacon-chain/state/v2/field_roots.go @@ -3,8 +3,8 @@ package v2 import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // computeFieldRoots returns the hash tree root computations of every field in diff --git a/beacon-chain/state/v2/getters_block.go b/beacon-chain/state/v2/getters_block.go index ad321824b..98948a756 100644 --- a/beacon-chain/state/v2/getters_block.go +++ b/beacon-chain/state/v2/getters_block.go @@ -1,8 +1,8 @@ package v2 import ( - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // LatestBlockHeader stored within the beacon state. diff --git a/beacon-chain/state/v2/getters_block_test.go b/beacon-chain/state/v2/getters_block_test.go index 3115655cd..289e7b2db 100644 --- a/beacon-chain/state/v2/getters_block_test.go +++ b/beacon-chain/state/v2/getters_block_test.go @@ -3,9 +3,9 @@ package v2 import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_LatestBlockHeader(t *testing.T) { diff --git a/beacon-chain/state/v2/getters_checkpoint.go b/beacon-chain/state/v2/getters_checkpoint.go index 71da5cadf..807bdb007 100644 --- a/beacon-chain/state/v2/getters_checkpoint.go +++ b/beacon-chain/state/v2/getters_checkpoint.go @@ -4,8 +4,8 @@ import ( "bytes" "github.com/prysmaticlabs/go-bitfield" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // JustificationBits marking which epochs have been justified in the beacon chain. diff --git a/beacon-chain/state/v2/getters_checkpoint_test.go b/beacon-chain/state/v2/getters_checkpoint_test.go index 0090f5dc8..6cb42bf00 100644 --- a/beacon-chain/state/v2/getters_checkpoint_test.go +++ b/beacon-chain/state/v2/getters_checkpoint_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_JustificationBitsNil(t *testing.T) { diff --git a/beacon-chain/state/v2/getters_eth1.go b/beacon-chain/state/v2/getters_eth1.go index 2b35eed94..22f038396 100644 --- a/beacon-chain/state/v2/getters_eth1.go +++ b/beacon-chain/state/v2/getters_eth1.go @@ -1,7 +1,7 @@ package v2 import ( - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Eth1Data corresponding to the proof-of-work chain information stored in the beacon state. diff --git a/beacon-chain/state/v2/getters_misc.go b/beacon-chain/state/v2/getters_misc.go index 587a15552..4369d8e04 100644 --- a/beacon-chain/state/v2/getters_misc.go +++ b/beacon-chain/state/v2/getters_misc.go @@ -1,12 +1,12 @@ package v2 import ( - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // GenesisTime of the beacon state as a uint64. diff --git a/beacon-chain/state/v2/getters_participation.go b/beacon-chain/state/v2/getters_participation.go index 90009b88c..661155224 100644 --- a/beacon-chain/state/v2/getters_participation.go +++ b/beacon-chain/state/v2/getters_participation.go @@ -1,8 +1,8 @@ package v2 import ( - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" ) // CurrentEpochParticipation corresponding to participation bits on the beacon chain. diff --git a/beacon-chain/state/v2/getters_participation_test.go b/beacon-chain/state/v2/getters_participation_test.go index bbe574e52..bfc8d4ed4 100644 --- a/beacon-chain/state/v2/getters_participation_test.go +++ b/beacon-chain/state/v2/getters_participation_test.go @@ -3,9 +3,9 @@ package v2 import ( "testing" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestState_UnrealizedCheckpointBalances(t *testing.T) { diff --git a/beacon-chain/state/v2/getters_randao.go b/beacon-chain/state/v2/getters_randao.go index 8f74d0168..b9a790ca6 100644 --- a/beacon-chain/state/v2/getters_randao.go +++ b/beacon-chain/state/v2/getters_randao.go @@ -1,7 +1,7 @@ package v2 import ( - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) // RandaoMixes of block proposers on the beacon chain. diff --git a/beacon-chain/state/v2/getters_state.go b/beacon-chain/state/v2/getters_state.go index 3c328379d..1ee365677 100644 --- a/beacon-chain/state/v2/getters_state.go +++ b/beacon-chain/state/v2/getters_state.go @@ -2,8 +2,8 @@ package v2 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // InnerStateUnsafe returns the pointer value of the underlying diff --git a/beacon-chain/state/v2/getters_sync_committee.go b/beacon-chain/state/v2/getters_sync_committee.go index 084b7a19c..b849f4b55 100644 --- a/beacon-chain/state/v2/getters_sync_committee.go +++ b/beacon-chain/state/v2/getters_sync_committee.go @@ -1,8 +1,8 @@ package v2 import ( - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // currentSyncCommittee of the current sync committee in beacon chain state. diff --git a/beacon-chain/state/v2/getters_test.go b/beacon-chain/state/v2/getters_test.go index d11641527..fd67106ad 100644 --- a/beacon-chain/state/v2/getters_test.go +++ b/beacon-chain/state/v2/getters_test.go @@ -4,11 +4,11 @@ import ( "runtime/debug" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconState_SlotDataRace(t *testing.T) { diff --git a/beacon-chain/state/v2/getters_validator.go b/beacon-chain/state/v2/getters_validator.go index 1edf411f1..82d348970 100644 --- a/beacon-chain/state/v2/getters_validator.go +++ b/beacon-chain/state/v2/getters_validator.go @@ -4,12 +4,12 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ValidatorIndexOutOfRangeError represents an error scenario where a validator does not exist diff --git a/beacon-chain/state/v2/getters_validator_test.go b/beacon-chain/state/v2/getters_validator_test.go index 37c5f8638..32dbd2c52 100644 --- a/beacon-chain/state/v2/getters_validator_test.go +++ b/beacon-chain/state/v2/getters_validator_test.go @@ -3,10 +3,10 @@ package v2_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_ValidatorAtIndexReadOnly_HandlesNilSlice(t *testing.T) { diff --git a/beacon-chain/state/v2/proofs.go b/beacon-chain/state/v2/proofs.go index 25ff918db..1831f4d9b 100644 --- a/beacon-chain/state/v2/proofs.go +++ b/beacon-chain/state/v2/proofs.go @@ -4,8 +4,8 @@ import ( "context" "encoding/binary" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) const ( diff --git a/beacon-chain/state/v2/proofs_test.go b/beacon-chain/state/v2/proofs_test.go index 25905bb0c..9811a6177 100644 --- a/beacon-chain/state/v2/proofs_test.go +++ b/beacon-chain/state/v2/proofs_test.go @@ -4,11 +4,11 @@ import ( "context" "testing" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestBeaconStateMerkleProofs(t *testing.T) { diff --git a/beacon-chain/state/v2/references_test.go b/beacon-chain/state/v2/references_test.go index b9a95d1af..fef10ffe1 100644 --- a/beacon-chain/state/v2/references_test.go +++ b/beacon-chain/state/v2/references_test.go @@ -6,12 +6,12 @@ import ( "runtime/debug" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStateReferenceSharing_Finalizer(t *testing.T) { diff --git a/beacon-chain/state/v2/setters_block.go b/beacon-chain/state/v2/setters_block.go index 966c434dc..16177948b 100644 --- a/beacon-chain/state/v2/setters_block.go +++ b/beacon-chain/state/v2/setters_block.go @@ -3,8 +3,8 @@ package v2 import ( "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetLatestBlockHeader in the beacon state. diff --git a/beacon-chain/state/v2/setters_checkpoint.go b/beacon-chain/state/v2/setters_checkpoint.go index 666ef8fff..54110ad76 100644 --- a/beacon-chain/state/v2/setters_checkpoint.go +++ b/beacon-chain/state/v2/setters_checkpoint.go @@ -2,7 +2,7 @@ package v2 import ( "github.com/prysmaticlabs/go-bitfield" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetJustificationBits for the beacon state. diff --git a/beacon-chain/state/v2/setters_eth1.go b/beacon-chain/state/v2/setters_eth1.go index f3050d30f..c2d6a9a6e 100644 --- a/beacon-chain/state/v2/setters_eth1.go +++ b/beacon-chain/state/v2/setters_eth1.go @@ -1,8 +1,8 @@ package v2 import ( - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetEth1Data for the beacon state. diff --git a/beacon-chain/state/v2/setters_misc.go b/beacon-chain/state/v2/setters_misc.go index 2b7ecaaee..0485e816b 100644 --- a/beacon-chain/state/v2/setters_misc.go +++ b/beacon-chain/state/v2/setters_misc.go @@ -2,11 +2,11 @@ package v2 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - stateTypes "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + stateTypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/state/v2/setters_participation.go b/beacon-chain/state/v2/setters_participation.go index 6c25f97d1..a6b5058ad 100644 --- a/beacon-chain/state/v2/setters_participation.go +++ b/beacon-chain/state/v2/setters_participation.go @@ -1,7 +1,7 @@ package v2 import ( - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" ) // SetPreviousParticipationBits for the beacon state. Updates the entire diff --git a/beacon-chain/state/v2/setters_randao.go b/beacon-chain/state/v2/setters_randao.go index 50f1d05d6..7869740b7 100644 --- a/beacon-chain/state/v2/setters_randao.go +++ b/beacon-chain/state/v2/setters_randao.go @@ -2,7 +2,7 @@ package v2 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" ) // SetRandaoMixes for the beacon state. Updates the entire diff --git a/beacon-chain/state/v2/setters_state.go b/beacon-chain/state/v2/setters_state.go index e64df5335..f70954f2d 100644 --- a/beacon-chain/state/v2/setters_state.go +++ b/beacon-chain/state/v2/setters_state.go @@ -2,7 +2,7 @@ package v2 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" ) // SetStateRoots for the beacon state. Updates the state roots diff --git a/beacon-chain/state/v2/setters_sync_committee.go b/beacon-chain/state/v2/setters_sync_committee.go index c069cf3c1..3cd393839 100644 --- a/beacon-chain/state/v2/setters_sync_committee.go +++ b/beacon-chain/state/v2/setters_sync_committee.go @@ -1,7 +1,7 @@ package v2 import ( - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetCurrentSyncCommittee for the beacon state. diff --git a/beacon-chain/state/v2/setters_test.go b/beacon-chain/state/v2/setters_test.go index 1904f95d6..396cf1c44 100644 --- a/beacon-chain/state/v2/setters_test.go +++ b/beacon-chain/state/v2/setters_test.go @@ -6,17 +6,17 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - stateTypes "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + stateTypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestAppendBeyondIndicesLimit(t *testing.T) { diff --git a/beacon-chain/state/v2/setters_validator.go b/beacon-chain/state/v2/setters_validator.go index e3a2b47ba..57c486614 100644 --- a/beacon-chain/state/v2/setters_validator.go +++ b/beacon-chain/state/v2/setters_validator.go @@ -2,10 +2,10 @@ package v2 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetValidators for the beacon state. Updates the entire diff --git a/beacon-chain/state/v2/spec_parameters.go b/beacon-chain/state/v2/spec_parameters.go index 6c48bb47a..89c20f796 100644 --- a/beacon-chain/state/v2/spec_parameters.go +++ b/beacon-chain/state/v2/spec_parameters.go @@ -1,6 +1,6 @@ package v2 -import "github.com/prysmaticlabs/prysm/config/params" +import "github.com/prysmaticlabs/prysm/v3/config/params" func (b *BeaconState) ProportionalSlashingMultiplier() (uint64, error) { return params.BeaconConfig().ProportionalSlashingMultiplierAltair, nil diff --git a/beacon-chain/state/v2/state_fuzz_test.go b/beacon-chain/state/v2/state_fuzz_test.go index daaef650c..8cc5214a7 100644 --- a/beacon-chain/state/v2/state_fuzz_test.go +++ b/beacon-chain/state/v2/state_fuzz_test.go @@ -6,15 +6,15 @@ import ( "context" "testing" - coreState "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - native "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/util" + coreState "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + native "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func FuzzV2StateHashTreeRoot(f *testing.F) { diff --git a/beacon-chain/state/v2/state_test.go b/beacon-chain/state/v2/state_test.go index fea327b83..9c0af5c35 100644 --- a/beacon-chain/state/v2/state_test.go +++ b/beacon-chain/state/v2/state_test.go @@ -4,11 +4,11 @@ import ( "context" "testing" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestBeaconState_ValidatorMutation_Altair(t *testing.T) { diff --git a/beacon-chain/state/v2/state_trie.go b/beacon-chain/state/v2/state_trie.go index 9c892db96..aff07f49d 100644 --- a/beacon-chain/state/v2/state_trie.go +++ b/beacon-chain/state/v2/state_trie.go @@ -6,19 +6,19 @@ import ( "sort" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/state/v2/state_trie_test.go b/beacon-chain/state/v2/state_trie_test.go index b928e0dc8..d93f3e27a 100644 --- a/beacon-chain/state/v2/state_trie_test.go +++ b/beacon-chain/state/v2/state_trie_test.go @@ -5,13 +5,13 @@ import ( "sync" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestValidatorMap_DistinctCopy(t *testing.T) { diff --git a/beacon-chain/state/v2/types.go b/beacon-chain/state/v2/types.go index 766936f44..9c25012f6 100644 --- a/beacon-chain/state/v2/types.go +++ b/beacon-chain/state/v2/types.go @@ -4,11 +4,11 @@ import ( "sync" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func init() { diff --git a/beacon-chain/state/v3/BUILD.bazel b/beacon-chain/state/v3/BUILD.bazel index 25c93213d..874f25a88 100644 --- a/beacon-chain/state/v3/BUILD.bazel +++ b/beacon-chain/state/v3/BUILD.bazel @@ -32,7 +32,7 @@ go_library( "state_trie.go", "types.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/v3", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/time:go_default_library", diff --git a/beacon-chain/state/v3/deprecated_getters.go b/beacon-chain/state/v3/deprecated_getters.go index d02110aeb..ca92ef49d 100644 --- a/beacon-chain/state/v3/deprecated_getters.go +++ b/beacon-chain/state/v3/deprecated_getters.go @@ -2,7 +2,7 @@ package v3 import ( "github.com/pkg/errors" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // PreviousEpochAttestations is not supported for HF1 beacon state. diff --git a/beacon-chain/state/v3/deprecated_getters_test.go b/beacon-chain/state/v3/deprecated_getters_test.go index 07d9bc19f..e2f1006b8 100644 --- a/beacon-chain/state/v3/deprecated_getters_test.go +++ b/beacon-chain/state/v3/deprecated_getters_test.go @@ -3,8 +3,8 @@ package v3 import ( "testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconState_CurrentEpochAttestations(t *testing.T) { diff --git a/beacon-chain/state/v3/deprecated_setters.go b/beacon-chain/state/v3/deprecated_setters.go index 8b07071cf..7f761d780 100644 --- a/beacon-chain/state/v3/deprecated_setters.go +++ b/beacon-chain/state/v3/deprecated_setters.go @@ -2,7 +2,7 @@ package v3 import ( "github.com/pkg/errors" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // AppendCurrentEpochAttestations is not supported for HF1 beacon state. diff --git a/beacon-chain/state/v3/deprecated_setters_test.go b/beacon-chain/state/v3/deprecated_setters_test.go index 56c53c1e0..924a89ef0 100644 --- a/beacon-chain/state/v3/deprecated_setters_test.go +++ b/beacon-chain/state/v3/deprecated_setters_test.go @@ -3,8 +3,8 @@ package v3 import ( "testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconState_AppendCurrentEpochAttestations(t *testing.T) { diff --git a/beacon-chain/state/v3/field_roots.go b/beacon-chain/state/v3/field_roots.go index 588c3f36a..c16b51960 100644 --- a/beacon-chain/state/v3/field_roots.go +++ b/beacon-chain/state/v3/field_roots.go @@ -3,8 +3,8 @@ package v3 import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // computeFieldRoots returns the hash tree root computations of every field in diff --git a/beacon-chain/state/v3/getters_block.go b/beacon-chain/state/v3/getters_block.go index b9f4bb5b3..ec59a28bb 100644 --- a/beacon-chain/state/v3/getters_block.go +++ b/beacon-chain/state/v3/getters_block.go @@ -1,8 +1,8 @@ package v3 import ( - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // LatestBlockHeader stored within the beacon state. diff --git a/beacon-chain/state/v3/getters_block_test.go b/beacon-chain/state/v3/getters_block_test.go index 2a5febe12..d7e63ee6f 100644 --- a/beacon-chain/state/v3/getters_block_test.go +++ b/beacon-chain/state/v3/getters_block_test.go @@ -3,9 +3,9 @@ package v3 import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_LatestBlockHeader(t *testing.T) { diff --git a/beacon-chain/state/v3/getters_checkpoint.go b/beacon-chain/state/v3/getters_checkpoint.go index 261f21fa1..94443bff6 100644 --- a/beacon-chain/state/v3/getters_checkpoint.go +++ b/beacon-chain/state/v3/getters_checkpoint.go @@ -4,8 +4,8 @@ import ( "bytes" "github.com/prysmaticlabs/go-bitfield" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // JustificationBits marking which epochs have been justified in the beacon chain. diff --git a/beacon-chain/state/v3/getters_checkpoint_test.go b/beacon-chain/state/v3/getters_checkpoint_test.go index 28eb6d14f..a85c1969b 100644 --- a/beacon-chain/state/v3/getters_checkpoint_test.go +++ b/beacon-chain/state/v3/getters_checkpoint_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_JustificationBitsNil(t *testing.T) { diff --git a/beacon-chain/state/v3/getters_eth1.go b/beacon-chain/state/v3/getters_eth1.go index 04449eb9d..c72e59083 100644 --- a/beacon-chain/state/v3/getters_eth1.go +++ b/beacon-chain/state/v3/getters_eth1.go @@ -1,7 +1,7 @@ package v3 import ( - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Eth1Data corresponding to the proof-of-work chain information stored in the beacon state. diff --git a/beacon-chain/state/v3/getters_misc.go b/beacon-chain/state/v3/getters_misc.go index 2394c613d..f6c1bb489 100644 --- a/beacon-chain/state/v3/getters_misc.go +++ b/beacon-chain/state/v3/getters_misc.go @@ -1,11 +1,11 @@ package v3 import ( - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // GenesisTime of the beacon state as a uint64. diff --git a/beacon-chain/state/v3/getters_participation.go b/beacon-chain/state/v3/getters_participation.go index c24fbde62..026c8d02a 100644 --- a/beacon-chain/state/v3/getters_participation.go +++ b/beacon-chain/state/v3/getters_participation.go @@ -1,8 +1,8 @@ package v3 import ( - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" ) // CurrentEpochParticipation corresponding to participation bits on the beacon chain. diff --git a/beacon-chain/state/v3/getters_participation_test.go b/beacon-chain/state/v3/getters_participation_test.go index 1b92ef04a..84bbc178f 100644 --- a/beacon-chain/state/v3/getters_participation_test.go +++ b/beacon-chain/state/v3/getters_participation_test.go @@ -3,9 +3,9 @@ package v3 import ( "testing" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestState_UnrealizedCheckpointBalances(t *testing.T) { diff --git a/beacon-chain/state/v3/getters_payload_header.go b/beacon-chain/state/v3/getters_payload_header.go index b808af315..8007e35b8 100644 --- a/beacon-chain/state/v3/getters_payload_header.go +++ b/beacon-chain/state/v3/getters_payload_header.go @@ -1,8 +1,8 @@ package v3 import ( - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // LatestExecutionPayloadHeader of the beacon state. diff --git a/beacon-chain/state/v3/getters_randao.go b/beacon-chain/state/v3/getters_randao.go index 660e330ab..e7324004f 100644 --- a/beacon-chain/state/v3/getters_randao.go +++ b/beacon-chain/state/v3/getters_randao.go @@ -1,7 +1,7 @@ package v3 import ( - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) // RandaoMixes of block proposers on the beacon chain. diff --git a/beacon-chain/state/v3/getters_state.go b/beacon-chain/state/v3/getters_state.go index 747a90d71..37b69633c 100644 --- a/beacon-chain/state/v3/getters_state.go +++ b/beacon-chain/state/v3/getters_state.go @@ -2,8 +2,8 @@ package v3 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // InnerStateUnsafe returns the pointer value of the underlying diff --git a/beacon-chain/state/v3/getters_sync_committee.go b/beacon-chain/state/v3/getters_sync_committee.go index c554b1f1d..995f57ec5 100644 --- a/beacon-chain/state/v3/getters_sync_committee.go +++ b/beacon-chain/state/v3/getters_sync_committee.go @@ -1,8 +1,8 @@ package v3 import ( - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // currentSyncCommittee of the current sync committee in beacon chain state. diff --git a/beacon-chain/state/v3/getters_test.go b/beacon-chain/state/v3/getters_test.go index f84cec720..3870af536 100644 --- a/beacon-chain/state/v3/getters_test.go +++ b/beacon-chain/state/v3/getters_test.go @@ -4,11 +4,11 @@ import ( "runtime/debug" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconState_SlotDataRace(t *testing.T) { diff --git a/beacon-chain/state/v3/getters_validator.go b/beacon-chain/state/v3/getters_validator.go index a1605ce9e..11d67986b 100644 --- a/beacon-chain/state/v3/getters_validator.go +++ b/beacon-chain/state/v3/getters_validator.go @@ -4,12 +4,12 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ValidatorIndexOutOfRangeError represents an error scenario where a validator does not exist diff --git a/beacon-chain/state/v3/getters_validator_test.go b/beacon-chain/state/v3/getters_validator_test.go index 91fbf2745..02d0e260e 100644 --- a/beacon-chain/state/v3/getters_validator_test.go +++ b/beacon-chain/state/v3/getters_validator_test.go @@ -3,10 +3,10 @@ package v3_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestBeaconState_ValidatorAtIndexReadOnly_HandlesNilSlice(t *testing.T) { diff --git a/beacon-chain/state/v3/proofs.go b/beacon-chain/state/v3/proofs.go index f397e3690..5ba251d21 100644 --- a/beacon-chain/state/v3/proofs.go +++ b/beacon-chain/state/v3/proofs.go @@ -4,8 +4,8 @@ import ( "context" "encoding/binary" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) const ( diff --git a/beacon-chain/state/v3/proofs_test.go b/beacon-chain/state/v3/proofs_test.go index 818bf17df..6f75a8fe0 100644 --- a/beacon-chain/state/v3/proofs_test.go +++ b/beacon-chain/state/v3/proofs_test.go @@ -4,11 +4,11 @@ import ( "context" "testing" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestBeaconStateMerkleProofs(t *testing.T) { diff --git a/beacon-chain/state/v3/references_test.go b/beacon-chain/state/v3/references_test.go index 1468a231e..620d2bf73 100644 --- a/beacon-chain/state/v3/references_test.go +++ b/beacon-chain/state/v3/references_test.go @@ -6,12 +6,12 @@ import ( "runtime/debug" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStateReferenceSharing_Finalizer(t *testing.T) { diff --git a/beacon-chain/state/v3/setters_block.go b/beacon-chain/state/v3/setters_block.go index 81fa29f32..dae6b1887 100644 --- a/beacon-chain/state/v3/setters_block.go +++ b/beacon-chain/state/v3/setters_block.go @@ -3,8 +3,8 @@ package v3 import ( "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetLatestBlockHeader in the beacon state. diff --git a/beacon-chain/state/v3/setters_checkpoint.go b/beacon-chain/state/v3/setters_checkpoint.go index 601f89dab..8f027b422 100644 --- a/beacon-chain/state/v3/setters_checkpoint.go +++ b/beacon-chain/state/v3/setters_checkpoint.go @@ -2,7 +2,7 @@ package v3 import ( "github.com/prysmaticlabs/go-bitfield" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetJustificationBits for the beacon state. diff --git a/beacon-chain/state/v3/setters_eth1.go b/beacon-chain/state/v3/setters_eth1.go index 315bafe4b..0684fccb0 100644 --- a/beacon-chain/state/v3/setters_eth1.go +++ b/beacon-chain/state/v3/setters_eth1.go @@ -1,8 +1,8 @@ package v3 import ( - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetEth1Data for the beacon state. diff --git a/beacon-chain/state/v3/setters_misc.go b/beacon-chain/state/v3/setters_misc.go index 4ea0b7874..170f4099e 100644 --- a/beacon-chain/state/v3/setters_misc.go +++ b/beacon-chain/state/v3/setters_misc.go @@ -2,11 +2,11 @@ package v3 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - stateTypes "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + stateTypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/state/v3/setters_participation.go b/beacon-chain/state/v3/setters_participation.go index 3bb442706..4722b10e2 100644 --- a/beacon-chain/state/v3/setters_participation.go +++ b/beacon-chain/state/v3/setters_participation.go @@ -1,7 +1,7 @@ package v3 import ( - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" ) // SetPreviousParticipationBits for the beacon state. Updates the entire diff --git a/beacon-chain/state/v3/setters_payload_header.go b/beacon-chain/state/v3/setters_payload_header.go index ee6ac9644..f040d5684 100644 --- a/beacon-chain/state/v3/setters_payload_header.go +++ b/beacon-chain/state/v3/setters_payload_header.go @@ -2,8 +2,8 @@ package v3 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" ) // SetLatestExecutionPayloadHeader for the beacon state. diff --git a/beacon-chain/state/v3/setters_randao.go b/beacon-chain/state/v3/setters_randao.go index 017ca6a57..4d0c311f5 100644 --- a/beacon-chain/state/v3/setters_randao.go +++ b/beacon-chain/state/v3/setters_randao.go @@ -2,7 +2,7 @@ package v3 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" ) // SetRandaoMixes for the beacon state. Updates the entire diff --git a/beacon-chain/state/v3/setters_state.go b/beacon-chain/state/v3/setters_state.go index 24a83d2fa..8447055cb 100644 --- a/beacon-chain/state/v3/setters_state.go +++ b/beacon-chain/state/v3/setters_state.go @@ -2,7 +2,7 @@ package v3 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" ) // SetStateRoots for the beacon state. Updates the state roots diff --git a/beacon-chain/state/v3/setters_sync_committee.go b/beacon-chain/state/v3/setters_sync_committee.go index 7b5fa8372..906ffee1e 100644 --- a/beacon-chain/state/v3/setters_sync_committee.go +++ b/beacon-chain/state/v3/setters_sync_committee.go @@ -1,7 +1,7 @@ package v3 import ( - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetCurrentSyncCommittee for the beacon state. diff --git a/beacon-chain/state/v3/setters_test.go b/beacon-chain/state/v3/setters_test.go index 0651a40a6..fa2d07ee1 100644 --- a/beacon-chain/state/v3/setters_test.go +++ b/beacon-chain/state/v3/setters_test.go @@ -6,18 +6,18 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - testtmpl "github.com/prysmaticlabs/prysm/beacon-chain/state/testing" - stateTypes "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + testtmpl "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/testing" + stateTypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestAppendBeyondIndicesLimit(t *testing.T) { diff --git a/beacon-chain/state/v3/setters_validator.go b/beacon-chain/state/v3/setters_validator.go index 105a11cc9..19be115e7 100644 --- a/beacon-chain/state/v3/setters_validator.go +++ b/beacon-chain/state/v3/setters_validator.go @@ -2,10 +2,10 @@ package v3 import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SetValidators for the beacon state. Updates the entire diff --git a/beacon-chain/state/v3/spec_parameters.go b/beacon-chain/state/v3/spec_parameters.go index ba636e709..d68005a7f 100644 --- a/beacon-chain/state/v3/spec_parameters.go +++ b/beacon-chain/state/v3/spec_parameters.go @@ -1,6 +1,6 @@ package v3 -import "github.com/prysmaticlabs/prysm/config/params" +import "github.com/prysmaticlabs/prysm/v3/config/params" func (b *BeaconState) ProportionalSlashingMultiplier() (uint64, error) { return params.BeaconConfig().ProportionalSlashingMultiplierBellatrix, nil diff --git a/beacon-chain/state/v3/state_fuzz_test.go b/beacon-chain/state/v3/state_fuzz_test.go index b88ad158f..8d5aa94ef 100644 --- a/beacon-chain/state/v3/state_fuzz_test.go +++ b/beacon-chain/state/v3/state_fuzz_test.go @@ -6,15 +6,15 @@ import ( "context" "testing" - coreState "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - native "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/util" + coreState "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + native "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func FuzzV3StateHashTreeRoot(f *testing.F) { diff --git a/beacon-chain/state/v3/state_test.go b/beacon-chain/state/v3/state_test.go index 99805092b..9eb03ac8d 100644 --- a/beacon-chain/state/v3/state_test.go +++ b/beacon-chain/state/v3/state_test.go @@ -4,11 +4,11 @@ import ( "context" "testing" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestBeaconState_ValidatorMutation_Bellatrix(t *testing.T) { diff --git a/beacon-chain/state/v3/state_trie.go b/beacon-chain/state/v3/state_trie.go index ab0bd4b90..33fe73717 100644 --- a/beacon-chain/state/v3/state_trie.go +++ b/beacon-chain/state/v3/state_trie.go @@ -6,19 +6,19 @@ import ( "sort" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/state/v3/state_trie_test.go b/beacon-chain/state/v3/state_trie_test.go index fabd4a5c8..e8231e0f9 100644 --- a/beacon-chain/state/v3/state_trie_test.go +++ b/beacon-chain/state/v3/state_trie_test.go @@ -5,13 +5,13 @@ import ( "sync" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestValidatorMap_DistinctCopy(t *testing.T) { diff --git a/beacon-chain/state/v3/types.go b/beacon-chain/state/v3/types.go index f3d65123d..62a62d0ea 100644 --- a/beacon-chain/state/v3/types.go +++ b/beacon-chain/state/v3/types.go @@ -4,11 +4,11 @@ import ( "sync" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state/fieldtrie" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - "github.com/prysmaticlabs/prysm/beacon-chain/state/types" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/fieldtrie" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func init() { diff --git a/beacon-chain/sync/BUILD.bazel b/beacon-chain/sync/BUILD.bazel index 170e0a89e..6e108dfcf 100644 --- a/beacon-chain/sync/BUILD.bazel +++ b/beacon-chain/sync/BUILD.bazel @@ -45,7 +45,7 @@ go_library( "validate_sync_contribution_proof.go", "validate_voluntary_exit.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/sync", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync", visibility = [ "//beacon-chain:__subpackages__", "//testing:__subpackages__", diff --git a/beacon-chain/sync/backfill/BUILD.bazel b/beacon-chain/sync/backfill/BUILD.bazel index 6a511fdca..6934cf740 100644 --- a/beacon-chain/sync/backfill/BUILD.bazel +++ b/beacon-chain/sync/backfill/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["status.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/sync/backfill", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/backfill", visibility = ["//visibility:public"], deps = [ "//beacon-chain/db:go_default_library", diff --git a/beacon-chain/sync/backfill/status.go b/beacon-chain/sync/backfill/status.go index 78b651ad8..440ae44d5 100644 --- a/beacon-chain/sync/backfill/status.go +++ b/beacon-chain/sync/backfill/status.go @@ -4,10 +4,10 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // NewStatus correctly initializes a Status value with the required database value. diff --git a/beacon-chain/sync/backfill/status_test.go b/beacon-chain/sync/backfill/status_test.go index 7224b96ba..7a1bd108c 100644 --- a/beacon-chain/sync/backfill/status_test.go +++ b/beacon-chain/sync/backfill/status_test.go @@ -4,15 +4,15 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - blocktest "github.com/prysmaticlabs/prysm/consensus-types/blocks/testing" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + blocktest "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks/testing" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) var errEmptyMockDBMethod = errors.New("uninitialized mock db method called") diff --git a/beacon-chain/sync/batch_verifier.go b/beacon-chain/sync/batch_verifier.go index 9ba6b241a..b9bf013a9 100644 --- a/beacon-chain/sync/batch_verifier.go +++ b/beacon-chain/sync/batch_verifier.go @@ -6,9 +6,9 @@ import ( pubsub "github.com/libp2p/go-libp2p-pubsub" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/monitoring/tracing" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/batch_verifier_test.go b/beacon-chain/sync/batch_verifier_test.go index 8ce776ad7..610c0cfe2 100644 --- a/beacon-chain/sync/batch_verifier_test.go +++ b/beacon-chain/sync/batch_verifier_test.go @@ -5,9 +5,9 @@ import ( "testing" pubsub "github.com/libp2p/go-libp2p-pubsub" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestValidateWithBatchVerifier(t *testing.T) { diff --git a/beacon-chain/sync/checkpoint/BUILD.bazel b/beacon-chain/sync/checkpoint/BUILD.bazel index 2fdbafae3..ae8d9c9b3 100644 --- a/beacon-chain/sync/checkpoint/BUILD.bazel +++ b/beacon-chain/sync/checkpoint/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "api.go", "file.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/sync/checkpoint", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/checkpoint", visibility = ["//visibility:public"], deps = [ "//api/client/beacon:go_default_library", diff --git a/beacon-chain/sync/checkpoint/api.go b/beacon-chain/sync/checkpoint/api.go index 9c269cc91..3c7706fa5 100644 --- a/beacon-chain/sync/checkpoint/api.go +++ b/beacon-chain/sync/checkpoint/api.go @@ -4,9 +4,9 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/api/client/beacon" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/api/client/beacon" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/config/params" log "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/sync/checkpoint/file.go b/beacon-chain/sync/checkpoint/file.go index 7772b920a..be4e6a862 100644 --- a/beacon-chain/sync/checkpoint/file.go +++ b/beacon-chain/sync/checkpoint/file.go @@ -6,9 +6,9 @@ import ( "os" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" log "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/sync/context.go b/beacon-chain/sync/context.go index 5bb25bbfc..32c6abf55 100644 --- a/beacon-chain/sync/context.go +++ b/beacon-chain/sync/context.go @@ -4,9 +4,9 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/protocol" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" ) // Specifies the fixed size context length. diff --git a/beacon-chain/sync/context_test.go b/beacon-chain/sync/context_test.go index 1440745db..565f11c55 100644 --- a/beacon-chain/sync/context_test.go +++ b/beacon-chain/sync/context_test.go @@ -9,10 +9,10 @@ import ( core "github.com/libp2p/go-libp2p-core" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/protocol" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestContextWrite_NoWrites(t *testing.T) { diff --git a/beacon-chain/sync/deadlines.go b/beacon-chain/sync/deadlines.go index 23ebaa890..a1d64014d 100644 --- a/beacon-chain/sync/deadlines.go +++ b/beacon-chain/sync/deadlines.go @@ -5,7 +5,7 @@ import ( "time" "github.com/libp2p/go-libp2p-core/network" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/sync/decode_pubsub.go b/beacon-chain/sync/decode_pubsub.go index 7221e795d..2373eba54 100644 --- a/beacon-chain/sync/decode_pubsub.go +++ b/beacon-chain/sync/decode_pubsub.go @@ -7,8 +7,8 @@ import ( pubsub "github.com/libp2p/go-libp2p-pubsub" "github.com/pkg/errors" ssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/sync/decode_pubsub_test.go b/beacon-chain/sync/decode_pubsub_test.go index 6ff1d0831..194ff8c76 100644 --- a/beacon-chain/sync/decode_pubsub_test.go +++ b/beacon-chain/sync/decode_pubsub_test.go @@ -11,16 +11,16 @@ import ( "github.com/d4l3k/messagediff" pubsub "github.com/libp2p/go-libp2p-pubsub" pb "github.com/libp2p/go-libp2p-pubsub/pb" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptesting "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptesting "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestService_decodePubsubMessage(t *testing.T) { diff --git a/beacon-chain/sync/error.go b/beacon-chain/sync/error.go index 8452753e1..d589f429d 100644 --- a/beacon-chain/sync/error.go +++ b/beacon-chain/sync/error.go @@ -6,10 +6,10 @@ import ( libp2pcore "github.com/libp2p/go-libp2p-core" "github.com/libp2p/go-libp2p-core/network" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/sync/error_test.go b/beacon-chain/sync/error_test.go index e7d8cc0b9..152b80dc1 100644 --- a/beacon-chain/sync/error_test.go +++ b/beacon-chain/sync/error_test.go @@ -4,10 +4,10 @@ import ( "bytes" "testing" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestRegularSync_generateErrorResponse(t *testing.T) { diff --git a/beacon-chain/sync/fork_watcher.go b/beacon-chain/sync/fork_watcher.go index 5fd85ba1e..b3b05dc73 100644 --- a/beacon-chain/sync/fork_watcher.go +++ b/beacon-chain/sync/fork_watcher.go @@ -2,11 +2,11 @@ package sync import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/network/forks" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/network/forks" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // Is a background routine that observes for new incoming forks. Depending on the epoch diff --git a/beacon-chain/sync/fork_watcher_test.go b/beacon-chain/sync/fork_watcher_test.go index f162e3c59..1a3e169d6 100644 --- a/beacon-chain/sync/fork_watcher_test.go +++ b/beacon-chain/sync/fork_watcher_test.go @@ -5,15 +5,15 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/async/abool" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/network/forks" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/async/abool" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/network/forks" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestService_CheckForNextEpochFork(t *testing.T) { diff --git a/beacon-chain/sync/fuzz_exports.go b/beacon-chain/sync/fuzz_exports.go index 930c8ba5d..dbee2652a 100644 --- a/beacon-chain/sync/fuzz_exports.go +++ b/beacon-chain/sync/fuzz_exports.go @@ -9,7 +9,7 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" gcache "github.com/patrickmn/go-cache" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/sync/genesis/BUILD.bazel b/beacon-chain/sync/genesis/BUILD.bazel index eb566412f..f3d8bfe2c 100644 --- a/beacon-chain/sync/genesis/BUILD.bazel +++ b/beacon-chain/sync/genesis/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "api.go", "file.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/sync/genesis", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/genesis", visibility = ["//visibility:public"], deps = [ "//api/client/beacon:go_default_library", diff --git a/beacon-chain/sync/genesis/api.go b/beacon-chain/sync/genesis/api.go index 77064877a..1a52c473b 100644 --- a/beacon-chain/sync/genesis/api.go +++ b/beacon-chain/sync/genesis/api.go @@ -6,8 +6,8 @@ import ( log "github.com/sirupsen/logrus" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/api/client/beacon" - "github.com/prysmaticlabs/prysm/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/api/client/beacon" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" ) // APIInitializer manages initializing the genesis state and block to prepare the beacon node for syncing. diff --git a/beacon-chain/sync/genesis/file.go b/beacon-chain/sync/genesis/file.go index b14bc5db0..38d480c20 100644 --- a/beacon-chain/sync/genesis/file.go +++ b/beacon-chain/sync/genesis/file.go @@ -5,10 +5,10 @@ import ( "fmt" "os" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/io/file" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" ) // Initializer describes a type that is able to obtain the checkpoint sync data (BeaconState and SignedBeaconBlock) diff --git a/beacon-chain/sync/initial-sync/BUILD.bazel b/beacon-chain/sync/initial-sync/BUILD.bazel index 75f4d1e11..bda429acd 100644 --- a/beacon-chain/sync/initial-sync/BUILD.bazel +++ b/beacon-chain/sync/initial-sync/BUILD.bazel @@ -13,7 +13,7 @@ go_library( "round_robin.go", "service.go", ], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//async/abool:go_default_library", diff --git a/beacon-chain/sync/initial-sync/blocks_fetcher.go b/beacon-chain/sync/initial-sync/blocks_fetcher.go index 518808e29..566264446 100644 --- a/beacon-chain/sync/initial-sync/blocks_fetcher.go +++ b/beacon-chain/sync/initial-sync/blocks_fetcher.go @@ -9,16 +9,16 @@ import ( "github.com/kevinms/leakybucket-go" "github.com/libp2p/go-libp2p-core/peer" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2pTypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - prysmsync "github.com/prysmaticlabs/prysm/beacon-chain/sync" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/rand" - p2ppb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2pTypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + prysmsync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + p2ppb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/initial-sync/blocks_fetcher_peers.go b/beacon-chain/sync/initial-sync/blocks_fetcher_peers.go index 23f98c064..fc23518e0 100644 --- a/beacon-chain/sync/initial-sync/blocks_fetcher_peers.go +++ b/beacon-chain/sync/initial-sync/blocks_fetcher_peers.go @@ -7,12 +7,12 @@ import ( "time" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - mathutil "github.com/prysmaticlabs/prysm/math" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + mathutil "github.com/prysmaticlabs/prysm/v3/math" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/initial-sync/blocks_fetcher_peers_test.go b/beacon-chain/sync/initial-sync/blocks_fetcher_peers_test.go index cc741de2b..d8628e9e0 100644 --- a/beacon-chain/sync/initial-sync/blocks_fetcher_peers_test.go +++ b/beacon-chain/sync/initial-sync/blocks_fetcher_peers_test.go @@ -10,12 +10,12 @@ import ( "github.com/kevinms/leakybucket-go" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers/scorers" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" ) func TestBlocksFetcher_selectFailOverPeer(t *testing.T) { diff --git a/beacon-chain/sync/initial-sync/blocks_fetcher_test.go b/beacon-chain/sync/initial-sync/blocks_fetcher_test.go index 557aa4216..b60bc288a 100644 --- a/beacon-chain/sync/initial-sync/blocks_fetcher_test.go +++ b/beacon-chain/sync/initial-sync/blocks_fetcher_test.go @@ -11,22 +11,22 @@ import ( "github.com/kevinms/leakybucket-go" libp2pcore "github.com/libp2p/go-libp2p-core" "github.com/libp2p/go-libp2p-core/network" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - p2pm "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2pt "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - beaconsync "github.com/prysmaticlabs/prysm/beacon-chain/sync" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + p2pm "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2pt "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + beaconsync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/sync/initial-sync/blocks_fetcher_utils.go b/beacon-chain/sync/initial-sync/blocks_fetcher_utils.go index f19254155..6b98cb23f 100644 --- a/beacon-chain/sync/initial-sync/blocks_fetcher_utils.go +++ b/beacon-chain/sync/initial-sync/blocks_fetcher_utils.go @@ -7,14 +7,14 @@ import ( "github.com/libp2p/go-libp2p-core/peer" "github.com/pkg/errors" - p2pTypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - p2ppb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + p2pTypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + p2ppb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/initial-sync/blocks_fetcher_utils_test.go b/beacon-chain/sync/initial-sync/blocks_fetcher_utils_test.go index b9c4a3e44..f98309b33 100644 --- a/beacon-chain/sync/initial-sync/blocks_fetcher_utils_test.go +++ b/beacon-chain/sync/initial-sync/blocks_fetcher_utils_test.go @@ -10,20 +10,20 @@ import ( "github.com/kevinms/leakybucket-go" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - p2pm "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2pt "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + p2pm "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2pt "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestBlocksFetcher_nonSkippedSlotAfter(t *testing.T) { diff --git a/beacon-chain/sync/initial-sync/blocks_queue.go b/beacon-chain/sync/initial-sync/blocks_queue.go index df8a3c00c..f76829fe6 100644 --- a/beacon-chain/sync/initial-sync/blocks_queue.go +++ b/beacon-chain/sync/initial-sync/blocks_queue.go @@ -6,12 +6,12 @@ import ( "time" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - beaconsync "github.com/prysmaticlabs/prysm/beacon-chain/sync" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + beaconsync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/sync/initial-sync/blocks_queue_test.go b/beacon-chain/sync/initial-sync/blocks_queue_test.go index a6fc3ed3c..111fcf154 100644 --- a/beacon-chain/sync/initial-sync/blocks_queue_test.go +++ b/beacon-chain/sync/initial-sync/blocks_queue_test.go @@ -8,23 +8,23 @@ import ( "github.com/kevinms/leakybucket-go" "github.com/libp2p/go-libp2p-core/peer" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - p2pt "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - beaconsync "github.com/prysmaticlabs/prysm/beacon-chain/sync" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + p2pt "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + beaconsync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/sync/initial-sync/blocks_queue_utils.go b/beacon-chain/sync/initial-sync/blocks_queue_utils.go index 0231f02c8..97b571a25 100644 --- a/beacon-chain/sync/initial-sync/blocks_queue_utils.go +++ b/beacon-chain/sync/initial-sync/blocks_queue_utils.go @@ -4,7 +4,7 @@ import ( "context" "errors" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // resetWithBlocks removes all state machines, then re-adds enough machines to contain all provided diff --git a/beacon-chain/sync/initial-sync/fsm.go b/beacon-chain/sync/initial-sync/fsm.go index e6f791264..a714b04ca 100644 --- a/beacon-chain/sync/initial-sync/fsm.go +++ b/beacon-chain/sync/initial-sync/fsm.go @@ -7,10 +7,10 @@ import ( "time" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) const ( diff --git a/beacon-chain/sync/initial-sync/fsm_benchmark_test.go b/beacon-chain/sync/initial-sync/fsm_benchmark_test.go index 65582d0fb..e6cd9f989 100644 --- a/beacon-chain/sync/initial-sync/fsm_benchmark_test.go +++ b/beacon-chain/sync/initial-sync/fsm_benchmark_test.go @@ -3,7 +3,7 @@ package initialsync import ( "testing" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func BenchmarkStateMachine_trigger(b *testing.B) { diff --git a/beacon-chain/sync/initial-sync/fsm_test.go b/beacon-chain/sync/initial-sync/fsm_test.go index 3f3e198ff..57b932e3e 100644 --- a/beacon-chain/sync/initial-sync/fsm_test.go +++ b/beacon-chain/sync/initial-sync/fsm_test.go @@ -5,9 +5,9 @@ import ( "fmt" "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStateMachineManager_String(t *testing.T) { diff --git a/beacon-chain/sync/initial-sync/initial_sync_test.go b/beacon-chain/sync/initial-sync/initial_sync_test.go index fcb6adcfb..7dd641441 100644 --- a/beacon-chain/sync/initial-sync/initial_sync_test.go +++ b/beacon-chain/sync/initial-sync/initial_sync_test.go @@ -11,27 +11,27 @@ import ( "github.com/ethereum/go-ethereum/p2p/enr" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - p2pt "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - p2pTypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - beaconsync "github.com/prysmaticlabs/prysm/beacon-chain/sync" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + p2pt "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + p2pTypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + beaconsync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/sync/initial-sync/round_robin.go b/beacon-chain/sync/initial-sync/round_robin.go index 3972e7b32..01605919b 100644 --- a/beacon-chain/sync/initial-sync/round_robin.go +++ b/beacon-chain/sync/initial-sync/round_robin.go @@ -10,11 +10,11 @@ import ( "github.com/libp2p/go-libp2p-core/peer" "github.com/paulbellamy/ratecounter" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/sync/initial-sync/round_robin_test.go b/beacon-chain/sync/initial-sync/round_robin_test.go index bf57c25ff..8aab9a9f4 100644 --- a/beacon-chain/sync/initial-sync/round_robin_test.go +++ b/beacon-chain/sync/initial-sync/round_robin_test.go @@ -6,18 +6,18 @@ import ( "time" "github.com/paulbellamy/ratecounter" - "github.com/prysmaticlabs/prysm/async/abool" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - p2pt "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/async/abool" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + p2pt "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/sync/initial-sync/service.go b/beacon-chain/sync/initial-sync/service.go index 5c1ee59af..bcc610791 100644 --- a/beacon-chain/sync/initial-sync/service.go +++ b/beacon-chain/sync/initial-sync/service.go @@ -9,18 +9,18 @@ import ( "github.com/paulbellamy/ratecounter" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/abool" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/runtime" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async/abool" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/runtime" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/sync/initial-sync/service_test.go b/beacon-chain/sync/initial-sync/service_test.go index b77aeae77..10a7eda13 100644 --- a/beacon-chain/sync/initial-sync/service_test.go +++ b/beacon-chain/sync/initial-sync/service_test.go @@ -7,21 +7,21 @@ import ( "time" "github.com/paulbellamy/ratecounter" - "github.com/prysmaticlabs/prysm/async/abool" - "github.com/prysmaticlabs/prysm/async/event" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - p2pt "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async/abool" + "github.com/prysmaticlabs/prysm/v3/async/event" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + p2pt "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/sync/initial-sync/testing/BUILD.bazel b/beacon-chain/sync/initial-sync/testing/BUILD.bazel index da5fc4379..d630ea110 100644 --- a/beacon-chain/sync/initial-sync/testing/BUILD.bazel +++ b/beacon-chain/sync/initial-sync/testing/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["mock.go"], - importpath = "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing", visibility = [ "//beacon-chain:__subpackages__", ], diff --git a/beacon-chain/sync/metrics.go b/beacon-chain/sync/metrics.go index 5ef68fabf..e56528805 100644 --- a/beacon-chain/sync/metrics.go +++ b/beacon-chain/sync/metrics.go @@ -7,12 +7,12 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) var ( diff --git a/beacon-chain/sync/options.go b/beacon-chain/sync/options.go index 350b32b7f..62ce046e8 100644 --- a/beacon-chain/sync/options.go +++ b/beacon-chain/sync/options.go @@ -1,18 +1,18 @@ package sync import ( - "github.com/prysmaticlabs/prysm/async/event" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/synccommittee" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/async/event" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/synccommittee" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" ) type Option func(s *Service) error diff --git a/beacon-chain/sync/pending_attestations_queue.go b/beacon-chain/sync/pending_attestations_queue.go index c45343724..40101da5e 100644 --- a/beacon-chain/sync/pending_attestations_queue.go +++ b/beacon-chain/sync/pending_attestations_queue.go @@ -6,14 +6,14 @@ import ( "sync" pubsub "github.com/libp2p/go-libp2p-pubsub" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/pending_attestations_queue_test.go b/beacon-chain/sync/pending_attestations_queue_test.go index c1976df47..2147132a5 100644 --- a/beacon-chain/sync/pending_attestations_queue_test.go +++ b/beacon-chain/sync/pending_attestations_queue_test.go @@ -8,26 +8,26 @@ import ( "github.com/ethereum/go-ethereum/p2p/enr" "github.com/libp2p/go-libp2p-core/network" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/async/abool" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/async/abool" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/sync/pending_blocks_queue.go b/beacon-chain/sync/pending_blocks_queue.go index 7eb583cc4..42a0db5ef 100644 --- a/beacon-chain/sync/pending_blocks_queue.go +++ b/beacon-chain/sync/pending_blocks_queue.go @@ -8,18 +8,18 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz/equality" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz/equality" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "github.com/trailofbits/go-mutexasserts" "go.opencensus.io/trace" diff --git a/beacon-chain/sync/pending_blocks_queue_test.go b/beacon-chain/sync/pending_blocks_queue_test.go index e512ce952..3eef62c6e 100644 --- a/beacon-chain/sync/pending_blocks_queue_test.go +++ b/beacon-chain/sync/pending_blocks_queue_test.go @@ -11,23 +11,23 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/protocol" gcache "github.com/patrickmn/go-cache" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/rand" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // /- b1 - b2 diff --git a/beacon-chain/sync/rate_limiter.go b/beacon-chain/sync/rate_limiter.go index 250f91efd..2ff00dc59 100644 --- a/beacon-chain/sync/rate_limiter.go +++ b/beacon-chain/sync/rate_limiter.go @@ -7,9 +7,9 @@ import ( "github.com/kevinms/leakybucket-go" "github.com/libp2p/go-libp2p-core/network" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" "github.com/sirupsen/logrus" "github.com/trailofbits/go-mutexasserts" ) diff --git a/beacon-chain/sync/rate_limiter_test.go b/beacon-chain/sync/rate_limiter_test.go index af95eda84..af4eefb85 100644 --- a/beacon-chain/sync/rate_limiter_test.go +++ b/beacon-chain/sync/rate_limiter_test.go @@ -8,12 +8,12 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/protocol" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestNewRateLimiter(t *testing.T) { diff --git a/beacon-chain/sync/rpc.go b/beacon-chain/sync/rpc.go index 1f3a326f2..ddfe6fa71 100644 --- a/beacon-chain/sync/rpc.go +++ b/beacon-chain/sync/rpc.go @@ -9,12 +9,12 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/protocol" ssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/rpc_beacon_blocks_by_range.go b/beacon-chain/sync/rpc_beacon_blocks_by_range.go index 19f865e79..50d4e683f 100644 --- a/beacon-chain/sync/rpc_beacon_blocks_by_range.go +++ b/beacon-chain/sync/rpc_beacon_blocks_by_range.go @@ -6,16 +6,16 @@ import ( libp2pcore "github.com/libp2p/go-libp2p-core" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/db/filters" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/rpc_beacon_blocks_by_range_test.go b/beacon-chain/sync/rpc_beacon_blocks_by_range_test.go index 88a3d2661..9323cf3b3 100644 --- a/beacon-chain/sync/rpc_beacon_blocks_by_range_test.go +++ b/beacon-chain/sync/rpc_beacon_blocks_by_range_test.go @@ -13,28 +13,28 @@ import ( "github.com/kevinms/leakybucket-go" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/protocol" - chainMock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - db2 "github.com/prysmaticlabs/prysm/beacon-chain/db" - db "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + chainMock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + db2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + db "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/sync/rpc_beacon_blocks_by_root.go b/beacon-chain/sync/rpc_beacon_blocks_by_root.go index 60c50e63c..716065efb 100644 --- a/beacon-chain/sync/rpc_beacon_blocks_by_root.go +++ b/beacon-chain/sync/rpc_beacon_blocks_by_root.go @@ -6,10 +6,10 @@ import ( libp2pcore "github.com/libp2p/go-libp2p-core" "github.com/libp2p/go-libp2p-core/peer" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" ) // sendRecentBeaconBlocksRequest sends a recent beacon blocks request to a peer to get diff --git a/beacon-chain/sync/rpc_beacon_blocks_by_root_test.go b/beacon-chain/sync/rpc_beacon_blocks_by_root_test.go index f73f8d24b..da6eee08a 100644 --- a/beacon-chain/sync/rpc_beacon_blocks_by_root_test.go +++ b/beacon-chain/sync/rpc_beacon_blocks_by_root_test.go @@ -13,23 +13,23 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/protocol" gcache "github.com/patrickmn/go-cache" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - db "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mockExecution "github.com/prysmaticlabs/prysm/beacon-chain/execution/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - p2pTypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + db "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mockExecution "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + p2pTypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestRecentBeaconBlocksRPCHandler_ReturnsBlocks(t *testing.T) { diff --git a/beacon-chain/sync/rpc_chunked_response.go b/beacon-chain/sync/rpc_chunked_response.go index fe10a5106..bbcdafbc8 100644 --- a/beacon-chain/sync/rpc_chunked_response.go +++ b/beacon-chain/sync/rpc_chunked_response.go @@ -3,16 +3,16 @@ package sync import ( libp2pcore "github.com/libp2p/go-libp2p-core" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/network/forks" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/network/forks" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // chunkBlockWriter writes the given message as a chunked response to the given network diff --git a/beacon-chain/sync/rpc_chunked_response_test.go b/beacon-chain/sync/rpc_chunked_response_test.go index 07e5d7006..a0735d4e6 100644 --- a/beacon-chain/sync/rpc_chunked_response_test.go +++ b/beacon-chain/sync/rpc_chunked_response_test.go @@ -4,14 +4,14 @@ import ( "reflect" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestExtractBlockDataType(t *testing.T) { diff --git a/beacon-chain/sync/rpc_goodbye.go b/beacon-chain/sync/rpc_goodbye.go index 9b04224a7..686b9e40f 100644 --- a/beacon-chain/sync/rpc_goodbye.go +++ b/beacon-chain/sync/rpc_goodbye.go @@ -8,11 +8,11 @@ import ( libp2pcore "github.com/libp2p/go-libp2p-core" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/sync/rpc_goodbye_test.go b/beacon-chain/sync/rpc_goodbye_test.go index c1e77e32d..167da1923 100644 --- a/beacon-chain/sync/rpc_goodbye_test.go +++ b/beacon-chain/sync/rpc_goodbye_test.go @@ -9,15 +9,15 @@ import ( "github.com/kevinms/leakybucket-go" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/protocol" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - db "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + db "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestGoodByeRPCHandler_Disconnects_With_Peer(t *testing.T) { diff --git a/beacon-chain/sync/rpc_metadata.go b/beacon-chain/sync/rpc_metadata.go index d4fbb3f31..bcbee417f 100644 --- a/beacon-chain/sync/rpc_metadata.go +++ b/beacon-chain/sync/rpc_metadata.go @@ -7,18 +7,18 @@ import ( "github.com/libp2p/go-libp2p-core/peer" "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/wrapper" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/network/forks" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/network/forks" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // metaDataHandler reads the incoming metadata rpc request from the peer. diff --git a/beacon-chain/sync/rpc_metadata_test.go b/beacon-chain/sync/rpc_metadata_test.go index eabd694d0..e9ed42666 100644 --- a/beacon-chain/sync/rpc_metadata_test.go +++ b/beacon-chain/sync/rpc_metadata_test.go @@ -10,20 +10,20 @@ import ( "github.com/kevinms/leakybucket-go" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/protocol" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - db "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/wrapper" - "github.com/prysmaticlabs/prysm/encoding/ssz/equality" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + db "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz/equality" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestMetaDataRPCHandler_ReceivesMetadata(t *testing.T) { diff --git a/beacon-chain/sync/rpc_ping.go b/beacon-chain/sync/rpc_ping.go index bb613cd5c..d452c7aa3 100644 --- a/beacon-chain/sync/rpc_ping.go +++ b/beacon-chain/sync/rpc_ping.go @@ -8,11 +8,11 @@ import ( libp2pcore "github.com/libp2p/go-libp2p-core" "github.com/libp2p/go-libp2p-core/peer" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // pingHandler reads the incoming ping rpc message from the peer. diff --git a/beacon-chain/sync/rpc_ping_test.go b/beacon-chain/sync/rpc_ping_test.go index b240a0072..d667647c8 100644 --- a/beacon-chain/sync/rpc_ping_test.go +++ b/beacon-chain/sync/rpc_ping_test.go @@ -10,17 +10,17 @@ import ( "github.com/kevinms/leakybucket-go" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/protocol" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - db "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/consensus-types/wrapper" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + db "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestPingRPCHandler_ReceivesPing(t *testing.T) { diff --git a/beacon-chain/sync/rpc_send_request.go b/beacon-chain/sync/rpc_send_request.go index 2df41155b..201bef1d3 100644 --- a/beacon-chain/sync/rpc_send_request.go +++ b/beacon-chain/sync/rpc_send_request.go @@ -6,14 +6,14 @@ import ( "github.com/libp2p/go-libp2p-core/peer" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // ErrInvalidFetchedData is thrown if stream fails to provide requested blocks. diff --git a/beacon-chain/sync/rpc_send_request_test.go b/beacon-chain/sync/rpc_send_request_test.go index f73d90da1..5f772960f 100644 --- a/beacon-chain/sync/rpc_send_request_test.go +++ b/beacon-chain/sync/rpc_send_request_test.go @@ -9,18 +9,18 @@ import ( "time" "github.com/libp2p/go-libp2p-core/network" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - p2pTypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + p2pTypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestSendRequest_SendBeaconBlocksByRangeRequest(t *testing.T) { diff --git a/beacon-chain/sync/rpc_status.go b/beacon-chain/sync/rpc_status.go index de180088a..722da7bbd 100644 --- a/beacon-chain/sync/rpc_status.go +++ b/beacon-chain/sync/rpc_status.go @@ -11,17 +11,17 @@ import ( "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/sync/rpc_status_test.go b/beacon-chain/sync/rpc_status_test.go index 2817c4d55..ae88e6c6a 100644 --- a/beacon-chain/sync/rpc_status_test.go +++ b/beacon-chain/sync/rpc_status_test.go @@ -10,27 +10,27 @@ import ( "github.com/kevinms/leakybucket-go" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/protocol" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" - testingDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/consensus-types/wrapper" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - prysmTime "github.com/prysmaticlabs/prysm/time" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" + testingDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/sync/rpc_test.go b/beacon-chain/sync/rpc_test.go index ce786f33a..6c2b0e4ca 100644 --- a/beacon-chain/sync/rpc_test.go +++ b/beacon-chain/sync/rpc_test.go @@ -10,14 +10,14 @@ import ( libp2pcore "github.com/libp2p/go-libp2p-core" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/protocol" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - prysmP2P "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + prysmP2P "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func init() { diff --git a/beacon-chain/sync/service.go b/beacon-chain/sync/service.go index e1977e764..6e09ae409 100644 --- a/beacon-chain/sync/service.go +++ b/beacon-chain/sync/service.go @@ -15,28 +15,28 @@ import ( pubsub "github.com/libp2p/go-libp2p-pubsub" gcache "github.com/patrickmn/go-cache" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/async/abool" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/synccommittee" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/voluntaryexits" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/async/abool" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/synccommittee" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/voluntaryexits" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) var _ runtime.Service = (*Service)(nil) diff --git a/beacon-chain/sync/service_test.go b/beacon-chain/sync/service_test.go index eaa86a6bc..e6f9be5f3 100644 --- a/beacon-chain/sync/service_test.go +++ b/beacon-chain/sync/service_test.go @@ -6,20 +6,20 @@ import ( "time" gcache "github.com/patrickmn/go-cache" - "github.com/prysmaticlabs/prysm/async/abool" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - dbTest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/async/abool" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + dbTest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestService_StatusZeroEpoch(t *testing.T) { diff --git a/beacon-chain/sync/subscriber.go b/beacon-chain/sync/subscriber.go index 9785d24f5..69ce942ff 100644 --- a/beacon-chain/sync/subscriber.go +++ b/beacon-chain/sync/subscriber.go @@ -11,18 +11,18 @@ import ( "github.com/libp2p/go-libp2p-core/host" "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - "github.com/prysmaticlabs/prysm/network/forks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/messagehandler" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/peers" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + "github.com/prysmaticlabs/prysm/v3/network/forks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/messagehandler" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" "google.golang.org/protobuf/proto" diff --git a/beacon-chain/sync/subscriber_beacon_aggregate_proof.go b/beacon-chain/sync/subscriber_beacon_aggregate_proof.go index f4edd2d55..6b5c434ac 100644 --- a/beacon-chain/sync/subscriber_beacon_aggregate_proof.go +++ b/beacon-chain/sync/subscriber_beacon_aggregate_proof.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/sync/subscriber_beacon_aggregate_proof_test.go b/beacon-chain/sync/subscriber_beacon_aggregate_proof_test.go index 2dfeb72d4..d6d372ef0 100644 --- a/beacon-chain/sync/subscriber_beacon_aggregate_proof_test.go +++ b/beacon-chain/sync/subscriber_beacon_aggregate_proof_test.go @@ -5,14 +5,14 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestBeaconAggregateProofSubscriber_CanSaveAggregatedAttestation(t *testing.T) { diff --git a/beacon-chain/sync/subscriber_beacon_attestation.go b/beacon-chain/sync/subscriber_beacon_attestation.go index de661fbfc..0bc2dcc15 100644 --- a/beacon-chain/sync/subscriber_beacon_attestation.go +++ b/beacon-chain/sync/subscriber_beacon_attestation.go @@ -5,12 +5,12 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/sync/subscriber_beacon_blocks.go b/beacon-chain/sync/subscriber_beacon_blocks.go index 68076ab9a..ab1b0bf9a 100644 --- a/beacon-chain/sync/subscriber_beacon_blocks.go +++ b/beacon-chain/sync/subscriber_beacon_blocks.go @@ -3,11 +3,11 @@ package sync import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition/interop" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition/interop" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/sync/subscriber_beacon_blocks_test.go b/beacon-chain/sync/subscriber_beacon_blocks_test.go index 02287019f..9dc3ffd93 100644 --- a/beacon-chain/sync/subscriber_beacon_blocks_test.go +++ b/beacon-chain/sync/subscriber_beacon_blocks_test.go @@ -6,17 +6,17 @@ import ( "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - chainMock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + chainMock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/sync/subscriber_handlers.go b/beacon-chain/sync/subscriber_handlers.go index fe80f83fa..5d6db4767 100644 --- a/beacon-chain/sync/subscriber_handlers.go +++ b/beacon-chain/sync/subscriber_handlers.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/pkg/errors" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/sync/subscriber_sync_committee_message.go b/beacon-chain/sync/subscriber_sync_committee_message.go index e0f6d632e..7731751d0 100644 --- a/beacon-chain/sync/subscriber_sync_committee_message.go +++ b/beacon-chain/sync/subscriber_sync_committee_message.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/pkg/errors" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/sync/subscriber_sync_contribution_proof.go b/beacon-chain/sync/subscriber_sync_contribution_proof.go index 58946481c..7453ead15 100644 --- a/beacon-chain/sync/subscriber_sync_contribution_proof.go +++ b/beacon-chain/sync/subscriber_sync_contribution_proof.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/beacon-chain/sync/subscriber_test.go b/beacon-chain/sync/subscriber_test.go index 2e169df39..e39a28e6f 100644 --- a/beacon-chain/sync/subscriber_test.go +++ b/beacon-chain/sync/subscriber_test.go @@ -11,28 +11,28 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" - "github.com/prysmaticlabs/prysm/async/abool" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - db "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/network/forks" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async/abool" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + db "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/network/forks" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" "google.golang.org/protobuf/proto" ) @@ -461,7 +461,7 @@ func TestFilterSubnetPeers(t *testing.T) { ValidatorsRoot: [32]byte{'A'}, Slot: &currSlot, FinalizedRoots: map[[32]byte]bool{ - [32]byte{}: true, + {}: true, }, }, p2p: p, diff --git a/beacon-chain/sync/subscription_topic_handler.go b/beacon-chain/sync/subscription_topic_handler.go index 118269f3d..766871f03 100644 --- a/beacon-chain/sync/subscription_topic_handler.go +++ b/beacon-chain/sync/subscription_topic_handler.go @@ -4,7 +4,7 @@ import ( "sync" pubsub "github.com/libp2p/go-libp2p-pubsub" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" ) // This is a subscription topic handler that is used to handle basic diff --git a/beacon-chain/sync/subscription_topic_handler_test.go b/beacon-chain/sync/subscription_topic_handler_test.go index c7239917a..2f195f1a1 100644 --- a/beacon-chain/sync/subscription_topic_handler_test.go +++ b/beacon-chain/sync/subscription_topic_handler_test.go @@ -6,10 +6,10 @@ import ( "time" pubsub "github.com/libp2p/go-libp2p-pubsub" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - "github.com/prysmaticlabs/prysm/network/forks" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + "github.com/prysmaticlabs/prysm/v3/network/forks" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestSubTopicHandler_CRUD(t *testing.T) { diff --git a/beacon-chain/sync/sync_fuzz_test.go b/beacon-chain/sync/sync_fuzz_test.go index 8079e9724..f4937b709 100644 --- a/beacon-chain/sync/sync_fuzz_test.go +++ b/beacon-chain/sync/sync_fuzz_test.go @@ -13,20 +13,20 @@ import ( pubsub "github.com/libp2p/go-libp2p-pubsub" pb "github.com/libp2p/go-libp2p-pubsub/pb" gcache "github.com/patrickmn/go-cache" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func FuzzValidateBeaconBlockPubSub_Phase0(f *testing.F) { diff --git a/beacon-chain/sync/sync_test.go b/beacon-chain/sync/sync_test.go index 0e239003b..1076130e6 100644 --- a/beacon-chain/sync/sync_test.go +++ b/beacon-chain/sync/sync_test.go @@ -4,7 +4,7 @@ import ( "io" "testing" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" "github.com/sirupsen/logrus" ) diff --git a/beacon-chain/sync/utils.go b/beacon-chain/sync/utils.go index 0cdbe064b..93752eda8 100644 --- a/beacon-chain/sync/utils.go +++ b/beacon-chain/sync/utils.go @@ -4,7 +4,7 @@ import ( "errors" "sort" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" ) // A type to represent beacon blocks and roots which have methods diff --git a/beacon-chain/sync/utils_test.go b/beacon-chain/sync/utils_test.go index eeb861c48..d24416ef1 100644 --- a/beacon-chain/sync/utils_test.go +++ b/beacon-chain/sync/utils_test.go @@ -4,12 +4,12 @@ import ( "math/rand" "testing" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSortedObj_SortBlocksRoots(t *testing.T) { diff --git a/beacon-chain/sync/validate_aggregate_proof.go b/beacon-chain/sync/validate_aggregate_proof.go index bab5189fd..8c76a60c0 100644 --- a/beacon-chain/sync/validate_aggregate_proof.go +++ b/beacon-chain/sync/validate_aggregate_proof.go @@ -7,20 +7,20 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/validate_aggregate_proof_test.go b/beacon-chain/sync/validate_aggregate_proof_test.go index 91d0fcceb..9c3fe6402 100644 --- a/beacon-chain/sync/validate_aggregate_proof_test.go +++ b/beacon-chain/sync/validate_aggregate_proof_test.go @@ -10,25 +10,25 @@ import ( pubsub "github.com/libp2p/go-libp2p-pubsub" pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" "github.com/prysmaticlabs/go-bitfield" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestVerifyIndexInCommittee_CanVerify(t *testing.T) { diff --git a/beacon-chain/sync/validate_attester_slashing.go b/beacon-chain/sync/validate_attester_slashing.go index 97c530710..4c52b2fd2 100644 --- a/beacon-chain/sync/validate_attester_slashing.go +++ b/beacon-chain/sync/validate_attester_slashing.go @@ -5,10 +5,10 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/validate_attester_slashing_test.go b/beacon-chain/sync/validate_attester_slashing_test.go index bf870c196..86fc77e94 100644 --- a/beacon-chain/sync/validate_attester_slashing_test.go +++ b/beacon-chain/sync/validate_attester_slashing_test.go @@ -10,19 +10,19 @@ import ( pubsub "github.com/libp2p/go-libp2p-pubsub" pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func setupValidAttesterSlashing(t *testing.T) (*ethpb.AttesterSlashing, state.BeaconState) { diff --git a/beacon-chain/sync/validate_beacon_attestation.go b/beacon-chain/sync/validate_beacon_attestation.go index 4c98c2c50..41a55cae6 100644 --- a/beacon-chain/sync/validate_beacon_attestation.go +++ b/beacon-chain/sync/validate_beacon_attestation.go @@ -9,19 +9,19 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/features" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/features" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/validate_beacon_attestation_test.go b/beacon-chain/sync/validate_beacon_attestation_test.go index fd66aec4a..9ba86bc7b 100644 --- a/beacon-chain/sync/validate_beacon_attestation_test.go +++ b/beacon-chain/sync/validate_beacon_attestation_test.go @@ -11,21 +11,21 @@ import ( pubsub "github.com/libp2p/go-libp2p-pubsub" pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" "github.com/prysmaticlabs/go-bitfield" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestService_validateCommitteeIndexBeaconAttestation(t *testing.T) { diff --git a/beacon-chain/sync/validate_beacon_blocks.go b/beacon-chain/sync/validate_beacon_blocks.go index f628ae030..8955503ec 100644 --- a/beacon-chain/sync/validate_beacon_blocks.go +++ b/beacon-chain/sync/validate_beacon_blocks.go @@ -8,21 +8,21 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - blockfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/block" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + blockfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/block" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/validate_beacon_blocks_test.go b/beacon-chain/sync/validate_beacon_blocks_test.go index 97c40fa32..f9c7ccedb 100644 --- a/beacon-chain/sync/validate_beacon_blocks_test.go +++ b/beacon-chain/sync/validate_beacon_blocks_test.go @@ -12,28 +12,28 @@ import ( pubsub "github.com/libp2p/go-libp2p-pubsub" pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" gcache "github.com/patrickmn/go-cache" - "github.com/prysmaticlabs/prysm/async/abool" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - coreTime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/async/abool" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + coreTime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/beacon-chain/sync/validate_proposer_slashing.go b/beacon-chain/sync/validate_proposer_slashing.go index 91695429e..e444e9dcd 100644 --- a/beacon-chain/sync/validate_proposer_slashing.go +++ b/beacon-chain/sync/validate_proposer_slashing.go @@ -5,10 +5,10 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/validate_proposer_slashing_test.go b/beacon-chain/sync/validate_proposer_slashing_test.go index 0ceb1cf72..412f047a0 100644 --- a/beacon-chain/sync/validate_proposer_slashing_test.go +++ b/beacon-chain/sync/validate_proposer_slashing_test.go @@ -11,21 +11,21 @@ import ( pubsub "github.com/libp2p/go-libp2p-pubsub" pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" "github.com/prysmaticlabs/go-bitfield" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - coreTime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + coreTime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func setupValidProposerSlashing(t *testing.T) (*ethpb.ProposerSlashing, state.BeaconState) { diff --git a/beacon-chain/sync/validate_sync_committee_message.go b/beacon-chain/sync/validate_sync_committee_message.go index c47994a1a..bae1ed6c2 100644 --- a/beacon-chain/sync/validate_sync_committee_message.go +++ b/beacon-chain/sync/validate_sync_committee_message.go @@ -9,16 +9,16 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/validate_sync_committee_message_test.go b/beacon-chain/sync/validate_sync_committee_message_test.go index 4668dfcaa..faafc0609 100644 --- a/beacon-chain/sync/validate_sync_committee_message_test.go +++ b/beacon-chain/sync/validate_sync_committee_message_test.go @@ -12,22 +12,22 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - testingdb "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/time/slots" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + testingdb "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestService_ValidateSyncCommitteeMessage(t *testing.T) { diff --git a/beacon-chain/sync/validate_sync_contribution_proof.go b/beacon-chain/sync/validate_sync_contribution_proof.go index f7057c682..96626e1c8 100644 --- a/beacon-chain/sync/validate_sync_contribution_proof.go +++ b/beacon-chain/sync/validate_sync_contribution_proof.go @@ -6,17 +6,17 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - opfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + opfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/validate_sync_contribution_proof_test.go b/beacon-chain/sync/validate_sync_contribution_proof_test.go index fd8c0f55a..f2097e013 100644 --- a/beacon-chain/sync/validate_sync_contribution_proof_test.go +++ b/beacon-chain/sync/validate_sync_contribution_proof_test.go @@ -13,31 +13,31 @@ import ( pubsub "github.com/libp2p/go-libp2p-pubsub" pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" "github.com/prysmaticlabs/go-bitfield" - mockChain "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - opfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - testingdb "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder" - mockp2p "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - p2ptypes "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + mockChain "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + opfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + testingdb "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/encoder" + mockp2p "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + p2ptypes "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestService_ValidateSyncContributionAndProof(t *testing.T) { diff --git a/beacon-chain/sync/validate_voluntary_exit.go b/beacon-chain/sync/validate_voluntary_exit.go index c77c91f43..be9c4e73d 100644 --- a/beacon-chain/sync/validate_voluntary_exit.go +++ b/beacon-chain/sync/validate_voluntary_exit.go @@ -6,12 +6,12 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - opfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + opfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/beacon-chain/sync/validate_voluntary_exit_test.go b/beacon-chain/sync/validate_voluntary_exit_test.go index afe38cd14..2dd050db3 100644 --- a/beacon-chain/sync/validate_voluntary_exit_test.go +++ b/beacon-chain/sync/validate_voluntary_exit_test.go @@ -10,22 +10,22 @@ import ( pubsub "github.com/libp2p/go-libp2p-pubsub" pubsubpb "github.com/libp2p/go-libp2p-pubsub/pb" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - opfeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/operation" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - coreTime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - p2ptest "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - mockSync "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync/testing" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + opfeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/operation" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + coreTime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + p2ptest "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + mockSync "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/initial-sync/testing" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func setupValidExit(t *testing.T) (*ethpb.SignedVoluntaryExit, state.BeaconState) { diff --git a/build/bazel/BUILD.bazel b/build/bazel/BUILD.bazel index 3ba59a31a..5463012a2 100644 --- a/build/bazel/BUILD.bazel +++ b/build/bazel/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "data_path.go", "non_bazel.go", ], - importpath = "github.com/prysmaticlabs/prysm/build/bazel", + importpath = "github.com/prysmaticlabs/prysm/v3/build/bazel", visibility = ["//visibility:public"], deps = [ "//testing/require:go_default_library", diff --git a/build/bazel/bazel_test.go b/build/bazel/bazel_test.go index 8eb49278f..020e3936b 100644 --- a/build/bazel/bazel_test.go +++ b/build/bazel/bazel_test.go @@ -3,7 +3,7 @@ package bazel_test import ( "testing" - "github.com/prysmaticlabs/prysm/build/bazel" + "github.com/prysmaticlabs/prysm/v3/build/bazel" ) func TestBuildWithBazel(t *testing.T) { diff --git a/build/bazel/data_path.go b/build/bazel/data_path.go index 186c9cb17..c03ba88aa 100644 --- a/build/bazel/data_path.go +++ b/build/bazel/data_path.go @@ -15,7 +15,7 @@ import ( "path/filepath" "testing" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) // TestDataPath returns a path to an asset in the testdata directory. It knows diff --git a/cache/lru/BUILD.bazel b/cache/lru/BUILD.bazel index d2fa5da60..a3e01e078 100644 --- a/cache/lru/BUILD.bazel +++ b/cache/lru/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["lru_wrpr.go"], - importpath = "github.com/prysmaticlabs/prysm/cache/lru", + importpath = "github.com/prysmaticlabs/prysm/v3/cache/lru", visibility = ["//visibility:public"], deps = ["@com_github_hashicorp_golang_lru//:go_default_library"], ) diff --git a/cmd/BUILD.bazel b/cmd/BUILD.bazel index 0930a46cc..860f0808d 100644 --- a/cmd/BUILD.bazel +++ b/cmd/BUILD.bazel @@ -10,7 +10,7 @@ go_library( "password_reader.go", "wrap_flags.go", ], - importpath = "github.com/prysmaticlabs/prysm/cmd", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd", visibility = ["//visibility:public"], deps = [ "//config/fieldparams:go_default_library", diff --git a/cmd/beacon-chain/BUILD.bazel b/cmd/beacon-chain/BUILD.bazel index e7b4f9ad6..df250dbb1 100644 --- a/cmd/beacon-chain/BUILD.bazel +++ b/cmd/beacon-chain/BUILD.bazel @@ -12,7 +12,7 @@ go_library( "main.go", "usage.go", ], - importpath = "github.com/prysmaticlabs/prysm/cmd/beacon-chain", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain", visibility = ["//beacon-chain:__subpackages__"], deps = [ "//beacon-chain/builder:go_default_library", diff --git a/cmd/beacon-chain/blockchain/BUILD.bazel b/cmd/beacon-chain/blockchain/BUILD.bazel index 2dace6762..6c88bf3f8 100644 --- a/cmd/beacon-chain/blockchain/BUILD.bazel +++ b/cmd/beacon-chain/blockchain/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["options.go"], - importpath = "github.com/prysmaticlabs/prysm/cmd/beacon-chain/blockchain", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/blockchain", visibility = ["//cmd:__subpackages__"], deps = [ "//beacon-chain/blockchain:go_default_library", diff --git a/cmd/beacon-chain/blockchain/options.go b/cmd/beacon-chain/blockchain/options.go index 30ca4767b..ec16524fa 100644 --- a/cmd/beacon-chain/blockchain/options.go +++ b/cmd/beacon-chain/blockchain/options.go @@ -1,10 +1,10 @@ package blockchaincmd import ( - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" "github.com/urfave/cli/v2" ) diff --git a/cmd/beacon-chain/db/BUILD.bazel b/cmd/beacon-chain/db/BUILD.bazel index 9a093b088..c95b0be53 100644 --- a/cmd/beacon-chain/db/BUILD.bazel +++ b/cmd/beacon-chain/db/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["db.go"], - importpath = "github.com/prysmaticlabs/prysm/cmd/beacon-chain/db", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/db", visibility = ["//visibility:public"], deps = [ "//beacon-chain/db:go_default_library", diff --git a/cmd/beacon-chain/db/db.go b/cmd/beacon-chain/db/db.go index 35fd8438b..34384371a 100644 --- a/cmd/beacon-chain/db/db.go +++ b/cmd/beacon-chain/db/db.go @@ -1,9 +1,9 @@ package db import ( - beacondb "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/runtime/tos" + beacondb "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/runtime/tos" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/beacon-chain/execution/BUILD.bazel b/cmd/beacon-chain/execution/BUILD.bazel index 04259c925..40b3e3845 100644 --- a/cmd/beacon-chain/execution/BUILD.bazel +++ b/cmd/beacon-chain/execution/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["options.go"], - importpath = "github.com/prysmaticlabs/prysm/cmd/beacon-chain/execution", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/execution", visibility = [ "//beacon-chain:__subpackages__", "//cmd:__subpackages__", diff --git a/cmd/beacon-chain/execution/options.go b/cmd/beacon-chain/execution/options.go index 778878774..8537599fa 100644 --- a/cmd/beacon-chain/execution/options.go +++ b/cmd/beacon-chain/execution/options.go @@ -6,9 +6,9 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/io/file" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/beacon-chain/execution/options_test.go b/cmd/beacon-chain/execution/options_test.go index dc2703762..9d0efdad3 100644 --- a/cmd/beacon-chain/execution/options_test.go +++ b/cmd/beacon-chain/execution/options_test.go @@ -6,11 +6,11 @@ import ( "path/filepath" "testing" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" "github.com/urfave/cli/v2" ) diff --git a/cmd/beacon-chain/flags/BUILD.bazel b/cmd/beacon-chain/flags/BUILD.bazel index 82cbee64f..10f1719c8 100644 --- a/cmd/beacon-chain/flags/BUILD.bazel +++ b/cmd/beacon-chain/flags/BUILD.bazel @@ -9,7 +9,7 @@ go_library( "interop.go", "log.go", ], - importpath = "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags", visibility = [ "//api/gateway:__pkg__", "//beacon-chain:__subpackages__", diff --git a/cmd/beacon-chain/flags/api_module_test.go b/cmd/beacon-chain/flags/api_module_test.go index 802bb7858..5a0df5e71 100644 --- a/cmd/beacon-chain/flags/api_module_test.go +++ b/cmd/beacon-chain/flags/api_module_test.go @@ -3,7 +3,7 @@ package flags import ( "testing" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestEnableHTTPPrysmAPI(t *testing.T) { diff --git a/cmd/beacon-chain/flags/base.go b/cmd/beacon-chain/flags/base.go index c0a95cc7f..6ff18fd36 100644 --- a/cmd/beacon-chain/flags/base.go +++ b/cmd/beacon-chain/flags/base.go @@ -5,7 +5,7 @@ package flags import ( "strings" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" "github.com/urfave/cli/v2" ) diff --git a/cmd/beacon-chain/flags/config.go b/cmd/beacon-chain/flags/config.go index bb5b1a10a..3b303f31a 100644 --- a/cmd/beacon-chain/flags/config.go +++ b/cmd/beacon-chain/flags/config.go @@ -1,7 +1,7 @@ package flags import ( - "github.com/prysmaticlabs/prysm/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd" "github.com/urfave/cli/v2" ) diff --git a/cmd/beacon-chain/jwt/BUILD.bazel b/cmd/beacon-chain/jwt/BUILD.bazel index 57cd49c5f..6e9c47a6d 100644 --- a/cmd/beacon-chain/jwt/BUILD.bazel +++ b/cmd/beacon-chain/jwt/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["jwt.go"], - importpath = "github.com/prysmaticlabs/prysm/cmd/beacon-chain/jwt", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/jwt", visibility = ["//visibility:public"], deps = [ "//cmd:go_default_library", diff --git a/cmd/beacon-chain/jwt/jwt.go b/cmd/beacon-chain/jwt/jwt.go index 958ca755a..08abfeea7 100644 --- a/cmd/beacon-chain/jwt/jwt.go +++ b/cmd/beacon-chain/jwt/jwt.go @@ -5,9 +5,9 @@ import ( "path/filepath" "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/io/file" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/beacon-chain/jwt/jwt_test.go b/cmd/beacon-chain/jwt/jwt_test.go index d9d1ab2f9..c44d46170 100644 --- a/cmd/beacon-chain/jwt/jwt_test.go +++ b/cmd/beacon-chain/jwt/jwt_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/urfave/cli/v2" ) diff --git a/cmd/beacon-chain/main.go b/cmd/beacon-chain/main.go index 0c9945162..3c8f407bf 100644 --- a/cmd/beacon-chain/main.go +++ b/cmd/beacon-chain/main.go @@ -11,26 +11,26 @@ import ( gethlog "github.com/ethereum/go-ethereum/log" golog "github.com/ipfs/go-log/v2" joonix "github.com/joonix/log" - "github.com/prysmaticlabs/prysm/beacon-chain/builder" - "github.com/prysmaticlabs/prysm/beacon-chain/node" - "github.com/prysmaticlabs/prysm/cmd" - blockchaincmd "github.com/prysmaticlabs/prysm/cmd/beacon-chain/blockchain" - dbcommands "github.com/prysmaticlabs/prysm/cmd/beacon-chain/db" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/execution" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - jwtcommands "github.com/prysmaticlabs/prysm/cmd/beacon-chain/jwt" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/sync/checkpoint" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/sync/genesis" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/io/logs" - "github.com/prysmaticlabs/prysm/monitoring/journald" - "github.com/prysmaticlabs/prysm/runtime/debug" - "github.com/prysmaticlabs/prysm/runtime/fdlimits" - prefixed "github.com/prysmaticlabs/prysm/runtime/logging/logrus-prefixed-formatter" - _ "github.com/prysmaticlabs/prysm/runtime/maxprocs" - "github.com/prysmaticlabs/prysm/runtime/tos" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/builder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/node" + "github.com/prysmaticlabs/prysm/v3/cmd" + blockchaincmd "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/blockchain" + dbcommands "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/execution" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + jwtcommands "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/jwt" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/sync/checkpoint" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/sync/genesis" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/io/logs" + "github.com/prysmaticlabs/prysm/v3/monitoring/journald" + "github.com/prysmaticlabs/prysm/v3/runtime/debug" + "github.com/prysmaticlabs/prysm/v3/runtime/fdlimits" + prefixed "github.com/prysmaticlabs/prysm/v3/runtime/logging/logrus-prefixed-formatter" + _ "github.com/prysmaticlabs/prysm/v3/runtime/maxprocs" + "github.com/prysmaticlabs/prysm/v3/runtime/tos" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/beacon-chain/sync/checkpoint/BUILD.bazel b/cmd/beacon-chain/sync/checkpoint/BUILD.bazel index 06da1f480..fecac02ed 100644 --- a/cmd/beacon-chain/sync/checkpoint/BUILD.bazel +++ b/cmd/beacon-chain/sync/checkpoint/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["options.go"], - importpath = "github.com/prysmaticlabs/prysm/cmd/beacon-chain/sync/checkpoint", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/sync/checkpoint", visibility = ["//visibility:public"], deps = [ "//beacon-chain/node:go_default_library", diff --git a/cmd/beacon-chain/sync/checkpoint/options.go b/cmd/beacon-chain/sync/checkpoint/options.go index 4a453e3d2..4bd787882 100644 --- a/cmd/beacon-chain/sync/checkpoint/options.go +++ b/cmd/beacon-chain/sync/checkpoint/options.go @@ -4,8 +4,8 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/node" - "github.com/prysmaticlabs/prysm/beacon-chain/sync/checkpoint" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/node" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/checkpoint" "github.com/urfave/cli/v2" ) diff --git a/cmd/beacon-chain/sync/genesis/BUILD.bazel b/cmd/beacon-chain/sync/genesis/BUILD.bazel index 74da1f667..d6d300208 100644 --- a/cmd/beacon-chain/sync/genesis/BUILD.bazel +++ b/cmd/beacon-chain/sync/genesis/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["options.go"], - importpath = "github.com/prysmaticlabs/prysm/cmd/beacon-chain/sync/genesis", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/sync/genesis", visibility = ["//visibility:public"], deps = [ "//beacon-chain/node:go_default_library", diff --git a/cmd/beacon-chain/sync/genesis/options.go b/cmd/beacon-chain/sync/genesis/options.go index def06b937..9f36fa8f4 100644 --- a/cmd/beacon-chain/sync/genesis/options.go +++ b/cmd/beacon-chain/sync/genesis/options.go @@ -2,8 +2,8 @@ package genesis import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/node" - "github.com/prysmaticlabs/prysm/beacon-chain/sync/genesis" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/node" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync/genesis" "github.com/urfave/cli/v2" ) diff --git a/cmd/beacon-chain/usage.go b/cmd/beacon-chain/usage.go index 5f80274ea..9f86aa6a8 100644 --- a/cmd/beacon-chain/usage.go +++ b/cmd/beacon-chain/usage.go @@ -5,12 +5,12 @@ import ( "io" "sort" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/sync/checkpoint" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/sync/genesis" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/runtime/debug" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/sync/checkpoint" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/sync/genesis" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/runtime/debug" "github.com/urfave/cli/v2" ) diff --git a/cmd/beacon-chain/usage_test.go b/cmd/beacon-chain/usage_test.go index 7d6eb75b2..aae3dc048 100644 --- a/cmd/beacon-chain/usage_test.go +++ b/cmd/beacon-chain/usage_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/prysmaticlabs/prysm/config/features" + "github.com/prysmaticlabs/prysm/v3/config/features" "github.com/urfave/cli/v2" ) diff --git a/cmd/client-stats/BUILD.bazel b/cmd/client-stats/BUILD.bazel index bdd369121..68d4efdb5 100644 --- a/cmd/client-stats/BUILD.bazel +++ b/cmd/client-stats/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "main.go", "usage.go", ], - importpath = "github.com/prysmaticlabs/prysm/cmd/client-stats", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/client-stats", visibility = ["//visibility:private"], deps = [ "//cmd:go_default_library", diff --git a/cmd/client-stats/flags/BUILD.bazel b/cmd/client-stats/flags/BUILD.bazel index 17931da7c..f82208ea2 100644 --- a/cmd/client-stats/flags/BUILD.bazel +++ b/cmd/client-stats/flags/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["flags.go"], - importpath = "github.com/prysmaticlabs/prysm/cmd/client-stats/flags", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/client-stats/flags", visibility = ["//visibility:public"], deps = ["@com_github_urfave_cli_v2//:go_default_library"], ) diff --git a/cmd/client-stats/main.go b/cmd/client-stats/main.go index 6a11e5f49..15459904d 100644 --- a/cmd/client-stats/main.go +++ b/cmd/client-stats/main.go @@ -7,13 +7,13 @@ import ( "time" joonix "github.com/joonix/log" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/client-stats/flags" - "github.com/prysmaticlabs/prysm/io/logs" - "github.com/prysmaticlabs/prysm/monitoring/clientstats" - "github.com/prysmaticlabs/prysm/monitoring/journald" - prefixed "github.com/prysmaticlabs/prysm/runtime/logging/logrus-prefixed-formatter" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/client-stats/flags" + "github.com/prysmaticlabs/prysm/v3/io/logs" + "github.com/prysmaticlabs/prysm/v3/monitoring/clientstats" + "github.com/prysmaticlabs/prysm/v3/monitoring/journald" + prefixed "github.com/prysmaticlabs/prysm/v3/runtime/logging/logrus-prefixed-formatter" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/client-stats/usage.go b/cmd/client-stats/usage.go index 650f606f4..7a3096c80 100644 --- a/cmd/client-stats/usage.go +++ b/cmd/client-stats/usage.go @@ -5,8 +5,8 @@ import ( "io" "sort" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/client-stats/flags" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/client-stats/flags" "github.com/urfave/cli/v2" ) diff --git a/cmd/config.go b/cmd/config.go index 537e64186..0e2ba87e2 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -1,8 +1,8 @@ package cmd import ( - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" "github.com/urfave/cli/v2" ) diff --git a/cmd/config_test.go b/cmd/config_test.go index ed71e38f4..b068a247f 100644 --- a/cmd/config_test.go +++ b/cmd/config_test.go @@ -4,9 +4,9 @@ import ( "flag" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/urfave/cli/v2" ) diff --git a/cmd/defaults.go b/cmd/defaults.go index 35916e667..b2e06eb0f 100644 --- a/cmd/defaults.go +++ b/cmd/defaults.go @@ -22,7 +22,7 @@ import ( "path/filepath" "runtime" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/io/file" ) // DefaultDataDir is the default data directory to use for the databases and other diff --git a/cmd/flags.go b/cmd/flags.go index 692f33bb4..38bc51455 100644 --- a/cmd/flags.go +++ b/cmd/flags.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" "github.com/urfave/cli/v2" "github.com/urfave/cli/v2/altsrc" ) diff --git a/cmd/flags_test.go b/cmd/flags_test.go index b31444b65..cc0198e0c 100644 --- a/cmd/flags_test.go +++ b/cmd/flags_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/urfave/cli/v2" ) diff --git a/cmd/helpers.go b/cmd/helpers.go index e65f84677..130390d2f 100644 --- a/cmd/helpers.go +++ b/cmd/helpers.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/io/file" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/helpers_test.go b/cmd/helpers_test.go index 8415dd529..91b4ebbb1 100644 --- a/cmd/helpers_test.go +++ b/cmd/helpers_test.go @@ -8,9 +8,9 @@ import ( "github.com/golang/mock/gomock" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd/mock" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/cmd/mock" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/urfave/cli/v2" ) diff --git a/cmd/mock/BUILD.bazel b/cmd/mock/BUILD.bazel index 3053ddcf5..8fac4b931 100644 --- a/cmd/mock/BUILD.bazel +++ b/cmd/mock/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["password_reader_mock.go"], - importpath = "github.com/prysmaticlabs/prysm/cmd/mock", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/mock", visibility = ["//visibility:public"], deps = ["@com_github_golang_mock//gomock:go_default_library"], ) diff --git a/cmd/prysmctl/BUILD.bazel b/cmd/prysmctl/BUILD.bazel index fd0ebd7ed..a9b560ecc 100644 --- a/cmd/prysmctl/BUILD.bazel +++ b/cmd/prysmctl/BUILD.bazel @@ -4,7 +4,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["main.go"], - importpath = "github.com/prysmaticlabs/prysm/cmd/prysmctl", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/prysmctl", visibility = ["//visibility:private"], deps = [ "//cmd/prysmctl/checkpoint:go_default_library", diff --git a/cmd/prysmctl/checkpoint/BUILD.bazel b/cmd/prysmctl/checkpoint/BUILD.bazel index c21b9062b..91deb6070 100644 --- a/cmd/prysmctl/checkpoint/BUILD.bazel +++ b/cmd/prysmctl/checkpoint/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "latest.go", "save.go", ], - importpath = "github.com/prysmaticlabs/prysm/cmd/prysmctl/checkpoint", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/prysmctl/checkpoint", visibility = ["//visibility:public"], deps = [ "//api/client/beacon:go_default_library", diff --git a/cmd/prysmctl/checkpoint/latest.go b/cmd/prysmctl/checkpoint/latest.go index 62acaba15..0d164ec69 100644 --- a/cmd/prysmctl/checkpoint/latest.go +++ b/cmd/prysmctl/checkpoint/latest.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - "github.com/prysmaticlabs/prysm/api/client/beacon" + "github.com/prysmaticlabs/prysm/v3/api/client/beacon" "github.com/urfave/cli/v2" ) diff --git a/cmd/prysmctl/checkpoint/save.go b/cmd/prysmctl/checkpoint/save.go index 1a16a2e05..15bfe5e25 100644 --- a/cmd/prysmctl/checkpoint/save.go +++ b/cmd/prysmctl/checkpoint/save.go @@ -5,7 +5,7 @@ import ( "os" "time" - "github.com/prysmaticlabs/prysm/api/client/beacon" + "github.com/prysmaticlabs/prysm/v3/api/client/beacon" log "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/prysmctl/main.go b/cmd/prysmctl/main.go index d50cf1f52..5ab7fdb8e 100644 --- a/cmd/prysmctl/main.go +++ b/cmd/prysmctl/main.go @@ -3,7 +3,7 @@ package main import ( "os" - "github.com/prysmaticlabs/prysm/cmd/prysmctl/checkpoint" + "github.com/prysmaticlabs/prysm/v3/cmd/prysmctl/checkpoint" log "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/BUILD.bazel b/cmd/validator/BUILD.bazel index 8b2e76194..3d21fc578 100644 --- a/cmd/validator/BUILD.bazel +++ b/cmd/validator/BUILD.bazel @@ -12,7 +12,7 @@ go_library( "main.go", "usage.go", ], - importpath = "github.com/prysmaticlabs/prysm/cmd/validator", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/validator", visibility = ["//validator:__subpackages__"], deps = [ "//cmd:go_default_library", diff --git a/cmd/validator/accounts/BUILD.bazel b/cmd/validator/accounts/BUILD.bazel index 8b810949a..4c6fa1539 100644 --- a/cmd/validator/accounts/BUILD.bazel +++ b/cmd/validator/accounts/BUILD.bazel @@ -11,7 +11,7 @@ go_library( "list.go", "wallet_utils.go", ], - importpath = "github.com/prysmaticlabs/prysm/cmd/validator/accounts", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/validator/accounts", visibility = ["//visibility:public"], deps = [ "//cmd:go_default_library", diff --git a/cmd/validator/accounts/accounts.go b/cmd/validator/accounts/accounts.go index e4ebd2435..ac48fbef9 100644 --- a/cmd/validator/accounts/accounts.go +++ b/cmd/validator/accounts/accounts.go @@ -3,10 +3,10 @@ package accounts import ( "os" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/runtime/tos" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/runtime/tos" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/accounts/backup.go b/cmd/validator/accounts/backup.go index 6cdf4756b..82fa2222b 100644 --- a/cmd/validator/accounts/backup.go +++ b/cmd/validator/accounts/backup.go @@ -4,12 +4,12 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/io/prompt" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/userprompt" - "github.com/prysmaticlabs/prysm/validator/client" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/io/prompt" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/userprompt" + "github.com/prysmaticlabs/prysm/v3/validator/client" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/accounts/backup_test.go b/cmd/validator/accounts/backup_test.go index dd7cccd1f..24044cd31 100644 --- a/cmd/validator/accounts/backup_test.go +++ b/cmd/validator/accounts/backup_test.go @@ -12,16 +12,16 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" - constant "github.com/prysmaticlabs/prysm/validator/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" + constant "github.com/prysmaticlabs/prysm/v3/validator/testing" ) func TestBackupAccounts_Noninteractive_Derived(t *testing.T) { diff --git a/cmd/validator/accounts/delete.go b/cmd/validator/accounts/delete.go index 3d7525190..487aa146e 100644 --- a/cmd/validator/accounts/delete.go +++ b/cmd/validator/accounts/delete.go @@ -4,11 +4,11 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/userprompt" - "github.com/prysmaticlabs/prysm/validator/client" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/userprompt" + "github.com/prysmaticlabs/prysm/v3/validator/client" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/accounts/delete_test.go b/cmd/validator/accounts/delete_test.go index f53e597e1..2705fca38 100644 --- a/cmd/validator/accounts/delete_test.go +++ b/cmd/validator/accounts/delete_test.go @@ -13,17 +13,17 @@ import ( "time" "github.com/google/uuid" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" "github.com/urfave/cli/v2" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/cmd/validator/accounts/exit.go b/cmd/validator/accounts/exit.go index 5cb1cf1ab..315b56cb9 100644 --- a/cmd/validator/accounts/exit.go +++ b/cmd/validator/accounts/exit.go @@ -5,10 +5,10 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/client" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/client" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/accounts/exit_test.go b/cmd/validator/accounts/exit_test.go index 2584ff72b..9694a87e9 100644 --- a/cmd/validator/accounts/exit_test.go +++ b/cmd/validator/accounts/exit_test.go @@ -9,13 +9,13 @@ import ( "time" "github.com/golang/mock/gomock" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - mock2 "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + mock2 "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/cmd/validator/accounts/import.go b/cmd/validator/accounts/import.go index 8d56dc38d..bd48c21e3 100644 --- a/cmd/validator/accounts/import.go +++ b/cmd/validator/accounts/import.go @@ -4,14 +4,14 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - "github.com/prysmaticlabs/prysm/validator/accounts/userprompt" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/client" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/userprompt" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/client" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/accounts/import_test.go b/cmd/validator/accounts/import_test.go index 9c0a94b7c..7dd328148 100644 --- a/cmd/validator/accounts/import_test.go +++ b/cmd/validator/accounts/import_test.go @@ -11,14 +11,14 @@ import ( "time" "github.com/google/uuid" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/cmd/validator/accounts/list.go b/cmd/validator/accounts/list.go index 76ba4ca54..65f5609ad 100644 --- a/cmd/validator/accounts/list.go +++ b/cmd/validator/accounts/list.go @@ -3,10 +3,10 @@ package accounts import ( "strings" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/client" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/client" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/accounts/wallet_utils.go b/cmd/validator/accounts/wallet_utils.go index 2055f25f5..fd4308952 100644 --- a/cmd/validator/accounts/wallet_utils.go +++ b/cmd/validator/accounts/wallet_utils.go @@ -4,10 +4,10 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/db/BUILD.bazel b/cmd/validator/db/BUILD.bazel index 6076f02d8..63efad6df 100644 --- a/cmd/validator/db/BUILD.bazel +++ b/cmd/validator/db/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["db.go"], - importpath = "github.com/prysmaticlabs/prysm/cmd/validator/db", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/validator/db", visibility = ["//visibility:public"], deps = [ "//cmd:go_default_library", diff --git a/cmd/validator/db/db.go b/cmd/validator/db/db.go index d7af9a7d8..537958de1 100644 --- a/cmd/validator/db/db.go +++ b/cmd/validator/db/db.go @@ -1,9 +1,9 @@ package db import ( - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/runtime/tos" - validatordb "github.com/prysmaticlabs/prysm/validator/db" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/runtime/tos" + validatordb "github.com/prysmaticlabs/prysm/v3/validator/db" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/flags/BUILD.bazel b/cmd/validator/flags/BUILD.bazel index ad0e6699b..b7778cecd 100644 --- a/cmd/validator/flags/BUILD.bazel +++ b/cmd/validator/flags/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "flags.go", "interop.go", ], - importpath = "github.com/prysmaticlabs/prysm/cmd/validator/flags", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags", visibility = [ "//cmd/validator:__subpackages__", "//testing/endtoend:__subpackages__", diff --git a/cmd/validator/flags/flags.go b/cmd/validator/flags/flags.go index 2ecdb0328..6ddf6acb2 100644 --- a/cmd/validator/flags/flags.go +++ b/cmd/validator/flags/flags.go @@ -7,8 +7,8 @@ import ( "runtime" "time" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/flags/flags_test.go b/cmd/validator/flags/flags_test.go index f77acc4aa..63b0b55de 100644 --- a/cmd/validator/flags/flags_test.go +++ b/cmd/validator/flags/flags_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/main.go b/cmd/validator/main.go index ff1668f85..4feee9bf9 100644 --- a/cmd/validator/main.go +++ b/cmd/validator/main.go @@ -11,23 +11,23 @@ import ( runtimeDebug "runtime/debug" joonix "github.com/joonix/log" - "github.com/prysmaticlabs/prysm/cmd" - accountcommands "github.com/prysmaticlabs/prysm/cmd/validator/accounts" - dbcommands "github.com/prysmaticlabs/prysm/cmd/validator/db" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - slashingprotectioncommands "github.com/prysmaticlabs/prysm/cmd/validator/slashing-protection" - walletcommands "github.com/prysmaticlabs/prysm/cmd/validator/wallet" - "github.com/prysmaticlabs/prysm/cmd/validator/web" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/io/logs" - "github.com/prysmaticlabs/prysm/monitoring/journald" - "github.com/prysmaticlabs/prysm/runtime/debug" - prefixed "github.com/prysmaticlabs/prysm/runtime/logging/logrus-prefixed-formatter" - _ "github.com/prysmaticlabs/prysm/runtime/maxprocs" - "github.com/prysmaticlabs/prysm/runtime/tos" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/validator/node" + "github.com/prysmaticlabs/prysm/v3/cmd" + accountcommands "github.com/prysmaticlabs/prysm/v3/cmd/validator/accounts" + dbcommands "github.com/prysmaticlabs/prysm/v3/cmd/validator/db" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + slashingprotectioncommands "github.com/prysmaticlabs/prysm/v3/cmd/validator/slashing-protection" + walletcommands "github.com/prysmaticlabs/prysm/v3/cmd/validator/wallet" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/web" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/io/logs" + "github.com/prysmaticlabs/prysm/v3/monitoring/journald" + "github.com/prysmaticlabs/prysm/v3/runtime/debug" + prefixed "github.com/prysmaticlabs/prysm/v3/runtime/logging/logrus-prefixed-formatter" + _ "github.com/prysmaticlabs/prysm/v3/runtime/maxprocs" + "github.com/prysmaticlabs/prysm/v3/runtime/tos" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/validator/node" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/slashing-protection/BUILD.bazel b/cmd/validator/slashing-protection/BUILD.bazel index 8b859746b..6ba84404c 100644 --- a/cmd/validator/slashing-protection/BUILD.bazel +++ b/cmd/validator/slashing-protection/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "log.go", "slashing-protection.go", ], - importpath = "github.com/prysmaticlabs/prysm/cmd/validator/slashing-protection", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/validator/slashing-protection", visibility = ["//visibility:public"], deps = [ "//cmd:go_default_library", diff --git a/cmd/validator/slashing-protection/export.go b/cmd/validator/slashing-protection/export.go index 7b08821d9..ab3f65a2f 100644 --- a/cmd/validator/slashing-protection/export.go +++ b/cmd/validator/slashing-protection/export.go @@ -6,12 +6,12 @@ import ( "path/filepath" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/validator/accounts/userprompt" - "github.com/prysmaticlabs/prysm/validator/db/kv" - slashingprotection "github.com/prysmaticlabs/prysm/validator/slashing-protection-history" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/userprompt" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" + slashingprotection "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/slashing-protection/import.go b/cmd/validator/slashing-protection/import.go index 26cd8daee..6ceb0ee21 100644 --- a/cmd/validator/slashing-protection/import.go +++ b/cmd/validator/slashing-protection/import.go @@ -5,12 +5,12 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/validator/accounts/userprompt" - "github.com/prysmaticlabs/prysm/validator/db/kv" - slashingprotection "github.com/prysmaticlabs/prysm/validator/slashing-protection-history" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/userprompt" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" + slashingprotection "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/slashing-protection/import_export_test.go b/cmd/validator/slashing-protection/import_export_test.go index 6e128c12a..4dc411e90 100644 --- a/cmd/validator/slashing-protection/import_export_test.go +++ b/cmd/validator/slashing-protection/import_export_test.go @@ -6,15 +6,15 @@ import ( "path/filepath" "testing" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/db/kv" - dbTest "github.com/prysmaticlabs/prysm/validator/db/testing" - "github.com/prysmaticlabs/prysm/validator/slashing-protection-history/format" - mocks "github.com/prysmaticlabs/prysm/validator/testing" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" + dbTest "github.com/prysmaticlabs/prysm/v3/validator/db/testing" + "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history/format" + mocks "github.com/prysmaticlabs/prysm/v3/validator/testing" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/slashing-protection/slashing-protection.go b/cmd/validator/slashing-protection/slashing-protection.go index df2b2e920..ef57d4fb0 100644 --- a/cmd/validator/slashing-protection/slashing-protection.go +++ b/cmd/validator/slashing-protection/slashing-protection.go @@ -1,10 +1,10 @@ package historycmd import ( - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/runtime/tos" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/runtime/tos" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/usage.go b/cmd/validator/usage.go index ecd050da7..795ec1ee0 100644 --- a/cmd/validator/usage.go +++ b/cmd/validator/usage.go @@ -5,10 +5,10 @@ import ( "io" "sort" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/runtime/debug" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/runtime/debug" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/usage_test.go b/cmd/validator/usage_test.go index b0232dfd4..15e3bac8d 100644 --- a/cmd/validator/usage_test.go +++ b/cmd/validator/usage_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/prysmaticlabs/prysm/config/features" + "github.com/prysmaticlabs/prysm/v3/config/features" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/wallet/BUILD.bazel b/cmd/validator/wallet/BUILD.bazel index 3d7621f15..1d60af021 100644 --- a/cmd/validator/wallet/BUILD.bazel +++ b/cmd/validator/wallet/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "edit.go", "wallet.go", ], - importpath = "github.com/prysmaticlabs/prysm/cmd/validator/wallet", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/validator/wallet", visibility = ["//visibility:public"], deps = [ "//cmd:go_default_library", diff --git a/cmd/validator/wallet/edit.go b/cmd/validator/wallet/edit.go index 862728fe0..69153f6ba 100644 --- a/cmd/validator/wallet/edit.go +++ b/cmd/validator/wallet/edit.go @@ -4,11 +4,11 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/userprompt" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/userprompt" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/wallet/edit_test.go b/cmd/validator/wallet/edit_test.go index 3258eda1a..81a8129f3 100644 --- a/cmd/validator/wallet/edit_test.go +++ b/cmd/validator/wallet/edit_test.go @@ -7,14 +7,14 @@ import ( "strconv" "testing" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/wallet/wallet.go b/cmd/validator/wallet/wallet.go index bded440d6..cf834b7d9 100644 --- a/cmd/validator/wallet/wallet.go +++ b/cmd/validator/wallet/wallet.go @@ -1,11 +1,11 @@ package wallet import ( - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/runtime/tos" - "github.com/prysmaticlabs/prysm/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/runtime/tos" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/cmd/validator/web/BUILD.bazel b/cmd/validator/web/BUILD.bazel index 434ca6489..b1ec45e6d 100644 --- a/cmd/validator/web/BUILD.bazel +++ b/cmd/validator/web/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "log.go", "web.go", ], - importpath = "github.com/prysmaticlabs/prysm/cmd/validator/web", + importpath = "github.com/prysmaticlabs/prysm/v3/cmd/validator/web", visibility = ["//visibility:public"], deps = [ "//cmd:go_default_library", diff --git a/cmd/validator/web/web.go b/cmd/validator/web/web.go index 04aa12a03..6febfb311 100644 --- a/cmd/validator/web/web.go +++ b/cmd/validator/web/web.go @@ -3,11 +3,11 @@ package web import ( "fmt" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/runtime/tos" - "github.com/prysmaticlabs/prysm/validator/rpc" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/runtime/tos" + "github.com/prysmaticlabs/prysm/v3/validator/rpc" "github.com/urfave/cli/v2" ) diff --git a/config/features/BUILD.bazel b/config/features/BUILD.bazel index 0d5b3c5ec..4273542f4 100644 --- a/config/features/BUILD.bazel +++ b/config/features/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "filter_flags.go", "flags.go", ], - importpath = "github.com/prysmaticlabs/prysm/config/features", + importpath = "github.com/prysmaticlabs/prysm/v3/config/features", visibility = ["//visibility:public"], deps = [ "//cmd:go_default_library", diff --git a/config/features/config.go b/config/features/config.go index 0b27a44ea..1d811fa45 100644 --- a/config/features/config.go +++ b/config/features/config.go @@ -23,8 +23,8 @@ import ( "sync" "time" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/config/params" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/config/features/config_test.go b/config/features/config_test.go index 75c44f356..c100f6b56 100644 --- a/config/features/config_test.go +++ b/config/features/config_test.go @@ -4,8 +4,8 @@ import ( "flag" "testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/urfave/cli/v2" ) diff --git a/config/features/deprecated_flags_test.go b/config/features/deprecated_flags_test.go index c836a31a3..ec0772086 100644 --- a/config/features/deprecated_flags_test.go +++ b/config/features/deprecated_flags_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestDeprecatedFlags(t *testing.T) { diff --git a/config/fieldparams/BUILD.bazel b/config/fieldparams/BUILD.bazel index f63b27899..68f7657ec 100644 --- a/config/fieldparams/BUILD.bazel +++ b/config/fieldparams/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "//config:mainnet": ["mainnet.go"], "//config:minimal": ["minimal.go"], }), - importpath = "github.com/prysmaticlabs/prysm/config/fieldparams", + importpath = "github.com/prysmaticlabs/prysm/v3/config/fieldparams", visibility = ["//visibility:public"], ) diff --git a/config/fieldparams/common_test.go b/config/fieldparams/common_test.go index abcbcf9bf..f2e1f8009 100644 --- a/config/fieldparams/common_test.go +++ b/config/fieldparams/common_test.go @@ -3,9 +3,9 @@ package field_params_test import ( "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func testFieldParametersMatchConfig(t *testing.T) { diff --git a/config/fieldparams/mainnet_test.go b/config/fieldparams/mainnet_test.go index 02a8b79c1..5634ea51b 100644 --- a/config/fieldparams/mainnet_test.go +++ b/config/fieldparams/mainnet_test.go @@ -5,9 +5,9 @@ package field_params_test import ( "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestFieldParametersValues(t *testing.T) { diff --git a/config/fieldparams/minimal_test.go b/config/fieldparams/minimal_test.go index 92b4adfb7..e18537c74 100644 --- a/config/fieldparams/minimal_test.go +++ b/config/fieldparams/minimal_test.go @@ -5,9 +5,9 @@ package field_params_test import ( "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestFieldParametersValues(t *testing.T) { diff --git a/config/params/BUILD.bazel b/config/params/BUILD.bazel index 191edd970..68dd69b71 100644 --- a/config/params/BUILD.bazel +++ b/config/params/BUILD.bazel @@ -22,7 +22,7 @@ go_library( "testutils_develop.go", # keep "values.go", ], - importpath = "github.com/prysmaticlabs/prysm/config/params", + importpath = "github.com/prysmaticlabs/prysm/v3/config/params", visibility = ["//visibility:public"], deps = [ "//config/fieldparams:go_default_library", diff --git a/config/params/config.go b/config/params/config.go index 081b0c7d3..60911f9ec 100644 --- a/config/params/config.go +++ b/config/params/config.go @@ -5,9 +5,9 @@ import ( "time" "github.com/ethereum/go-ethereum/common" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) // BeaconChainConfig contains constant configs for node to participate in beacon chain. diff --git a/config/params/config_test.go b/config/params/config_test.go index dcdf90e54..0aeaeb053 100644 --- a/config/params/config_test.go +++ b/config/params/config_test.go @@ -4,7 +4,7 @@ import ( "sync" "testing" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) // Test cases can be executed in an arbitrary order. TestOverrideBeaconConfigTestTeardown checks diff --git a/config/params/configset.go b/config/params/configset.go index 385056740..0c9b4f138 100644 --- a/config/params/configset.go +++ b/config/params/configset.go @@ -2,7 +2,7 @@ package params import ( "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" ) var configs *configset diff --git a/config/params/configset_test.go b/config/params/configset_test.go index 86d15610c..db4e131d3 100644 --- a/config/params/configset_test.go +++ b/config/params/configset_test.go @@ -3,8 +3,8 @@ package params import ( "testing" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestConfigset_Add(t *testing.T) { diff --git a/config/params/loader.go b/config/params/loader.go index 5f1ecdd15..bd4e7cf4c 100644 --- a/config/params/loader.go +++ b/config/params/loader.go @@ -7,8 +7,8 @@ import ( "strings" "github.com/pkg/errors" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/math" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/math" log "github.com/sirupsen/logrus" "gopkg.in/yaml.v2" ) diff --git a/config/params/loader_test.go b/config/params/loader_test.go index b98a102f9..2c4c16143 100644 --- a/config/params/loader_test.go +++ b/config/params/loader_test.go @@ -11,10 +11,10 @@ import ( "testing" "github.com/bazelbuild/rules_go/go/tools/bazel" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "gopkg.in/yaml.v2" ) diff --git a/config/params/mainnet_config.go b/config/params/mainnet_config.go index e38e98c0a..9e6672c4e 100644 --- a/config/params/mainnet_config.go +++ b/config/params/mainnet_config.go @@ -4,8 +4,8 @@ import ( "math" "time" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) // MainnetConfig returns the configuration to be used in the main network. diff --git a/config/params/minimal_config.go b/config/params/minimal_config.go index aab2411de..289ea01bf 100644 --- a/config/params/minimal_config.go +++ b/config/params/minimal_config.go @@ -3,7 +3,7 @@ package params import ( "math" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) // MinimalSpecConfig retrieves the minimal config used in spec tests. diff --git a/config/params/network_config.go b/config/params/network_config.go index 169316691..a4e1d9af0 100644 --- a/config/params/network_config.go +++ b/config/params/network_config.go @@ -4,7 +4,7 @@ import ( "time" "github.com/mohae/deepcopy" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // NetworkConfig defines the spec based network parameters. diff --git a/config/params/testnet_config_test.go b/config/params/testnet_config_test.go index 26f329d79..a04de7281 100644 --- a/config/params/testnet_config_test.go +++ b/config/params/testnet_config_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/bazelbuild/rules_go/go/tools/bazel" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func testnetConfigFilePath(t *testing.T, network string) string { diff --git a/config/params/testnet_prater_config_test.go b/config/params/testnet_prater_config_test.go index ee280aa6d..6625747a7 100644 --- a/config/params/testnet_prater_config_test.go +++ b/config/params/testnet_prater_config_test.go @@ -3,8 +3,8 @@ package params_test import ( "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestPraterConfigMatchesUpstreamYaml(t *testing.T) { diff --git a/config/validator/service/BUILD.bazel b/config/validator/service/BUILD.bazel index 30b854a77..179bc899b 100644 --- a/config/validator/service/BUILD.bazel +++ b/config/validator/service/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["proposer-settings.go"], - importpath = "github.com/prysmaticlabs/prysm/config/validator/service", + importpath = "github.com/prysmaticlabs/prysm/v3/config/validator/service", visibility = ["//visibility:public"], deps = [ "//config/fieldparams:go_default_library", diff --git a/config/validator/service/proposer-settings.go b/config/validator/service/proposer-settings.go index 1a49fc815..661807cd0 100644 --- a/config/validator/service/proposer-settings.go +++ b/config/validator/service/proposer-settings.go @@ -2,8 +2,8 @@ package validator_service_config import ( "github.com/ethereum/go-ethereum/common" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" ) // ProposerSettingsPayload is the struct representation of the JSON or YAML payload set in the validator through the CLI. diff --git a/consensus-types/blocks/BUILD.bazel b/consensus-types/blocks/BUILD.bazel index 020a5a476..fd47af848 100644 --- a/consensus-types/blocks/BUILD.bazel +++ b/consensus-types/blocks/BUILD.bazel @@ -9,7 +9,7 @@ go_library( "proto.go", "types.go", ], - importpath = "github.com/prysmaticlabs/prysm/consensus-types/blocks", + importpath = "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks", visibility = ["//visibility:public"], deps = [ "//config/fieldparams:go_default_library", diff --git a/consensus-types/blocks/execution.go b/consensus-types/blocks/execution.go index 686e37c2f..a378b7c33 100644 --- a/consensus-types/blocks/execution.go +++ b/consensus-types/blocks/execution.go @@ -5,11 +5,11 @@ import ( "errors" fastssz "github.com/prysmaticlabs/fastssz" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" "google.golang.org/protobuf/proto" ) diff --git a/consensus-types/blocks/execution_test.go b/consensus-types/blocks/execution_test.go index b15f6927a..0ac890220 100644 --- a/consensus-types/blocks/execution_test.go +++ b/consensus-types/blocks/execution_test.go @@ -3,12 +3,12 @@ package blocks_test import ( "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestWrapExecutionPayload(t *testing.T) { diff --git a/consensus-types/blocks/factory.go b/consensus-types/blocks/factory.go index 88e9f721c..f64fda8bb 100644 --- a/consensus-types/blocks/factory.go +++ b/consensus-types/blocks/factory.go @@ -4,10 +4,10 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) var ( diff --git a/consensus-types/blocks/factory_test.go b/consensus-types/blocks/factory_test.go index 4c466459e..b2c9b5191 100644 --- a/consensus-types/blocks/factory_test.go +++ b/consensus-types/blocks/factory_test.go @@ -5,13 +5,13 @@ import ( "errors" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func Test_NewSignedBeaconBlock(t *testing.T) { diff --git a/consensus-types/blocks/getters.go b/consensus-types/blocks/getters.go index aef659028..21483c991 100644 --- a/consensus-types/blocks/getters.go +++ b/consensus-types/blocks/getters.go @@ -3,11 +3,11 @@ package blocks import ( "github.com/pkg/errors" ssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) // BeaconBlockIsNil checks if any composite field of input signed beacon block is nil. diff --git a/consensus-types/blocks/getters_test.go b/consensus-types/blocks/getters_test.go index 21f326c81..833dd6237 100644 --- a/consensus-types/blocks/getters_test.go +++ b/consensus-types/blocks/getters_test.go @@ -4,14 +4,14 @@ import ( "testing" ssz "github.com/prysmaticlabs/fastssz" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func Test_BeaconBlockIsNil(t *testing.T) { diff --git a/consensus-types/blocks/proto.go b/consensus-types/blocks/proto.go index 1958f2779..412e30e14 100644 --- a/consensus-types/blocks/proto.go +++ b/consensus-types/blocks/proto.go @@ -2,8 +2,8 @@ package blocks import ( "github.com/pkg/errors" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "google.golang.org/protobuf/proto" ) diff --git a/consensus-types/blocks/proto_test.go b/consensus-types/blocks/proto_test.go index aea51fde9..9cf8096de 100644 --- a/consensus-types/blocks/proto_test.go +++ b/consensus-types/blocks/proto_test.go @@ -4,11 +4,11 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) type fields struct { diff --git a/consensus-types/blocks/testing/BUILD.bazel b/consensus-types/blocks/testing/BUILD.bazel index 320cfc168..1fb31cadd 100644 --- a/consensus-types/blocks/testing/BUILD.bazel +++ b/consensus-types/blocks/testing/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "factory.go", "mutator.go", ], - importpath = "github.com/prysmaticlabs/prysm/consensus-types/blocks/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks/testing", visibility = ["//visibility:public"], deps = [ "//consensus-types/blocks:go_default_library", diff --git a/consensus-types/blocks/testing/factory.go b/consensus-types/blocks/testing/factory.go index 822a5dec3..d5d2ff063 100644 --- a/consensus-types/blocks/testing/factory.go +++ b/consensus-types/blocks/testing/factory.go @@ -2,9 +2,9 @@ package testing import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // NewSignedBeaconBlockFromGeneric creates a signed beacon block diff --git a/consensus-types/blocks/testing/mutator.go b/consensus-types/blocks/testing/mutator.go index 88214e161..d3a25d92b 100644 --- a/consensus-types/blocks/testing/mutator.go +++ b/consensus-types/blocks/testing/mutator.go @@ -1,11 +1,11 @@ package testing import ( - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) type blockMutator struct { diff --git a/consensus-types/blocks/types.go b/consensus-types/blocks/types.go index 06c96da36..8863a9f29 100644 --- a/consensus-types/blocks/types.go +++ b/consensus-types/blocks/types.go @@ -4,11 +4,11 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - engine "github.com/prysmaticlabs/prysm/proto/engine/v1" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + engine "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" ) var ( diff --git a/consensus-types/interfaces/BUILD.bazel b/consensus-types/interfaces/BUILD.bazel index f0418bf9b..be748c718 100644 --- a/consensus-types/interfaces/BUILD.bazel +++ b/consensus-types/interfaces/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "beacon_block.go", "utils.go", ], - importpath = "github.com/prysmaticlabs/prysm/consensus-types/interfaces", + importpath = "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces", visibility = ["//visibility:public"], deps = [ "//consensus-types/primitives:go_default_library", diff --git a/consensus-types/interfaces/beacon_block.go b/consensus-types/interfaces/beacon_block.go index d0dbdc9c7..cd463537a 100644 --- a/consensus-types/interfaces/beacon_block.go +++ b/consensus-types/interfaces/beacon_block.go @@ -2,9 +2,9 @@ package interfaces import ( ssz "github.com/prysmaticlabs/fastssz" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" "google.golang.org/protobuf/proto" ) diff --git a/consensus-types/interfaces/utils.go b/consensus-types/interfaces/utils.go index ae5bcc726..731e7f8f0 100644 --- a/consensus-types/interfaces/utils.go +++ b/consensus-types/interfaces/utils.go @@ -2,7 +2,7 @@ package interfaces import ( "github.com/pkg/errors" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SignedBeaconBlockHeaderFromBlock function to retrieve signed block header from block. diff --git a/consensus-types/interfaces/utils_test.go b/consensus-types/interfaces/utils_test.go index b905d566f..d963b3909 100644 --- a/consensus-types/interfaces/utils_test.go +++ b/consensus-types/interfaces/utils_test.go @@ -3,13 +3,13 @@ package interfaces_test import ( "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBeaconBlockHeaderFromBlock(t *testing.T) { diff --git a/consensus-types/mock/BUILD.bazel b/consensus-types/mock/BUILD.bazel index a28d22541..f879269b5 100644 --- a/consensus-types/mock/BUILD.bazel +++ b/consensus-types/mock/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["block.go"], - importpath = "github.com/prysmaticlabs/prysm/consensus-types/mock", + importpath = "github.com/prysmaticlabs/prysm/v3/consensus-types/mock", visibility = ["//visibility:public"], deps = [ "//consensus-types/interfaces:go_default_library", diff --git a/consensus-types/mock/block.go b/consensus-types/mock/block.go index 862a37301..ec8b9465d 100644 --- a/consensus-types/mock/block.go +++ b/consensus-types/mock/block.go @@ -2,10 +2,10 @@ package mock import ( ssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" "google.golang.org/protobuf/proto" ) diff --git a/consensus-types/primitives/BUILD.bazel b/consensus-types/primitives/BUILD.bazel index 69872a413..db8c3c757 100644 --- a/consensus-types/primitives/BUILD.bazel +++ b/consensus-types/primitives/BUILD.bazel @@ -11,7 +11,7 @@ go_library( "sszuint64.go", "validator.go", ], - importpath = "github.com/prysmaticlabs/prysm/consensus-types/primitives", + importpath = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives", visibility = ["//visibility:public"], deps = [ "//math:go_default_library", diff --git a/consensus-types/primitives/epoch.go b/consensus-types/primitives/epoch.go index 7c8eff41c..d2b6985c0 100644 --- a/consensus-types/primitives/epoch.go +++ b/consensus-types/primitives/epoch.go @@ -4,7 +4,7 @@ import ( "fmt" fssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/math" + "github.com/prysmaticlabs/prysm/v3/math" ) var _ fssz.HashRoot = (Epoch)(0) diff --git a/consensus-types/primitives/epoch_test.go b/consensus-types/primitives/epoch_test.go index 41a5d42a3..de94cadb4 100644 --- a/consensus-types/primitives/epoch_test.go +++ b/consensus-types/primitives/epoch_test.go @@ -5,9 +5,9 @@ import ( "math" "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - mathprysm "github.com/prysmaticlabs/prysm/math" - "github.com/prysmaticlabs/prysm/testing/require" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + mathprysm "github.com/prysmaticlabs/prysm/v3/math" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestMaxEpoch(t *testing.T) { diff --git a/consensus-types/primitives/slot.go b/consensus-types/primitives/slot.go index ebe44f5d7..56da70f3d 100644 --- a/consensus-types/primitives/slot.go +++ b/consensus-types/primitives/slot.go @@ -4,7 +4,7 @@ import ( "fmt" fssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/math" + "github.com/prysmaticlabs/prysm/v3/math" ) var _ fssz.HashRoot = (Slot)(0) diff --git a/consensus-types/primitives/slot_test.go b/consensus-types/primitives/slot_test.go index 7977213cb..e70bc6b41 100644 --- a/consensus-types/primitives/slot_test.go +++ b/consensus-types/primitives/slot_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - mathprysm "github.com/prysmaticlabs/prysm/math" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + mathprysm "github.com/prysmaticlabs/prysm/v3/math" ) func TestSlot_Casting(t *testing.T) { diff --git a/consensus-types/primitives/sszbytes_test.go b/consensus-types/primitives/sszbytes_test.go index 21775ca52..3e320b36b 100644 --- a/consensus-types/primitives/sszbytes_test.go +++ b/consensus-types/primitives/sszbytes_test.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) func TestSSZBytes_HashTreeRoot(t *testing.T) { diff --git a/consensus-types/primitives/sszuint64_test.go b/consensus-types/primitives/sszuint64_test.go index 5bb35767d..25a3c3411 100644 --- a/consensus-types/primitives/sszuint64_test.go +++ b/consensus-types/primitives/sszuint64_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) func TestSSZUint64_Limit(t *testing.T) { diff --git a/consensus-types/wrapper/BUILD.bazel b/consensus-types/wrapper/BUILD.bazel index 33c806007..9accb4ff4 100644 --- a/consensus-types/wrapper/BUILD.bazel +++ b/consensus-types/wrapper/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["metadata.go"], - importpath = "github.com/prysmaticlabs/prysm/consensus-types/wrapper", + importpath = "github.com/prysmaticlabs/prysm/v3/consensus-types/wrapper", visibility = ["//visibility:public"], deps = [ "//proto/prysm/v1alpha1:go_default_library", diff --git a/consensus-types/wrapper/metadata.go b/consensus-types/wrapper/metadata.go index b95fd51c3..605150ce4 100644 --- a/consensus-types/wrapper/metadata.go +++ b/consensus-types/wrapper/metadata.go @@ -2,9 +2,9 @@ package wrapper import ( "github.com/prysmaticlabs/go-bitfield" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata" - "github.com/prysmaticlabs/prysm/runtime/version" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "google.golang.org/protobuf/proto" ) diff --git a/container/queue/BUILD.bazel b/container/queue/BUILD.bazel index ee3085b8a..c1e081012 100644 --- a/container/queue/BUILD.bazel +++ b/container/queue/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["priority_queue.go"], - importpath = "github.com/prysmaticlabs/prysm/container/queue", + importpath = "github.com/prysmaticlabs/prysm/v3/container/queue", visibility = ["//visibility:public"], ) diff --git a/container/queue/priority_queue_test.go b/container/queue/priority_queue_test.go index ca12e5bd7..8e2a2f6fb 100644 --- a/container/queue/priority_queue_test.go +++ b/container/queue/priority_queue_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) // Ensure we satisfy the heap.Interface diff --git a/container/slice/BUILD.bazel b/container/slice/BUILD.bazel index 9e3e2c1b9..0e86bbb18 100644 --- a/container/slice/BUILD.bazel +++ b/container/slice/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "doc.go", "slice.go", ], - importpath = "github.com/prysmaticlabs/prysm/container/slice", + importpath = "github.com/prysmaticlabs/prysm/v3/container/slice", visibility = ["//visibility:public"], deps = ["//consensus-types/primitives:go_default_library"], ) diff --git a/container/slice/slice.go b/container/slice/slice.go index 83e072709..e3e0d99d6 100644 --- a/container/slice/slice.go +++ b/container/slice/slice.go @@ -3,7 +3,7 @@ package slice import ( "strings" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // SubsetUint64 returns true if the first array is diff --git a/container/slice/slice_test.go b/container/slice/slice_test.go index db7d6bb71..a0b804546 100644 --- a/container/slice/slice_test.go +++ b/container/slice/slice_test.go @@ -5,9 +5,9 @@ import ( "sort" "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/testing/require" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSubsetUint64(t *testing.T) { diff --git a/container/trie/BUILD.bazel b/container/trie/BUILD.bazel index fc91b8c58..595e726c0 100644 --- a/container/trie/BUILD.bazel +++ b/container/trie/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "sparse_merkle.go", "zerohashes.go", ], - importpath = "github.com/prysmaticlabs/prysm/container/trie", + importpath = "github.com/prysmaticlabs/prysm/v3/container/trie", visibility = ["//visibility:public"], deps = [ "//crypto/hash:go_default_library", diff --git a/container/trie/sparse_merkle.go b/container/trie/sparse_merkle.go index 54d6975c0..2f690ca45 100644 --- a/container/trie/sparse_merkle.go +++ b/container/trie/sparse_merkle.go @@ -7,10 +7,10 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/math" - protodb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/math" + protodb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // SparseMerkleTrie implements a sparse, general purpose Merkle trie to be used diff --git a/container/trie/sparse_merkle_test.go b/container/trie/sparse_merkle_test.go index 2cec541e1..63ed10863 100644 --- a/container/trie/sparse_merkle_test.go +++ b/container/trie/sparse_merkle_test.go @@ -5,15 +5,15 @@ import ( "testing" "github.com/ethereum/go-ethereum/accounts/abi/bind" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - contracts "github.com/prysmaticlabs/prysm/contracts/deposit/mock" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + contracts "github.com/prysmaticlabs/prysm/v3/contracts/deposit/mock" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestCreateTrieFromProto_Validation(t *testing.T) { diff --git a/container/trie/sparse_merkle_trie_fuzz_test.go b/container/trie/sparse_merkle_trie_fuzz_test.go index 4d03309eb..d6245dae7 100644 --- a/container/trie/sparse_merkle_trie_fuzz_test.go +++ b/container/trie/sparse_merkle_trie_fuzz_test.go @@ -4,11 +4,11 @@ import ( "testing" "github.com/golang/protobuf/proto" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/hash" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func FuzzSparseMerkleTrie_HashTreeRoot(f *testing.F) { diff --git a/contracts/deposit/BUILD.bazel b/contracts/deposit/BUILD.bazel index 14a651bcf..d95008077 100644 --- a/contracts/deposit/BUILD.bazel +++ b/contracts/deposit/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "helper.go", "logs.go", ], - importpath = "github.com/prysmaticlabs/prysm/contracts/deposit", + importpath = "github.com/prysmaticlabs/prysm/v3/contracts/deposit", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/signing:go_default_library", diff --git a/contracts/deposit/contract_test.go b/contracts/deposit/contract_test.go index 077552349..d83035c0c 100644 --- a/contracts/deposit/contract_test.go +++ b/contracts/deposit/contract_test.go @@ -7,11 +7,11 @@ import ( "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" - depositcontract "github.com/prysmaticlabs/prysm/contracts/deposit" - "github.com/prysmaticlabs/prysm/contracts/deposit/mock" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + depositcontract "github.com/prysmaticlabs/prysm/v3/contracts/deposit" + "github.com/prysmaticlabs/prysm/v3/contracts/deposit/mock" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSetupRegistrationContract_OK(t *testing.T) { diff --git a/contracts/deposit/deposit.go b/contracts/deposit/deposit.go index 1207343bb..dcf6ea80d 100644 --- a/contracts/deposit/deposit.go +++ b/contracts/deposit/deposit.go @@ -4,12 +4,12 @@ package deposit import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/hash" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // DepositInput for a given key. This input data can be used to when making a diff --git a/contracts/deposit/deposit_test.go b/contracts/deposit/deposit_test.go index da9144b54..afe3799e0 100644 --- a/contracts/deposit/deposit_test.go +++ b/contracts/deposit/deposit_test.go @@ -3,14 +3,14 @@ package deposit_test import ( "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/contracts/deposit" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/contracts/deposit" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestDepositInput_GeneratesPb(t *testing.T) { diff --git a/contracts/deposit/deposit_tree_test.go b/contracts/deposit/deposit_tree_test.go index 4d66a99c9..88b0ce414 100644 --- a/contracts/deposit/deposit_tree_test.go +++ b/contracts/deposit/deposit_tree_test.go @@ -5,12 +5,12 @@ import ( "testing" "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - depositcontract "github.com/prysmaticlabs/prysm/contracts/deposit/mock" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + depositcontract "github.com/prysmaticlabs/prysm/v3/contracts/deposit/mock" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestDepositTrieRoot_OK(t *testing.T) { diff --git a/contracts/deposit/mock/BUILD.bazel b/contracts/deposit/mock/BUILD.bazel index ad6a47a3c..d69d034b5 100644 --- a/contracts/deposit/mock/BUILD.bazel +++ b/contracts/deposit/mock/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["mock.go"], - importpath = "github.com/prysmaticlabs/prysm/contracts/deposit/mock", + importpath = "github.com/prysmaticlabs/prysm/v3/contracts/deposit/mock", visibility = ["//visibility:public"], deps = [ "//contracts/deposit:go_default_library", diff --git a/contracts/deposit/mock/mock.go b/contracts/deposit/mock/mock.go index cdbc1dff7..5a85c7387 100644 --- a/contracts/deposit/mock/mock.go +++ b/contracts/deposit/mock/mock.go @@ -13,7 +13,7 @@ import ( "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" - "github.com/prysmaticlabs/prysm/contracts/deposit" + "github.com/prysmaticlabs/prysm/v3/contracts/deposit" ) var ( diff --git a/crypto/bls/BUILD.bazel b/crypto/bls/BUILD.bazel index 68b7f7822..060912d2d 100644 --- a/crypto/bls/BUILD.bazel +++ b/crypto/bls/BUILD.bazel @@ -9,7 +9,7 @@ go_library( "interface.go", "signature_batch.go", ], - importpath = "github.com/prysmaticlabs/prysm/crypto/bls", + importpath = "github.com/prysmaticlabs/prysm/v3/crypto/bls", visibility = ["//visibility:public"], deps = [ "//crypto/bls/blst:go_default_library", diff --git a/crypto/bls/bls.go b/crypto/bls/bls.go index 02854c8b0..463c93c2e 100644 --- a/crypto/bls/bls.go +++ b/crypto/bls/bls.go @@ -4,9 +4,9 @@ package bls import ( - "github.com/prysmaticlabs/prysm/crypto/bls/blst" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/crypto/bls/herumi" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/blst" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/herumi" ) // Initialize herumi temporarily while we transition to blst for ethdo. diff --git a/crypto/bls/bls_test.go b/crypto/bls/bls_test.go index e94b33bda..0c81e12bc 100644 --- a/crypto/bls/bls_test.go +++ b/crypto/bls/bls_test.go @@ -3,8 +3,8 @@ package bls import ( "testing" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestDisallowZeroSecretKeys(t *testing.T) { diff --git a/crypto/bls/blst/BUILD.bazel b/crypto/bls/blst/BUILD.bazel index 1dd66705a..facb37b47 100644 --- a/crypto/bls/blst/BUILD.bazel +++ b/crypto/bls/blst/BUILD.bazel @@ -14,7 +14,7 @@ go_library( "signature.go", "stub.go", # keep ], - importpath = "github.com/prysmaticlabs/prysm/crypto/bls/blst", + importpath = "github.com/prysmaticlabs/prysm/v3/crypto/bls/blst", visibility = [ "//crypto/bls:__pkg__", ], diff --git a/crypto/bls/blst/bls_benchmark_test.go b/crypto/bls/blst/bls_benchmark_test.go index c3632792f..c940bccba 100644 --- a/crypto/bls/blst/bls_benchmark_test.go +++ b/crypto/bls/blst/bls_benchmark_test.go @@ -5,9 +5,9 @@ package blst_test import ( "testing" - "github.com/prysmaticlabs/prysm/crypto/bls/blst" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/blst" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func BenchmarkSignature_Verify(b *testing.B) { diff --git a/crypto/bls/blst/public_key.go b/crypto/bls/blst/public_key.go index 8f3d8b9f2..1df120d65 100644 --- a/crypto/bls/blst/public_key.go +++ b/crypto/bls/blst/public_key.go @@ -6,11 +6,11 @@ import ( "fmt" "github.com/pkg/errors" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls/common" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" ) var maxKeys = 1000000 diff --git a/crypto/bls/blst/public_key_test.go b/crypto/bls/blst/public_key_test.go index 4e1ed7c3a..fee967efd 100644 --- a/crypto/bls/blst/public_key_test.go +++ b/crypto/bls/blst/public_key_test.go @@ -7,10 +7,10 @@ import ( "errors" "testing" - "github.com/prysmaticlabs/prysm/crypto/bls/blst" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/blst" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestPublicKeyFromBytes(t *testing.T) { diff --git a/crypto/bls/blst/secret_key.go b/crypto/bls/blst/secret_key.go index 5903dfe18..b0f15e192 100644 --- a/crypto/bls/blst/secret_key.go +++ b/crypto/bls/blst/secret_key.go @@ -6,10 +6,10 @@ import ( "crypto/subtle" "fmt" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" blst "github.com/supranational/blst/bindings/go" ) diff --git a/crypto/bls/blst/secret_key_test.go b/crypto/bls/blst/secret_key_test.go index 5a4e9985a..2a9256817 100644 --- a/crypto/bls/blst/secret_key_test.go +++ b/crypto/bls/blst/secret_key_test.go @@ -8,11 +8,11 @@ import ( "errors" "testing" - "github.com/prysmaticlabs/prysm/crypto/bls/blst" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/blst" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestMarshalUnmarshal(t *testing.T) { diff --git a/crypto/bls/blst/signature.go b/crypto/bls/blst/signature.go index fa9646fa1..06b72ace1 100644 --- a/crypto/bls/blst/signature.go +++ b/crypto/bls/blst/signature.go @@ -8,10 +8,10 @@ import ( "sync" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" blst "github.com/supranational/blst/bindings/go" ) diff --git a/crypto/bls/blst/signature_test.go b/crypto/bls/blst/signature_test.go index 277c25fac..6b63416fc 100644 --- a/crypto/bls/blst/signature_test.go +++ b/crypto/bls/blst/signature_test.go @@ -7,9 +7,9 @@ import ( "errors" "testing" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSignVerify(t *testing.T) { diff --git a/crypto/bls/blst/stub.go b/crypto/bls/blst/stub.go index 14f000dcd..51cdde0e6 100644 --- a/crypto/bls/blst/stub.go +++ b/crypto/bls/blst/stub.go @@ -3,7 +3,7 @@ package blst import ( - "github.com/prysmaticlabs/prysm/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" ) // This stub file exists until build issues can be resolved for libfuzz. diff --git a/crypto/bls/common/BUILD.bazel b/crypto/bls/common/BUILD.bazel index 9493b1591..377f3fff6 100644 --- a/crypto/bls/common/BUILD.bazel +++ b/crypto/bls/common/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "error.go", "interface.go", ], - importpath = "github.com/prysmaticlabs/prysm/crypto/bls/common", + importpath = "github.com/prysmaticlabs/prysm/v3/crypto/bls/common", visibility = [ "//crypto/bls:__subpackages__", "//testing:__subpackages__", diff --git a/crypto/bls/common/constants.go b/crypto/bls/common/constants.go index f6e68a1b7..61f94ee76 100644 --- a/crypto/bls/common/constants.go +++ b/crypto/bls/common/constants.go @@ -1,6 +1,6 @@ package common -import fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" +import fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" // ZeroSecretKey represents a zero secret key. var ZeroSecretKey = [32]byte{} diff --git a/crypto/bls/herumi/BUILD.bazel b/crypto/bls/herumi/BUILD.bazel index 735a33493..078638eac 100644 --- a/crypto/bls/herumi/BUILD.bazel +++ b/crypto/bls/herumi/BUILD.bazel @@ -5,7 +5,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["init.go"], - importpath = "github.com/prysmaticlabs/prysm/crypto/bls/herumi", + importpath = "github.com/prysmaticlabs/prysm/v3/crypto/bls/herumi", visibility = [ "//crypto/bls:__pkg__", ], diff --git a/crypto/bls/interface.go b/crypto/bls/interface.go index 1732caefb..fdd3c7d38 100644 --- a/crypto/bls/interface.go +++ b/crypto/bls/interface.go @@ -1,7 +1,7 @@ package bls import ( - "github.com/prysmaticlabs/prysm/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" ) // PublicKey represents a BLS public key. diff --git a/crypto/bls/signature_batch_test.go b/crypto/bls/signature_batch_test.go index 8c2df671a..57e4c9319 100644 --- a/crypto/bls/signature_batch_test.go +++ b/crypto/bls/signature_batch_test.go @@ -6,7 +6,7 @@ import ( "sort" "testing" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestCopySignatureSet(t *testing.T) { diff --git a/crypto/ecdsa/BUILD.bazel b/crypto/ecdsa/BUILD.bazel index 881b8d3f7..b2c9caae9 100644 --- a/crypto/ecdsa/BUILD.bazel +++ b/crypto/ecdsa/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["utils.go"], - importpath = "github.com/prysmaticlabs/prysm/crypto/ecdsa", + importpath = "github.com/prysmaticlabs/prysm/v3/crypto/ecdsa", visibility = ["//visibility:public"], deps = [ "@com_github_btcsuite_btcd_btcec_v2//:go_default_library", diff --git a/crypto/ecdsa/utils_test.go b/crypto/ecdsa/utils_test.go index 1350e510a..e0459a140 100644 --- a/crypto/ecdsa/utils_test.go +++ b/crypto/ecdsa/utils_test.go @@ -9,8 +9,8 @@ import ( "github.com/btcsuite/btcd/btcec/v2" gcrypto "github.com/ethereum/go-ethereum/crypto" "github.com/libp2p/go-libp2p-core/crypto" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestConvertToInterfacePubkey(t *testing.T) { diff --git a/crypto/hash/BUILD.bazel b/crypto/hash/BUILD.bazel index 52db561f5..62838e416 100644 --- a/crypto/hash/BUILD.bazel +++ b/crypto/hash/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["hash.go"], - importpath = "github.com/prysmaticlabs/prysm/crypto/hash", + importpath = "github.com/prysmaticlabs/prysm/v3/crypto/hash", visibility = ["//visibility:public"], deps = [ "//encoding/bytesutil:go_default_library", diff --git a/crypto/hash/hash.go b/crypto/hash/hash.go index db194fd61..d64dd4fc4 100644 --- a/crypto/hash/hash.go +++ b/crypto/hash/hash.go @@ -10,7 +10,7 @@ import ( "github.com/minio/highwayhash" "github.com/minio/sha256-simd" fastssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" "golang.org/x/crypto/sha3" "google.golang.org/protobuf/proto" ) diff --git a/crypto/hash/hash_test.go b/crypto/hash/hash_test.go index 67232e9ca..836a64c37 100644 --- a/crypto/hash/hash_test.go +++ b/crypto/hash/hash_test.go @@ -5,13 +5,13 @@ import ( "testing" fuzz "github.com/google/gofuzz" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - pb "github.com/prysmaticlabs/prysm/proto/testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + pb "github.com/prysmaticlabs/prysm/v3/proto/testing" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestHash(t *testing.T) { diff --git a/crypto/hash/htr/BUILD.bazel b/crypto/hash/htr/BUILD.bazel index c8b78df35..116832511 100644 --- a/crypto/hash/htr/BUILD.bazel +++ b/crypto/hash/htr/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["hashtree.go"], - importpath = "github.com/prysmaticlabs/prysm/crypto/hash/htr", + importpath = "github.com/prysmaticlabs/prysm/v3/crypto/hash/htr", visibility = ["//visibility:public"], deps = ["@com_github_prysmaticlabs_gohashtree//:go_default_library"], ) diff --git a/crypto/keystore/BUILD.bazel b/crypto/keystore/BUILD.bazel index 02f9918ad..66a5c926d 100644 --- a/crypto/keystore/BUILD.bazel +++ b/crypto/keystore/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "keystore.go", "utils.go", ], - importpath = "github.com/prysmaticlabs/prysm/crypto/keystore", + importpath = "github.com/prysmaticlabs/prysm/v3/crypto/keystore", visibility = ["//visibility:public"], deps = [ "//crypto/bls:go_default_library", diff --git a/crypto/keystore/key.go b/crypto/keystore/key.go index ec97c5c3d..d104dacb4 100644 --- a/crypto/keystore/key.go +++ b/crypto/keystore/key.go @@ -25,8 +25,8 @@ import ( "path/filepath" "github.com/pborman/uuid" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/io/file" ) const ( diff --git a/crypto/keystore/key_test.go b/crypto/keystore/key_test.go index 3de824476..007bb6a8c 100644 --- a/crypto/keystore/key_test.go +++ b/crypto/keystore/key_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/pborman/uuid" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestMarshalAndUnmarshal(t *testing.T) { diff --git a/crypto/keystore/keystore.go b/crypto/keystore/keystore.go index c45679711..7db814f7d 100644 --- a/crypto/keystore/keystore.go +++ b/crypto/keystore/keystore.go @@ -34,7 +34,7 @@ import ( "github.com/minio/sha256-simd" "github.com/pborman/uuid" - "github.com/prysmaticlabs/prysm/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" log "github.com/sirupsen/logrus" "golang.org/x/crypto/pbkdf2" "golang.org/x/crypto/scrypt" diff --git a/crypto/keystore/keystore_test.go b/crypto/keystore/keystore_test.go index 0c2d64d4c..3c3657a1f 100644 --- a/crypto/keystore/keystore_test.go +++ b/crypto/keystore/keystore_test.go @@ -7,10 +7,10 @@ import ( "testing" "github.com/pborman/uuid" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStoreAndGetKey(t *testing.T) { diff --git a/crypto/keystore/utils.go b/crypto/keystore/utils.go index bae75efb0..262857b40 100644 --- a/crypto/keystore/utils.go +++ b/crypto/keystore/utils.go @@ -25,8 +25,8 @@ import ( "fmt" "time" - "github.com/prysmaticlabs/prysm/crypto/bls" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" ) func aesCTRXOR(key, inText, iv []byte) ([]byte, error) { diff --git a/crypto/rand/BUILD.bazel b/crypto/rand/BUILD.bazel index 96061f756..c8039ec88 100644 --- a/crypto/rand/BUILD.bazel +++ b/crypto/rand/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["rand.go"], - importpath = "github.com/prysmaticlabs/prysm/crypto/rand", + importpath = "github.com/prysmaticlabs/prysm/v3/crypto/rand", visibility = ["//visibility:public"], ) diff --git a/crypto/rand/rand.go b/crypto/rand/rand.go index 7e3ac6ab5..006dc3d56 100644 --- a/crypto/rand/rand.go +++ b/crypto/rand/rand.go @@ -7,7 +7,7 @@ This limits the scope of code that needs to be hardened. There are two modes, one for deterministic and another non-deterministic randomness: 1. If deterministic pseudo-random generator is enough, use: - import "github.com/prysmaticlabs/prysm/crypto/rand" + import "github.com/prysmaticlabs/prysm/v3/crypto/rand" randGen := rand.NewDeterministicGenerator() randGen.Intn(32) // or any other func defined in math.rand API @@ -20,7 +20,7 @@ There are two modes, one for deterministic and another non-deterministic randomn 2. For cryptographically secure non-deterministic mode (CSPRNG), use: - import "github.com/prysmaticlabs/prysm/crypto/rand" + import "github.com/prysmaticlabs/prysm/v3/crypto/rand" randGen := rand.NewGenerator() randGen.Intn(32) // or any other func defined in math.rand API diff --git a/deps.bzl b/deps.bzl index 9d4b1e1ee..6b453dbda 100644 --- a/deps.bzl +++ b/deps.bzl @@ -249,6 +249,24 @@ def prysm_deps(): sum = "h1:6oiIS9yaG6XCCzhgAgKFfIWyo4LLCiDhZot6ltoThhY=", version = "v0.2.2", ) + go_repository( + name = "com_github_azure_azure_sdk_for_go_sdk_azcore", + importpath = "github.com/Azure/azure-sdk-for-go/sdk/azcore", + sum = "h1:qoVeMsc9/fh/yhxVaA0obYjVH/oI/ihrOoMwsLS9KSA=", + version = "v0.21.1", + ) + go_repository( + name = "com_github_azure_azure_sdk_for_go_sdk_internal", + importpath = "github.com/Azure/azure-sdk-for-go/sdk/internal", + sum = "h1:E+m3SkZCN0Bf5q7YdTs5lSm2CYY3CK4spn5OmUIiQtk=", + version = "v0.8.3", + ) + go_repository( + name = "com_github_azure_azure_sdk_for_go_sdk_storage_azblob", + importpath = "github.com/Azure/azure-sdk-for-go/sdk/storage/azblob", + sum = "h1:Px2UA+2RvSSvv+RvJNuUB6n7rs5Wsel4dXLe90Um2n4=", + version = "v0.3.0", + ) go_repository( name = "com_github_azure_azure_storage_blob_go", @@ -792,8 +810,8 @@ def prysm_deps(): go_repository( name = "com_github_docker_docker", importpath = "github.com/docker/docker", - sum = "h1:sh8rkQZavChcmakYiSlqu2425CHyFXLZZnvm7PDpU8M=", - version = "v1.4.2-0.20180625184442-8e610b2b55bf", + sum = "h1:HlFGsy+9/xrgMmhmN+NGhCc5SHGJ7I+kHosRR1xc/aI=", + version = "v1.6.2", ) go_repository( name = "com_github_docker_go_units", @@ -937,6 +955,12 @@ def prysm_deps(): sum = "h1:9VDpsWq096+oGMDTT/SgBD/VgZYf4pTF+KTPmZ+OaKM=", version = "v0.0.0-20210120143747-11b9eff30ea9", ) + go_repository( + name = "com_github_fjl_gencodec", + importpath = "github.com/fjl/gencodec", + sum = "h1:CndMRAH4JIwxbW8KYq6Q+cGWcGHz0FjGR3QqcInWcW0=", + version = "v0.0.0-20220412091415-8bb9e558978c", + ) go_repository( name = "com_github_fjl_memsize", @@ -1003,6 +1027,12 @@ def prysm_deps(): sum = "h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI=", version = "v1.5.4", ) + go_repository( + name = "com_github_garslo_gogen", + importpath = "github.com/garslo/gogen", + sum = "h1:IZqZOB2fydHte3kUgxrzK5E1fW7RQGeDwE8F/ZZnUYc=", + version = "v0.0.0-20170306192744-1d203ffc1f61", + ) go_repository( name = "com_github_garyburd_redigo", @@ -1366,8 +1396,8 @@ def prysm_deps(): go_repository( name = "com_github_google_pprof", importpath = "github.com/google/pprof", - sum = "h1:Ak8CrdlwwXwAZxzS66vgPt4U8yUZX7JwLvVR58FN5jM=", - version = "v0.0.0-20200708004538-1a94d8640e99", + sum = "h1:yAJXTCF9TqKcTiHJAE8dj7HMvPfh66eeA2JYW7eFpSE=", + version = "v0.0.0-20210407192527-94a9f03dee38", ) go_repository( name = "com_github_google_renameio", @@ -1490,8 +1520,8 @@ def prysm_deps(): name = "com_github_grpc_ecosystem_grpc_gateway_v2", importpath = "github.com/grpc-ecosystem/grpc-gateway/v2", replace = "github.com/prysmaticlabs/grpc-gateway/v2", - sum = "h1:X89lsbPFK9rUDa8mxXazgAT34jlXdCHZrn8kdptFbBU=", - version = "v2.3.1-0.20220428175429-ee99f663f83d", + sum = "h1:elSfkWAcpL94zg7B9J2ozu+WcbMxD1rZ3rzUjYAy6R8=", + version = "v2.3.1-0.20220721162526-0d1c40b5f064", ) go_repository( name = "com_github_gxed_hashland_keccakpg", @@ -1690,8 +1720,8 @@ def prysm_deps(): go_repository( name = "com_github_ianlancetaylor_demangle", importpath = "github.com/ianlancetaylor/demangle", - sum = "h1:UDMh68UUwekSh5iP2OMhRRZJiiBccgV7axzUG8vi56c=", - version = "v0.0.0-20181102032728-5e5cf60278f6", + sum = "h1:mV02weKRL81bEnm8A0HT1/CAelMQDBuQIfLw8n+d6xI=", + version = "v0.0.0-20200824232613-28f6c0f3b639", ) go_repository( @@ -2902,11 +2932,18 @@ def prysm_deps(): sum = "h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=", version = "v1.16.5", ) + go_repository( + name = "com_github_onsi_ginkgo_v2", + importpath = "github.com/onsi/ginkgo/v2", + sum = "h1:e/3Cwtogj0HA+25nMP1jCMDIf8RtRYbGwGGuBIFztkc=", + version = "v2.1.3", + ) + go_repository( name = "com_github_onsi_gomega", importpath = "github.com/onsi/gomega", - sum = "h1:7lLHu94wT9Ij0o6EWWclhu0aOh32VxhkwEJvzuWPeak=", - version = "v1.13.0", + sum = "h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw=", + version = "v1.19.0", ) go_repository( name = "com_github_op_go_logging", @@ -3654,8 +3691,8 @@ def prysm_deps(): go_repository( name = "com_github_syndtr_goleveldb", importpath = "github.com/syndtr/goleveldb", - sum = "h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY=", - version = "v1.0.1-0.20210819022825-2ae1ddf74ef7", + sum = "h1:1ur3QoCqvE5fl+nylMaIr9PVV1w343YRDtsy+Rwu7XI=", + version = "v1.0.1-0.20220614013038-64ee5596c38a", ) go_repository( name = "com_github_tarm_serial", @@ -4522,8 +4559,8 @@ def prysm_deps(): go_repository( name = "org_golang_x_xerrors", importpath = "golang.org/x/xerrors", - sum = "h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=", - version = "v0.0.0-20200804184101-5ec99f83aff1", + sum = "h1:5Pf6pFKu98ODmgnpvkJ3kFUOQGGLIzLIkbzUHp47618=", + version = "v0.0.0-20220517211312-f3a8303e98df", ) go_repository( diff --git a/encoding/bytesutil/BUILD.bazel b/encoding/bytesutil/BUILD.bazel index 899321cf2..48fe68d47 100644 --- a/encoding/bytesutil/BUILD.bazel +++ b/encoding/bytesutil/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["bytes.go"], - importpath = "github.com/prysmaticlabs/prysm/encoding/bytesutil", + importpath = "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil", visibility = ["//visibility:public"], deps = [ "//config/fieldparams:go_default_library", diff --git a/encoding/bytesutil/bytes.go b/encoding/bytesutil/bytes.go index 8e4b7f066..5bb1d34ea 100644 --- a/encoding/bytesutil/bytes.go +++ b/encoding/bytesutil/bytes.go @@ -8,8 +8,8 @@ import ( "regexp" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) var hexRegex = regexp.MustCompile("^0x[0-9a-fA-F]+$") diff --git a/encoding/bytesutil/bytes_test.go b/encoding/bytesutil/bytes_test.go index 0ddb8ee36..ae9ab6b2a 100644 --- a/encoding/bytesutil/bytes_test.go +++ b/encoding/bytesutil/bytes_test.go @@ -6,10 +6,10 @@ import ( "reflect" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestToBytes(t *testing.T) { diff --git a/encoding/ssz/BUILD.bazel b/encoding/ssz/BUILD.bazel index 46ae6e139..3cc7ec347 100644 --- a/encoding/ssz/BUILD.bazel +++ b/encoding/ssz/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "htrutils.go", "merkleize.go", ], - importpath = "github.com/prysmaticlabs/prysm/encoding/ssz", + importpath = "github.com/prysmaticlabs/prysm/v3/encoding/ssz", visibility = ["//visibility:public"], deps = [ "//config/features:go_default_library", diff --git a/encoding/ssz/detect/BUILD.bazel b/encoding/ssz/detect/BUILD.bazel index a1b6d25a8..ee518aa1a 100644 --- a/encoding/ssz/detect/BUILD.bazel +++ b/encoding/ssz/detect/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "configfork.go", "fieldspec.go", ], - importpath = "github.com/prysmaticlabs/prysm/encoding/ssz/detect", + importpath = "github.com/prysmaticlabs/prysm/v3/encoding/ssz/detect", visibility = ["//visibility:public"], deps = [ "//beacon-chain/state:go_default_library", diff --git a/encoding/ssz/detect/configfork.go b/encoding/ssz/detect/configfork.go index e95ec6700..d0b698929 100644 --- a/encoding/ssz/detect/configfork.go +++ b/encoding/ssz/detect/configfork.go @@ -3,23 +3,23 @@ package detect import ( "fmt" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/network/forks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/network/forks" "github.com/pkg/errors" ssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // VersionedUnmarshaler represents the intersection of Configuration (eg mainnet, testnet) and Fork (eg phase0, altair). diff --git a/encoding/ssz/detect/configfork_test.go b/encoding/ssz/detect/configfork_test.go index db26cf2ca..e326c03b2 100644 --- a/encoding/ssz/detect/configfork_test.go +++ b/encoding/ssz/detect/configfork_test.go @@ -6,18 +6,18 @@ import ( "math" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSlotFromBlock(t *testing.T) { diff --git a/encoding/ssz/detect/fieldspec.go b/encoding/ssz/detect/fieldspec.go index a1e2913e3..350d73cb8 100644 --- a/encoding/ssz/detect/fieldspec.go +++ b/encoding/ssz/detect/fieldspec.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) type fieldType int diff --git a/encoding/ssz/detect/fieldspec_test.go b/encoding/ssz/detect/fieldspec_test.go index 9fa224995..554764af0 100644 --- a/encoding/ssz/detect/fieldspec_test.go +++ b/encoding/ssz/detect/fieldspec_test.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "testing" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestTypeMismatch(t *testing.T) { diff --git a/encoding/ssz/equality/BUILD.bazel b/encoding/ssz/equality/BUILD.bazel index 1599a1d23..a3c22b7aa 100644 --- a/encoding/ssz/equality/BUILD.bazel +++ b/encoding/ssz/equality/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["deep_equal.go"], - importpath = "github.com/prysmaticlabs/prysm/encoding/ssz/equality", + importpath = "github.com/prysmaticlabs/prysm/v3/encoding/ssz/equality", visibility = ["//visibility:public"], deps = [ "//consensus-types/primitives:go_default_library", diff --git a/encoding/ssz/equality/deep_equal.go b/encoding/ssz/equality/deep_equal.go index 34c806be3..854117e04 100644 --- a/encoding/ssz/equality/deep_equal.go +++ b/encoding/ssz/equality/deep_equal.go @@ -4,7 +4,7 @@ import ( "reflect" "unsafe" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "google.golang.org/protobuf/proto" ) diff --git a/encoding/ssz/equality/deep_equal_test.go b/encoding/ssz/equality/deep_equal_test.go index ef2c9e2e3..7683124ff 100644 --- a/encoding/ssz/equality/deep_equal_test.go +++ b/encoding/ssz/equality/deep_equal_test.go @@ -3,9 +3,9 @@ package equality_test import ( "testing" - "github.com/prysmaticlabs/prysm/encoding/ssz/equality" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz/equality" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestDeepEqualBasicTypes(t *testing.T) { diff --git a/encoding/ssz/hashers_test.go b/encoding/ssz/hashers_test.go index 19a479719..11e98d759 100644 --- a/encoding/ssz/hashers_test.go +++ b/encoding/ssz/hashers_test.go @@ -3,9 +3,9 @@ package ssz_test import ( "testing" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/ssz" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestHash(t *testing.T) { diff --git a/encoding/ssz/helpers.go b/encoding/ssz/helpers.go index 35262be92..c963c71e5 100644 --- a/encoding/ssz/helpers.go +++ b/encoding/ssz/helpers.go @@ -8,8 +8,8 @@ import ( "github.com/minio/sha256-simd" "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) const bytesPerChunk = 32 diff --git a/encoding/ssz/helpers_test.go b/encoding/ssz/helpers_test.go index 634c8b311..e64aac203 100644 --- a/encoding/ssz/helpers_test.go +++ b/encoding/ssz/helpers_test.go @@ -4,10 +4,10 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/ssz" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) const merkleizingListLimitError = "merkleizing list that is too large, over limit" diff --git a/encoding/ssz/htrutils.go b/encoding/ssz/htrutils.go index 05ee69acd..8f0726162 100644 --- a/encoding/ssz/htrutils.go +++ b/encoding/ssz/htrutils.go @@ -5,10 +5,10 @@ import ( "encoding/binary" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Uint64Root computes the HashTreeRoot Merkleization of diff --git a/encoding/ssz/htrutils_fuzz_test.go b/encoding/ssz/htrutils_fuzz_test.go index 12028964f..547576397 100644 --- a/encoding/ssz/htrutils_fuzz_test.go +++ b/encoding/ssz/htrutils_fuzz_test.go @@ -7,9 +7,9 @@ import ( "github.com/pkg/errors" fssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/ssz" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func FuzzUint64Root(f *testing.F) { diff --git a/encoding/ssz/htrutils_test.go b/encoding/ssz/htrutils_test.go index d3b8029fd..cd58f39b9 100644 --- a/encoding/ssz/htrutils_test.go +++ b/encoding/ssz/htrutils_test.go @@ -4,12 +4,12 @@ import ( "reflect" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/ssz" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestUint64Root(t *testing.T) { diff --git a/encoding/ssz/merkleize.go b/encoding/ssz/merkleize.go index c795e1a7b..768d63302 100644 --- a/encoding/ssz/merkleize.go +++ b/encoding/ssz/merkleize.go @@ -1,8 +1,8 @@ package ssz import ( - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/hash/htr" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/hash/htr" ) // Merkleize.go is mostly a directly copy of the same filename from diff --git a/encoding/ssz/merkleize_test.go b/encoding/ssz/merkleize_test.go index c0cf20e36..e6a8f5e87 100644 --- a/encoding/ssz/merkleize_test.go +++ b/encoding/ssz/merkleize_test.go @@ -3,9 +3,9 @@ package ssz_test import ( "testing" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/ssz" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestGetDepth(t *testing.T) { diff --git a/go.mod b/go.mod index 78f893953..9dadc2d77 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/prysmaticlabs/prysm +module github.com/prysmaticlabs/prysm/v3 go 1.18 @@ -262,4 +262,4 @@ require ( replace github.com/json-iterator/go => github.com/prestonvanloon/go v1.1.7-0.20190722034630-4f2e55fcf87b // See https://github.com/prysmaticlabs/grpc-gateway/issues/2 -replace github.com/grpc-ecosystem/grpc-gateway/v2 => github.com/prysmaticlabs/grpc-gateway/v2 v2.3.1-0.20220428175429-ee99f663f83d +replace github.com/grpc-ecosystem/grpc-gateway/v2 => github.com/prysmaticlabs/grpc-gateway/v2 v2.3.1-0.20220721162526-0d1c40b5f064 diff --git a/go.sum b/go.sum index 1da3487ea..0b996be67 100644 --- a/go.sum +++ b/go.sum @@ -1173,8 +1173,8 @@ github.com/prysmaticlabs/go-bitfield v0.0.0-20210809151128-385d8c5e3fb7 h1:0tVE4 github.com/prysmaticlabs/go-bitfield v0.0.0-20210809151128-385d8c5e3fb7/go.mod h1:wmuf/mdK4VMD+jA9ThwcUKjg3a2XWM9cVfFYjDyY4j4= github.com/prysmaticlabs/gohashtree v0.0.2-alpha h1:hk5ZsDQuSkyUMhTd55qB396P1+dtyIKiSwMmYE/hyEU= github.com/prysmaticlabs/gohashtree v0.0.2-alpha/go.mod h1:4pWaT30XoEx1j8KNJf3TV+E3mQkaufn7mf+jRNb/Fuk= -github.com/prysmaticlabs/grpc-gateway/v2 v2.3.1-0.20220428175429-ee99f663f83d h1:X89lsbPFK9rUDa8mxXazgAT34jlXdCHZrn8kdptFbBU= -github.com/prysmaticlabs/grpc-gateway/v2 v2.3.1-0.20220428175429-ee99f663f83d/go.mod h1:IOyTYjcIO0rkmnGBfJTL0NJ11exy/Tc2QEuv7hCXp24= +github.com/prysmaticlabs/grpc-gateway/v2 v2.3.1-0.20220721162526-0d1c40b5f064 h1:elSfkWAcpL94zg7B9J2ozu+WcbMxD1rZ3rzUjYAy6R8= +github.com/prysmaticlabs/grpc-gateway/v2 v2.3.1-0.20220721162526-0d1c40b5f064/go.mod h1:IOyTYjcIO0rkmnGBfJTL0NJ11exy/Tc2QEuv7hCXp24= github.com/prysmaticlabs/prombbolt v0.0.0-20210126082820-9b7adba6db7c h1:9PHRCuO/VN0s9k+RmLykho7AjDxblNYI5bYKed16NPU= github.com/prysmaticlabs/prombbolt v0.0.0-20210126082820-9b7adba6db7c/go.mod h1:ZRws458tYHS/Zs936OQ6oCrL+Ict5O4Xpwve1UQ6C9M= github.com/prysmaticlabs/protoc-gen-go-cast v0.0.0-20211014160335-757fae4f38c6 h1:+jhXLjEYVW4qU2z5SOxlxN+Hv/A9FDf0HpfDurfMEz0= diff --git a/io/file/BUILD.bazel b/io/file/BUILD.bazel index 930938a8c..4a7b7e3ba 100644 --- a/io/file/BUILD.bazel +++ b/io/file/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["fileutil.go"], - importpath = "github.com/prysmaticlabs/prysm/io/file", + importpath = "github.com/prysmaticlabs/prysm/v3/io/file", visibility = ["//visibility:public"], deps = [ "//config/params:go_default_library", diff --git a/io/file/fileutil.go b/io/file/fileutil.go index 37322c668..7ac581abc 100644 --- a/io/file/fileutil.go +++ b/io/file/fileutil.go @@ -13,7 +13,7 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" log "github.com/sirupsen/logrus" ) diff --git a/io/file/fileutil_test.go b/io/file/fileutil_test.go index 41ab934b4..a5c63d735 100644 --- a/io/file/fileutil_test.go +++ b/io/file/fileutil_test.go @@ -24,10 +24,10 @@ import ( "sort" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestPathExpansion(t *testing.T) { diff --git a/io/logs/BUILD.bazel b/io/logs/BUILD.bazel index 031358edb..23a44f5eb 100644 --- a/io/logs/BUILD.bazel +++ b/io/logs/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "logutil.go", "stream.go", ], - importpath = "github.com/prysmaticlabs/prysm/io/logs", + importpath = "github.com/prysmaticlabs/prysm/v3/io/logs", visibility = ["//visibility:public"], deps = [ "//async/event:go_default_library", diff --git a/io/logs/logutil.go b/io/logs/logutil.go index 08ffa7646..41fef18e7 100644 --- a/io/logs/logutil.go +++ b/io/logs/logutil.go @@ -8,7 +8,7 @@ import ( "os" "strings" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" "github.com/sirupsen/logrus" ) diff --git a/io/logs/logutil_test.go b/io/logs/logutil_test.go index 8758a6433..0a7aa180c 100644 --- a/io/logs/logutil_test.go +++ b/io/logs/logutil_test.go @@ -3,7 +3,7 @@ package logs import ( "testing" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) var urltests = []struct { diff --git a/io/logs/stream.go b/io/logs/stream.go index d25a4ba01..3c6ee22b3 100644 --- a/io/logs/stream.go +++ b/io/logs/stream.go @@ -4,9 +4,9 @@ import ( "io" lru "github.com/hashicorp/golang-lru" - "github.com/prysmaticlabs/prysm/async/event" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - "github.com/prysmaticlabs/prysm/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/async/event" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" ) const ( diff --git a/io/logs/stream_test.go b/io/logs/stream_test.go index ee34e449f..f83276c96 100644 --- a/io/logs/stream_test.go +++ b/io/logs/stream_test.go @@ -3,7 +3,7 @@ package logs import ( "testing" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStreamServer_BackfillsMessages(t *testing.T) { diff --git a/io/prompt/BUILD.bazel b/io/prompt/BUILD.bazel index 3062ed02a..6b99b2fde 100644 --- a/io/prompt/BUILD.bazel +++ b/io/prompt/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "prompt.go", "validate.go", ], - importpath = "github.com/prysmaticlabs/prysm/io/prompt", + importpath = "github.com/prysmaticlabs/prysm/v3/io/prompt", visibility = ["//visibility:public"], deps = [ "//io/file:go_default_library", diff --git a/io/prompt/prompt.go b/io/prompt/prompt.go index 5419989c0..d961cf85c 100644 --- a/io/prompt/prompt.go +++ b/io/prompt/prompt.go @@ -9,7 +9,7 @@ import ( "github.com/logrusorgru/aurora" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/io/file" log "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" "golang.org/x/crypto/ssh/terminal" diff --git a/io/prompt/validate_test.go b/io/prompt/validate_test.go index 4a3f4d210..719c7eb77 100644 --- a/io/prompt/validate_test.go +++ b/io/prompt/validate_test.go @@ -4,8 +4,8 @@ import ( "os" "testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestValidatePasswordInput(t *testing.T) { diff --git a/math/BUILD.bazel b/math/BUILD.bazel index 192020846..3e8637184 100644 --- a/math/BUILD.bazel +++ b/math/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["math_helper.go"], - importpath = "github.com/prysmaticlabs/prysm/math", + importpath = "github.com/prysmaticlabs/prysm/v3/math", visibility = ["//visibility:public"], deps = ["@com_github_thomaso_mirodin_intmath//u64:go_default_library"], ) diff --git a/math/math_helper_test.go b/math/math_helper_test.go index 487e5af42..1a1857c03 100644 --- a/math/math_helper_test.go +++ b/math/math_helper_test.go @@ -5,8 +5,8 @@ import ( stdmath "math" "testing" - "github.com/prysmaticlabs/prysm/math" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/math" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestIntegerSquareRoot(t *testing.T) { diff --git a/monitoring/backup/BUILD.bazel b/monitoring/backup/BUILD.bazel index 2fc96425b..6cfe3e94c 100644 --- a/monitoring/backup/BUILD.bazel +++ b/monitoring/backup/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["http_backup_handler.go"], - importpath = "github.com/prysmaticlabs/prysm/monitoring/backup", + importpath = "github.com/prysmaticlabs/prysm/v3/monitoring/backup", visibility = ["//visibility:public"], deps = ["@com_github_sirupsen_logrus//:go_default_library"], ) diff --git a/monitoring/clientstats/BUILD.bazel b/monitoring/clientstats/BUILD.bazel index 3c994d5ff..6aab69b87 100644 --- a/monitoring/clientstats/BUILD.bazel +++ b/monitoring/clientstats/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "types.go", "updaters.go", ], - importpath = "github.com/prysmaticlabs/prysm/monitoring/clientstats", + importpath = "github.com/prysmaticlabs/prysm/v3/monitoring/clientstats", visibility = ["//visibility:public"], deps = [ "//proto/prysm/v1alpha1:go_default_library", diff --git a/monitoring/clientstats/scrapers.go b/monitoring/clientstats/scrapers.go index 09a9313de..014642bd0 100644 --- a/monitoring/clientstats/scrapers.go +++ b/monitoring/clientstats/scrapers.go @@ -11,7 +11,7 @@ import ( dto "github.com/prometheus/client_model/go" "github.com/prometheus/prom2json" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" log "github.com/sirupsen/logrus" ) diff --git a/monitoring/clientstats/scrapers_test.go b/monitoring/clientstats/scrapers_test.go index b854c4854..8810b05b6 100644 --- a/monitoring/clientstats/scrapers_test.go +++ b/monitoring/clientstats/scrapers_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/sirupsen/logrus" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/monitoring/journald/BUILD.bazel b/monitoring/journald/BUILD.bazel index d2544de49..87712528f 100644 --- a/monitoring/journald/BUILD.bazel +++ b/monitoring/journald/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "journald.go", "journald_linux.go", ], - importpath = "github.com/prysmaticlabs/prysm/monitoring/journald", + importpath = "github.com/prysmaticlabs/prysm/v3/monitoring/journald", visibility = ["//visibility:public"], deps = select({ "@io_bazel_rules_go//go/platform:android": [ diff --git a/monitoring/progress/BUILD.bazel b/monitoring/progress/BUILD.bazel index 2a5fd2372..719acb876 100644 --- a/monitoring/progress/BUILD.bazel +++ b/monitoring/progress/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["progress.go"], - importpath = "github.com/prysmaticlabs/prysm/monitoring/progress", + importpath = "github.com/prysmaticlabs/prysm/v3/monitoring/progress", visibility = ["//visibility:public"], deps = [ "@com_github_k0kubun_go_ansi//:go_default_library", diff --git a/monitoring/prometheus/BUILD.bazel b/monitoring/prometheus/BUILD.bazel index d0df487d9..07d037e9a 100644 --- a/monitoring/prometheus/BUILD.bazel +++ b/monitoring/prometheus/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "service.go", "simple_server.go", ], - importpath = "github.com/prysmaticlabs/prysm/monitoring/prometheus", + importpath = "github.com/prysmaticlabs/prysm/v3/monitoring/prometheus", visibility = ["//visibility:public"], deps = [ "//runtime:go_default_library", diff --git a/monitoring/prometheus/logrus_collector_test.go b/monitoring/prometheus/logrus_collector_test.go index b71e1dc33..27c335c0c 100644 --- a/monitoring/prometheus/logrus_collector_test.go +++ b/monitoring/prometheus/logrus_collector_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/monitoring/prometheus" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/monitoring/prometheus" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" log "github.com/sirupsen/logrus" ) diff --git a/monitoring/prometheus/service.go b/monitoring/prometheus/service.go index 5b456dcad..fb757ff05 100644 --- a/monitoring/prometheus/service.go +++ b/monitoring/prometheus/service.go @@ -14,7 +14,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" - "github.com/prysmaticlabs/prysm/runtime" + "github.com/prysmaticlabs/prysm/v3/runtime" "github.com/sirupsen/logrus" ) diff --git a/monitoring/prometheus/service_test.go b/monitoring/prometheus/service_test.go index e33f9c697..840274197 100644 --- a/monitoring/prometheus/service_test.go +++ b/monitoring/prometheus/service_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/runtime" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/runtime" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/sirupsen/logrus" ) diff --git a/monitoring/tracing/BUILD.bazel b/monitoring/tracing/BUILD.bazel index e979b7cb1..5cedd6570 100644 --- a/monitoring/tracing/BUILD.bazel +++ b/monitoring/tracing/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "recovery_interceptor_option.go", "tracer.go", ], - importpath = "github.com/prysmaticlabs/prysm/monitoring/tracing", + importpath = "github.com/prysmaticlabs/prysm/v3/monitoring/tracing", visibility = ["//visibility:public"], deps = [ "//runtime/version:go_default_library", diff --git a/monitoring/tracing/tracer.go b/monitoring/tracing/tracer.go index 952678d38..a136f1b0c 100644 --- a/monitoring/tracing/tracer.go +++ b/monitoring/tracing/tracer.go @@ -6,7 +6,7 @@ import ( "errors" "contrib.go.opencensus.io/exporter/jaeger" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/network/BUILD.bazel b/network/BUILD.bazel index 3e6723bdf..195e86387 100644 --- a/network/BUILD.bazel +++ b/network/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "endpoint.go", "external_ip.go", ], - importpath = "github.com/prysmaticlabs/prysm/network", + importpath = "github.com/prysmaticlabs/prysm/v3/network", visibility = ["//visibility:public"], deps = [ "//network/authorization:go_default_library", diff --git a/network/auth_test.go b/network/auth_test.go index 793c2ac3b..49315e95e 100644 --- a/network/auth_test.go +++ b/network/auth_test.go @@ -8,8 +8,8 @@ import ( "time" "github.com/golang-jwt/jwt/v4" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestJWTAuthTransport(t *testing.T) { diff --git a/network/authorization/BUILD.bazel b/network/authorization/BUILD.bazel index c62e5ab2e..d596f46e1 100644 --- a/network/authorization/BUILD.bazel +++ b/network/authorization/BUILD.bazel @@ -3,6 +3,6 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["authorization_method.go"], - importpath = "github.com/prysmaticlabs/prysm/network/authorization", + importpath = "github.com/prysmaticlabs/prysm/v3/network/authorization", visibility = ["//visibility:public"], ) diff --git a/network/endpoint.go b/network/endpoint.go index eb001b701..0bab5a991 100644 --- a/network/endpoint.go +++ b/network/endpoint.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "github.com/prysmaticlabs/prysm/network/authorization" + "github.com/prysmaticlabs/prysm/v3/network/authorization" ) // Endpoint is an endpoint with authorization data. diff --git a/network/endpoint_test.go b/network/endpoint_test.go index 3bfa9029c..69912756d 100644 --- a/network/endpoint_test.go +++ b/network/endpoint_test.go @@ -3,9 +3,9 @@ package network import ( "testing" - "github.com/prysmaticlabs/prysm/network/authorization" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/network/authorization" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestToHeaderValue(t *testing.T) { diff --git a/network/external_ip_test.go b/network/external_ip_test.go index 048c82604..662199584 100644 --- a/network/external_ip_test.go +++ b/network/external_ip_test.go @@ -5,9 +5,9 @@ import ( "regexp" "testing" - "github.com/prysmaticlabs/prysm/network" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/network" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestExternalIPv4(t *testing.T) { diff --git a/network/forks/BUILD.bazel b/network/forks/BUILD.bazel index 3727ccf82..ddb8ae65c 100644 --- a/network/forks/BUILD.bazel +++ b/network/forks/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "fork.go", "ordered.go", ], - importpath = "github.com/prysmaticlabs/prysm/network/forks", + importpath = "github.com/prysmaticlabs/prysm/v3/network/forks", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/signing:go_default_library", diff --git a/network/forks/fork.go b/network/forks/fork.go index 6ef59ce9d..f03d0e792 100644 --- a/network/forks/fork.go +++ b/network/forks/fork.go @@ -7,12 +7,12 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // IsForkNextEpoch checks if an alloted fork is in the following epoch. diff --git a/network/forks/fork_test.go b/network/forks/fork_test.go index f018250c1..f59ebf2fa 100644 --- a/network/forks/fork_test.go +++ b/network/forks/fork_test.go @@ -6,11 +6,11 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestFork(t *testing.T) { diff --git a/network/forks/ordered.go b/network/forks/ordered.go index 97fc63aec..463691388 100644 --- a/network/forks/ordered.go +++ b/network/forks/ordered.go @@ -5,9 +5,9 @@ import ( "strings" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // ForkScheduleEntry is a Version+Epoch tuple for sorted storage in an OrderedSchedule diff --git a/network/forks/ordered_test.go b/network/forks/ordered_test.go index 77f5fecf4..8063f3604 100644 --- a/network/forks/ordered_test.go +++ b/network/forks/ordered_test.go @@ -4,9 +4,9 @@ import ( "math" "testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestOrderedConfigSchedule(t *testing.T) { diff --git a/proto/engine/v1/BUILD.bazel b/proto/engine/v1/BUILD.bazel index 2b410530a..784b3b683 100644 --- a/proto/engine/v1/BUILD.bazel +++ b/proto/engine/v1/BUILD.bazel @@ -43,7 +43,7 @@ go_proto_library( compilers = [ "@com_github_prysmaticlabs_protoc_gen_go_cast//:go_cast_grpc", ], - importpath = "github.com/prysmaticlabs/prysm/proto/engine/v1", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/engine/v1", proto = ":proto", visibility = ["//visibility:public"], deps = [ @@ -66,7 +66,7 @@ go_library( embed = [ ":go_proto", ], - importpath = "github.com/prysmaticlabs/prysm/proto/engine/v1", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/engine/v1", visibility = ["//visibility:public"], deps = [ "//config/fieldparams:go_default_library", diff --git a/proto/engine/v1/execution_engine.pb.go b/proto/engine/v1/execution_engine.pb.go index c5c0b4128..84f408266 100755 --- a/proto/engine/v1/execution_engine.pb.go +++ b/proto/engine/v1/execution_engine.pb.go @@ -10,7 +10,7 @@ import ( reflect "reflect" sync "sync" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) diff --git a/proto/engine/v1/execution_engine.proto b/proto/engine/v1/execution_engine.proto index 444aa6388..7a745a1f0 100644 --- a/proto/engine/v1/execution_engine.proto +++ b/proto/engine/v1/execution_engine.proto @@ -18,7 +18,7 @@ package ethereum.engine.v1; import "proto/eth/ext/options.proto"; option csharp_namespace = "Ethereum.Engine.V1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/engine/v1;enginev1"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/engine/v1;enginev1"; option java_multiple_files = true; option java_outer_classname = "ExecutionEngineProto"; option java_package = "org.ethereum.engine.v1"; diff --git a/proto/engine/v1/json_marshal_unmarshal.go b/proto/engine/v1/json_marshal_unmarshal.go index 8dbd9a6c6..aaece6e5a 100644 --- a/proto/engine/v1/json_marshal_unmarshal.go +++ b/proto/engine/v1/json_marshal_unmarshal.go @@ -10,8 +10,8 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" gethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) // PayloadIDBytes defines a custom type for Payload IDs used by the engine API diff --git a/proto/engine/v1/json_marshal_unmarshal_test.go b/proto/engine/v1/json_marshal_unmarshal_test.go index b31dca493..22d2a29c6 100644 --- a/proto/engine/v1/json_marshal_unmarshal_test.go +++ b/proto/engine/v1/json_marshal_unmarshal_test.go @@ -8,11 +8,11 @@ import ( "github.com/ethereum/go-ethereum/common" gethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/holiman/uint256" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestJsonMarshalUnmarshal(t *testing.T) { diff --git a/proto/eth/ext/BUILD.bazel b/proto/eth/ext/BUILD.bazel index 4e6ada6d3..be7408324 100644 --- a/proto/eth/ext/BUILD.bazel +++ b/proto/eth/ext/BUILD.bazel @@ -24,7 +24,7 @@ go_proto_library( compilers = [ "@com_github_prysmaticlabs_protoc_gen_go_cast//:go_cast", ], - importpath = "github.com/prysmaticlabs/prysm/proto/eth/ext", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/eth/ext", proto = ":proto", visibility = ["//visibility:public"], deps = [ @@ -40,7 +40,7 @@ go_proto_library( go_library( name = "go_default_library", embed = [":ext_go_proto"], - importpath = "github.com/prysmaticlabs/prysm/proto/eth/ext", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/eth/ext", visibility = ["//visibility:public"], deps = SSZ_DEPS + [ "@com_github_golang_protobuf//proto:go_default_library", @@ -53,7 +53,7 @@ go_library( go_proto_library( name = "ext_go_proto", - importpath = "github.com/prysmaticlabs/prysm/proto/eth/ext", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/eth/ext", proto = ":proto", visibility = ["//visibility:public"], ) diff --git a/proto/eth/ext/options.proto b/proto/eth/ext/options.proto index aa74b3a6c..dd0f578f5 100644 --- a/proto/eth/ext/options.proto +++ b/proto/eth/ext/options.proto @@ -18,7 +18,7 @@ package ethereum.eth.ext; import "google/protobuf/descriptor.proto"; option csharp_namespace = "Ethereum.Eth.ext"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/ext"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/ext"; option java_multiple_files = true; option java_outer_classname = "OptionsProto"; option java_package = "org.ethereum.eth.ext"; diff --git a/proto/eth/service/BUILD.bazel b/proto/eth/service/BUILD.bazel index e48d014cc..88397dc90 100644 --- a/proto/eth/service/BUILD.bazel +++ b/proto/eth/service/BUILD.bazel @@ -30,7 +30,7 @@ proto_library( go_proto_library( name = "go_proto", compilers = ["@com_github_prysmaticlabs_protoc_gen_go_cast//:go_cast_grpc",], - importpath = "github.com/prysmaticlabs/prysm/proto/eth/service", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/eth/service", proto = ":proto", visibility = ["//visibility:public"], deps = [ @@ -74,7 +74,7 @@ go_proto_library( "allow_delete_body_gateway_compiler", ], embed = [":go_proto"], - importpath = "github.com/prysmaticlabs/prysm/proto/eth/service", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/eth/service", protos = [":proto"], visibility = ["//proto:__subpackages__"], deps = [ @@ -92,6 +92,6 @@ go_proto_library( go_library( name = "go_default_library", embed = [":go_grpc_gateway_library"], - importpath = "github.com/prysmaticlabs/prysm/proto/eth/service", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/eth/service", visibility = ["//visibility:public"], ) diff --git a/proto/eth/service/beacon_chain_service.pb.go b/proto/eth/service/beacon_chain_service.pb.go index 7100aab5b..57c4b418e 100755 --- a/proto/eth/service/beacon_chain_service.pb.go +++ b/proto/eth/service/beacon_chain_service.pb.go @@ -12,8 +12,8 @@ import ( _ "github.com/golang/protobuf/protoc-gen-go/descriptor" empty "github.com/golang/protobuf/ptypes/empty" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - v2 "github.com/prysmaticlabs/prysm/proto/eth/v2" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + v2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/proto/eth/service/beacon_chain_service.pb.gw.go b/proto/eth/service/beacon_chain_service.pb.gw.go index 26a9f919d..1058f3f73 100755 --- a/proto/eth/service/beacon_chain_service.pb.gw.go +++ b/proto/eth/service/beacon_chain_service.pb.gw.go @@ -17,9 +17,9 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/proto/eth/v2" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/eth/service/beacon_chain_service.proto b/proto/eth/service/beacon_chain_service.proto index 61e37d7dc..a962d8e1f 100644 --- a/proto/eth/service/beacon_chain_service.proto +++ b/proto/eth/service/beacon_chain_service.proto @@ -26,7 +26,7 @@ import "proto/eth/v2/ssz.proto"; import "proto/eth/v2/sync_committee.proto"; option csharp_namespace = "Ethereum.Eth.Service"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/service"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/service"; option java_multiple_files = true; option java_outer_classname = "BeaconChainServiceProto"; option java_package = "org.ethereum.eth.service"; diff --git a/proto/eth/service/beacon_debug_service.pb.go b/proto/eth/service/beacon_debug_service.pb.go index 4d5687164..21e70b6ae 100755 --- a/proto/eth/service/beacon_debug_service.pb.go +++ b/proto/eth/service/beacon_debug_service.pb.go @@ -12,8 +12,8 @@ import ( _ "github.com/golang/protobuf/protoc-gen-go/descriptor" empty "github.com/golang/protobuf/ptypes/empty" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - v2 "github.com/prysmaticlabs/prysm/proto/eth/v2" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + v2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/proto/eth/service/beacon_debug_service.pb.gw.go b/proto/eth/service/beacon_debug_service.pb.gw.go index 795881363..3faad2786 100755 --- a/proto/eth/service/beacon_debug_service.pb.gw.go +++ b/proto/eth/service/beacon_debug_service.pb.gw.go @@ -17,9 +17,9 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/proto/eth/v2" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/eth/service/beacon_debug_service.proto b/proto/eth/service/beacon_debug_service.proto index 36b9d1efe..138c076d7 100644 --- a/proto/eth/service/beacon_debug_service.proto +++ b/proto/eth/service/beacon_debug_service.proto @@ -25,7 +25,7 @@ import "proto/eth/v2/beacon_state.proto"; import "proto/eth/v2/ssz.proto"; option csharp_namespace = "Ethereum.Eth.Service"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/service"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/service"; option java_multiple_files = true; option java_outer_classname = "BeaconDebugServiceProto"; option java_package = "org.ethereum.eth.service"; diff --git a/proto/eth/service/events_service.pb.go b/proto/eth/service/events_service.pb.go index 11d3b3c5f..2cc785d71 100755 --- a/proto/eth/service/events_service.pb.go +++ b/proto/eth/service/events_service.pb.go @@ -12,7 +12,7 @@ import ( _ "github.com/golang/protobuf/protoc-gen-go/descriptor" gateway "github.com/grpc-ecosystem/grpc-gateway/v2/proto/gateway" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/proto/eth/service/events_service.pb.gw.go b/proto/eth/service/events_service.pb.gw.go index b71a7fdef..60027187c 100755 --- a/proto/eth/service/events_service.pb.gw.go +++ b/proto/eth/service/events_service.pb.gw.go @@ -17,8 +17,8 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/eth/service/events_service.proto b/proto/eth/service/events_service.proto index 52427bb2a..70e8fc66f 100644 --- a/proto/eth/service/events_service.proto +++ b/proto/eth/service/events_service.proto @@ -22,7 +22,7 @@ import "proto/eth/v1/events.proto"; import "proto/gateway/event_source.proto"; option csharp_namespace = "Ethereum.Eth.Service"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/service"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/service"; option java_multiple_files = true; option java_outer_classname = "EventsServiceProto"; option java_package = "org.ethereum.eth.service"; diff --git a/proto/eth/service/key_management.pb.gw.go b/proto/eth/service/key_management.pb.gw.go index a0a36de1d..69798c330 100755 --- a/proto/eth/service/key_management.pb.gw.go +++ b/proto/eth/service/key_management.pb.gw.go @@ -17,7 +17,7 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/eth/service/key_management.proto b/proto/eth/service/key_management.proto index 7ee72aca2..1eb5a166a 100644 --- a/proto/eth/service/key_management.proto +++ b/proto/eth/service/key_management.proto @@ -20,7 +20,7 @@ import "google/protobuf/descriptor.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Ethereum.Eth.Service"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/service"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/service"; option java_multiple_files = true; option java_outer_classname = "KeyManagementServiceProto"; option java_package = "org.ethereum.eth.service"; diff --git a/proto/eth/service/node_service.pb.go b/proto/eth/service/node_service.pb.go index 348419a69..65549880b 100755 --- a/proto/eth/service/node_service.pb.go +++ b/proto/eth/service/node_service.pb.go @@ -12,7 +12,7 @@ import ( _ "github.com/golang/protobuf/protoc-gen-go/descriptor" empty "github.com/golang/protobuf/ptypes/empty" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/proto/eth/service/node_service.pb.gw.go b/proto/eth/service/node_service.pb.gw.go index 1a207ec81..803f58ce4 100755 --- a/proto/eth/service/node_service.pb.gw.go +++ b/proto/eth/service/node_service.pb.gw.go @@ -17,8 +17,8 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/eth/service/node_service.proto b/proto/eth/service/node_service.proto index f59b7efce..1f43078be 100644 --- a/proto/eth/service/node_service.proto +++ b/proto/eth/service/node_service.proto @@ -22,7 +22,7 @@ import "google/protobuf/empty.proto"; import "proto/eth/v1/node.proto"; option csharp_namespace = "Ethereum.Eth.Service"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/service"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/service"; option java_multiple_files = true; option java_outer_classname = "NodeServiceProto"; option java_package = "org.ethereum.eth.service"; diff --git a/proto/eth/service/validator_service.pb.go b/proto/eth/service/validator_service.pb.go index f869342c9..2a0582b10 100755 --- a/proto/eth/service/validator_service.pb.go +++ b/proto/eth/service/validator_service.pb.go @@ -12,8 +12,8 @@ import ( _ "github.com/golang/protobuf/protoc-gen-go/descriptor" empty "github.com/golang/protobuf/ptypes/empty" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - v2 "github.com/prysmaticlabs/prysm/proto/eth/v2" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + v2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/proto/eth/service/validator_service.pb.gw.go b/proto/eth/service/validator_service.pb.gw.go index f787c7dd3..72ce63a6e 100755 --- a/proto/eth/service/validator_service.pb.gw.go +++ b/proto/eth/service/validator_service.pb.gw.go @@ -17,9 +17,9 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - "github.com/prysmaticlabs/prysm/proto/eth/v2" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/eth/service/validator_service.proto b/proto/eth/service/validator_service.proto index e675e7ead..730d663b5 100644 --- a/proto/eth/service/validator_service.proto +++ b/proto/eth/service/validator_service.proto @@ -24,7 +24,7 @@ import "proto/eth/v2/ssz.proto"; import "proto/eth/v2/validator.proto"; option csharp_namespace = "Ethereum.Eth.Service"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/service"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/service"; option java_multiple_files = true; option java_outer_classname = "ValidatorServiceProto"; option java_package = "org.ethereum.eth.service"; diff --git a/proto/eth/v1/BUILD.bazel b/proto/eth/v1/BUILD.bazel index 9fef86025..ed2b5d419 100644 --- a/proto/eth/v1/BUILD.bazel +++ b/proto/eth/v1/BUILD.bazel @@ -65,7 +65,7 @@ go_proto_library( compilers = [ "@com_github_prysmaticlabs_protoc_gen_go_cast//:go_cast_grpc", ], - importpath = "github.com/prysmaticlabs/prysm/proto/eth/v1", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/eth/v1", proto = ":proto", visibility = ["//visibility:public"], deps = [ @@ -84,7 +84,7 @@ go_proto_library( "@com_github_grpc_ecosystem_grpc_gateway_v2//protoc-gen-grpc-gateway:go_gen_grpc_gateway", ], embed = [":go_proto"], - importpath = "github.com/prysmaticlabs/prysm/proto/eth/v1", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/eth/v1", protos = [":proto"], visibility = ["//proto:__subpackages__"], ) @@ -97,7 +97,7 @@ go_library( embed = [ ":go_grpc_gateway_library", ], - importpath = "github.com/prysmaticlabs/prysm/proto/eth/v1", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/eth/v1", visibility = ["//visibility:public"], deps = SSZ_DEPS ) diff --git a/proto/eth/v1/attestation.pb.go b/proto/eth/v1/attestation.pb.go index f73c1f256..e86eaad51 100755 --- a/proto/eth/v1/attestation.pb.go +++ b/proto/eth/v1/attestation.pb.go @@ -12,8 +12,8 @@ import ( _ "github.com/golang/protobuf/protoc-gen-go/descriptor" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -93,7 +93,7 @@ type AggregateAttestationAndProof struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AggregatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3" json:"aggregator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + AggregatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3" json:"aggregator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` Aggregate *Attestation `protobuf:"bytes,3,opt,name=aggregate,proto3" json:"aggregate,omitempty"` SelectionProof []byte `protobuf:"bytes,2,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty" ssz-size:"96"` } @@ -211,8 +211,8 @@ type AttestationData struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - Index github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + Index github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` BeaconBlockRoot []byte `protobuf:"bytes,3,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty" ssz-size:"32"` Source *Checkpoint `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` Target *Checkpoint `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` @@ -290,7 +290,7 @@ type Checkpoint struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` Root []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` } diff --git a/proto/eth/v1/attestation.proto b/proto/eth/v1/attestation.proto index c298c48ae..383fad23e 100644 --- a/proto/eth/v1/attestation.proto +++ b/proto/eth/v1/attestation.proto @@ -19,7 +19,7 @@ import "google/protobuf/descriptor.proto"; import "proto/eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.V1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v1"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v1"; option java_multiple_files = true; option java_outer_classname = "AttestationProto"; option java_package = "org.ethereum.eth.v1"; @@ -38,7 +38,7 @@ message Attestation { message AggregateAttestationAndProof { // The aggregator index that submitted this aggregated attestation and proof. - uint64 aggregator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 aggregator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The aggregated attestation that was submitted. Attestation aggregate = 3; @@ -60,10 +60,10 @@ message AttestationData { // See: https://arxiv.org/pdf/1710.09437.pdf // Slot of the attestation attesting for. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // The committee index that submitted this attestation. - uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; // 32 byte root of the LMD GHOST block vote. bytes beacon_block_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -80,7 +80,7 @@ message Checkpoint { // is to link the check points together for justification and finalization. // Epoch the checkpoint references. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Block root of the checkpoint references. bytes root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; diff --git a/proto/eth/v1/beacon_block.pb.go b/proto/eth/v1/beacon_block.pb.go index 73369c3a3..a3b7761e2 100755 --- a/proto/eth/v1/beacon_block.pb.go +++ b/proto/eth/v1/beacon_block.pb.go @@ -12,8 +12,8 @@ import ( _ "github.com/golang/protobuf/protoc-gen-go/descriptor" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -30,8 +30,8 @@ type BeaconBlock struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` Body *BeaconBlockBody `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` @@ -432,8 +432,8 @@ type VoluntaryExit struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *VoluntaryExit) Reset() { @@ -605,8 +605,8 @@ type BeaconBlockHeader struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` BodyRoot []byte `protobuf:"bytes,5,opt,name=body_root,json=bodyRoot,proto3" json:"body_root,omitempty" ssz-size:"32"` diff --git a/proto/eth/v1/beacon_block.proto b/proto/eth/v1/beacon_block.proto index 92ac1e68c..a1b37383e 100644 --- a/proto/eth/v1/beacon_block.proto +++ b/proto/eth/v1/beacon_block.proto @@ -20,7 +20,7 @@ import "proto/eth/ext/options.proto"; import "proto/eth/v1/attestation.proto"; option csharp_namespace = "Ethereum.Eth.V1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v1"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v1"; option java_multiple_files = true; option java_outer_classname = "BeaconBlockProto"; option java_package = "org.ethereum.eth.v1"; @@ -29,10 +29,10 @@ option php_namespace = "Ethereum\\Eth\\v1"; // The Ethereum consensus beacon block. The message does not contain a validator signature. message BeaconBlock { // Beacon chain slot that this block represents. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 32 byte root of the parent block. bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -132,10 +132,10 @@ message Deposit { // validator signature. message VoluntaryExit { // The epoch on when exit request becomes valid. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Index of the exiting validator. - uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } // The signed version of voluntary exit. @@ -168,10 +168,10 @@ message Eth1Data { // a validator signature. message BeaconBlockHeader { // Beacon chain slot that this block represents. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 32 byte merkle tree root of the parent ssz encoded block. bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; diff --git a/proto/eth/v1/beacon_chain.pb.go b/proto/eth/v1/beacon_chain.pb.go index dbf6320d0..ac30441da 100755 --- a/proto/eth/v1/beacon_chain.pb.go +++ b/proto/eth/v1/beacon_chain.pb.go @@ -11,8 +11,8 @@ import ( sync "sync" _ "github.com/golang/protobuf/protoc-gen-go/descriptor" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" @@ -517,7 +517,7 @@ type ValidatorBalance struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` } @@ -683,9 +683,9 @@ type StateCommitteesRequest struct { unknownFields protoimpl.UnknownFields StateId []byte `protobuf:"bytes,1,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` - Epoch *github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,2,opt,name=epoch,proto3,oneof" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - Index *github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,3,opt,name=index,proto3,oneof" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` - Slot *github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,4,opt,name=slot,proto3,oneof" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Epoch *github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,2,opt,name=epoch,proto3,oneof" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + Index *github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,3,opt,name=index,proto3,oneof" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` + Slot *github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,4,opt,name=slot,proto3,oneof" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } func (x *StateCommitteesRequest) Reset() { @@ -965,7 +965,7 @@ type BlockHeadersRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot *github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3,oneof" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot *github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3,oneof" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` ParentRoot []byte `protobuf:"bytes,2,opt,name=parent_root,json=parentRoot,proto3,oneof" json:"parent_root,omitempty" ssz-size:"32"` } @@ -1444,8 +1444,8 @@ type AttestationsPoolRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot *github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3,oneof" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - CommitteeIndex *github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3,oneof" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` + Slot *github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3,oneof" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + CommitteeIndex *github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3,oneof" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` } func (x *AttestationsPoolRequest) Reset() { diff --git a/proto/eth/v1/beacon_chain.proto b/proto/eth/v1/beacon_chain.proto index 25507a7ee..47f456159 100644 --- a/proto/eth/v1/beacon_chain.proto +++ b/proto/eth/v1/beacon_chain.proto @@ -25,7 +25,7 @@ import "proto/eth/v1/beacon_state.proto"; import "proto/eth/v1/validator.proto"; option csharp_namespace = "Ethereum.Eth.V1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v1"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v1"; option java_multiple_files = true; option java_outer_classname = "BeaconChainProto"; option java_package = "org.ethereum.eth.v1"; @@ -113,7 +113,7 @@ message ValidatorBalancesResponse { message ValidatorBalance { // The index of the validator the retrieved balance is for. - uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The balance of the requested validator. uint64 balance = 2; @@ -139,13 +139,13 @@ message StateCommitteesRequest { bytes state_id = 1; // The epoch to retrieve the committees of. - optional uint64 epoch = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + optional uint64 epoch = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Committee index requested. - optional uint64 index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + optional uint64 index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; // Committee slot requested. - optional uint64 slot = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + optional uint64 slot = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; } message StateCommitteesResponse { @@ -172,7 +172,7 @@ message BlockRootResponse { message BlockHeadersRequest { // Beacon chain slot of the requested block. - optional uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + optional uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // 32 byte merkle tree root of the ssz encoded parent block. optional bytes parent_root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -231,8 +231,8 @@ message BeaconBlockContainer { // Beacon Pool related API service. message AttestationsPoolRequest { - optional uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; - optional uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + optional uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; + optional uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; } message SubmitAttestationsRequest { diff --git a/proto/eth/v1/beacon_state.pb.go b/proto/eth/v1/beacon_state.pb.go index 7974b58ad..78ef8d2ba 100755 --- a/proto/eth/v1/beacon_state.pb.go +++ b/proto/eth/v1/beacon_state.pb.go @@ -12,8 +12,8 @@ import ( _ "github.com/golang/protobuf/protoc-gen-go/descriptor" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -32,7 +32,7 @@ type BeaconState struct { GenesisTime uint64 `protobuf:"varint,1001,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` GenesisValidatorsRoot []byte `protobuf:"bytes,1002,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` Fork *Fork `protobuf:"bytes,1004,opt,name=fork,proto3" json:"fork,omitempty"` LatestBlockHeader *BeaconBlockHeader `protobuf:"bytes,2001,opt,name=latest_block_header,json=latestBlockHeader,proto3" json:"latest_block_header,omitempty"` BlockRoots [][]byte `protobuf:"bytes,2002,rep,name=block_roots,json=blockRoots,proto3" json:"block_roots,omitempty" ssz-size:"8192,32"` @@ -239,8 +239,8 @@ type PendingAttestation struct { AggregationBits github_com_prysmaticlabs_go_bitfield.Bitlist `protobuf:"bytes,1,opt,name=aggregation_bits,json=aggregationBits,proto3" json:"aggregation_bits,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitlist" ssz-max:"2048"` Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - InclusionDelay github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,opt,name=inclusion_delay,json=inclusionDelay,proto3" json:"inclusion_delay,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,4,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + InclusionDelay github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,opt,name=inclusion_delay,json=inclusionDelay,proto3" json:"inclusion_delay,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,4,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *PendingAttestation) Reset() { @@ -308,9 +308,9 @@ type Committee struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Index github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - Validators []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,rep,packed,name=validators,proto3" json:"validators,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Index github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + Validators []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,rep,packed,name=validators,proto3" json:"validators,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *Committee) Reset() { @@ -373,7 +373,7 @@ type Fork struct { PreviousVersion []byte `protobuf:"bytes,1,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty" ssz-size:"4"` CurrentVersion []byte `protobuf:"bytes,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty" ssz-size:"4"` - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } func (x *Fork) Reset() { @@ -482,7 +482,7 @@ type ForkChoiceHead struct { unknownFields protoimpl.UnknownFields Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } func (x *ForkChoiceHead) Reset() { diff --git a/proto/eth/v1/beacon_state.proto b/proto/eth/v1/beacon_state.proto index b48355da4..4c21dbb17 100644 --- a/proto/eth/v1/beacon_state.proto +++ b/proto/eth/v1/beacon_state.proto @@ -23,7 +23,7 @@ import "proto/eth/v1/beacon_block.proto"; import "proto/eth/v1/validator.proto"; option csharp_namespace = "Ethereum.Eth.V1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v1"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v1"; option java_multiple_files = true; option java_outer_classname = "BeaconStateProto"; option java_package = "org.ethereum.eth.v1"; @@ -33,7 +33,7 @@ message BeaconState { // Versioning [1001-2000] uint64 genesis_time = 1001; bytes genesis_validators_root = 1002 [(ethereum.eth.ext.ssz_size) = "32"]; - uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; Fork fork = 1004; // History [2001-3000] @@ -75,22 +75,22 @@ message PendingAttestation { bytes aggregation_bits = 1 [(ethereum.eth.ext.ssz_max) = "2048", (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/go-bitfield.Bitlist"]; AttestationData data = 2; // The difference of when attestation gets created and get included on chain. - uint64 inclusion_delay = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 inclusion_delay = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // The proposer who included the attestation in the block. - uint64 proposer_index = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message Committee { - uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; - uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; - repeated uint64 validators = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; + uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; + repeated uint64 validators = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } // Fork structure used for indicating beacon chain versioning and forks. message Fork { bytes previous_version = 1 [(ethereum.eth.ext.ssz_size) = "4"]; bytes current_version = 2 [(ethereum.eth.ext.ssz_size) = "4"]; - uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; } message ForkChoiceHeadsResponse { @@ -99,7 +99,7 @@ message ForkChoiceHeadsResponse { message ForkChoiceHead { bytes root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; - uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; } message BeaconStateResponse { diff --git a/proto/eth/v1/events.pb.go b/proto/eth/v1/events.pb.go index df3499c74..3a63ed79a 100755 --- a/proto/eth/v1/events.pb.go +++ b/proto/eth/v1/events.pb.go @@ -11,8 +11,8 @@ import ( sync "sync" _ "github.com/golang/protobuf/protoc-gen-go/descriptor" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -76,7 +76,7 @@ type EventHead struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` Block []byte `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty" ssz-size:"32"` State []byte `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty" ssz-size:"32"` EpochTransition bool `protobuf:"varint,4,opt,name=epoch_transition,json=epochTransition,proto3" json:"epoch_transition,omitempty"` @@ -171,7 +171,7 @@ type EventBlock struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` Block []byte `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty" ssz-size:"32"` ExecutionOptimistic bool `protobuf:"varint,3,opt,name=execution_optimistic,json=executionOptimistic,proto3" json:"execution_optimistic,omitempty"` } @@ -234,13 +234,13 @@ type EventChainReorg struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` Depth uint64 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` OldHeadBlock []byte `protobuf:"bytes,3,opt,name=old_head_block,json=oldHeadBlock,proto3" json:"old_head_block,omitempty" ssz-size:"32"` NewHeadBlock []byte `protobuf:"bytes,4,opt,name=new_head_block,json=newHeadBlock,proto3" json:"new_head_block,omitempty" ssz-size:"32"` OldHeadState []byte `protobuf:"bytes,5,opt,name=old_head_state,json=oldHeadState,proto3" json:"old_head_state,omitempty" ssz-size:"32"` NewHeadState []byte `protobuf:"bytes,6,opt,name=new_head_state,json=newHeadState,proto3" json:"new_head_state,omitempty" ssz-size:"32"` - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,7,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,7,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` ExecutionOptimistic bool `protobuf:"varint,8,opt,name=execution_optimistic,json=executionOptimistic,proto3" json:"execution_optimistic,omitempty"` } @@ -339,7 +339,7 @@ type EventFinalizedCheckpoint struct { Block []byte `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty" ssz-size:"32"` State []byte `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty" ssz-size:"32"` - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` ExecutionOptimistic bool `protobuf:"varint,4,opt,name=execution_optimistic,json=executionOptimistic,proto3" json:"execution_optimistic,omitempty"` } diff --git a/proto/eth/v1/events.proto b/proto/eth/v1/events.proto index 9c697a6b0..6129cc88d 100644 --- a/proto/eth/v1/events.proto +++ b/proto/eth/v1/events.proto @@ -19,7 +19,7 @@ import "google/protobuf/descriptor.proto"; import "proto/eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.V1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v1"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v1"; option java_multiple_files = true; option java_outer_classname = "BeaconEventsProto"; option java_package = "org.ethereum.eth.v1"; @@ -33,7 +33,7 @@ message StreamEventsRequest { message EventHead { // Slot of the new chain head. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Block root of the new chain head. bytes block = 2 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -56,7 +56,7 @@ message EventHead { message EventBlock { // The slot of the observed block. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // The root of the observed block. bytes block = 2 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -67,7 +67,7 @@ message EventBlock { message EventChainReorg { // The slot of the observed reorg. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Depth of the reorg in slots. uint64 depth = 2; @@ -85,7 +85,7 @@ message EventChainReorg { bytes new_head_state = 6 [(ethereum.eth.ext.ssz_size) = "32"]; // Epoch of the observed reorg. - uint64 epoch = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Information about optimistic sync. bool execution_optimistic = 8; @@ -99,7 +99,7 @@ message EventFinalizedCheckpoint { bytes state = 2 [(ethereum.eth.ext.ssz_size) = "32"]; // Epoch the checkpoint references. - uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Information about optimistic sync. bool execution_optimistic = 4; diff --git a/proto/eth/v1/generated.ssz.go b/proto/eth/v1/generated.ssz.go index e8aebc29a..a6ef2a6c0 100644 --- a/proto/eth/v1/generated.ssz.go +++ b/proto/eth/v1/generated.ssz.go @@ -4,7 +4,7 @@ package v1 import ( ssz "github.com/prysmaticlabs/fastssz" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) // MarshalSSZ ssz marshals the Attestation object diff --git a/proto/eth/v1/node.pb.go b/proto/eth/v1/node.pb.go index 3d8e83be2..16a829d3f 100755 --- a/proto/eth/v1/node.pb.go +++ b/proto/eth/v1/node.pb.go @@ -12,8 +12,8 @@ import ( _ "github.com/golang/protobuf/protoc-gen-go/descriptor" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -780,8 +780,8 @@ type SyncInfo struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - HeadSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=head_slot,json=headSlot,proto3" json:"head_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - SyncDistance github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=sync_distance,json=syncDistance,proto3" json:"sync_distance,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + HeadSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=head_slot,json=headSlot,proto3" json:"head_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + SyncDistance github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=sync_distance,json=syncDistance,proto3" json:"sync_distance,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` IsSyncing bool `protobuf:"varint,3,opt,name=is_syncing,json=isSyncing,proto3" json:"is_syncing,omitempty"` IsOptimistic bool `protobuf:"varint,4,opt,name=is_optimistic,json=isOptimistic,proto3" json:"is_optimistic,omitempty"` } diff --git a/proto/eth/v1/node.proto b/proto/eth/v1/node.proto index cb8c2fb45..a5a4aa735 100644 --- a/proto/eth/v1/node.proto +++ b/proto/eth/v1/node.proto @@ -20,7 +20,7 @@ import "google/protobuf/descriptor.proto"; import "proto/eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.V1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v1"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v1"; option java_multiple_files = true; option java_outer_classname = "BeaconNodeProto"; option java_package = "org.ethereum.eth.v1"; @@ -136,10 +136,10 @@ message SyncingResponse { message SyncInfo { // A uint64 states the latest head slot of the current node. - uint64 head_slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 head_slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // A uint64 indicating how many slots are left for the beacon node sync to complete. - uint64 sync_distance = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 sync_distance = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // A bool indicating whether the node is currently syncing or not. bool is_syncing = 3; diff --git a/proto/eth/v1/validator.pb.go b/proto/eth/v1/validator.pb.go index 2d7dd9ab4..44883a830 100755 --- a/proto/eth/v1/validator.pb.go +++ b/proto/eth/v1/validator.pb.go @@ -11,8 +11,8 @@ import ( sync "sync" _ "github.com/golang/protobuf/protoc-gen-go/descriptor" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -108,7 +108,7 @@ type ValidatorContainer struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` Status ValidatorStatus `protobuf:"varint,3,opt,name=status,proto3,enum=ethereum.eth.v1.ValidatorStatus" json:"status,omitempty"` Validator *Validator `protobuf:"bytes,4,opt,name=validator,proto3" json:"validator,omitempty"` @@ -183,10 +183,10 @@ type Validator struct { WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty" ssz-size:"32"` EffectiveBalance uint64 `protobuf:"varint,3,opt,name=effective_balance,json=effectiveBalance,proto3" json:"effective_balance,omitempty"` Slashed bool `protobuf:"varint,4,opt,name=slashed,proto3" json:"slashed,omitempty"` - ActivationEligibilityEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,5,opt,name=activation_eligibility_epoch,json=activationEligibilityEpoch,proto3" json:"activation_eligibility_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - ActivationEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,6,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - ExitEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,7,opt,name=exit_epoch,json=exitEpoch,proto3" json:"exit_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - WithdrawableEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,8,opt,name=withdrawable_epoch,json=withdrawableEpoch,proto3" json:"withdrawable_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + ActivationEligibilityEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,5,opt,name=activation_eligibility_epoch,json=activationEligibilityEpoch,proto3" json:"activation_eligibility_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + ActivationEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,6,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + ExitEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,7,opt,name=exit_epoch,json=exitEpoch,proto3" json:"exit_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + WithdrawableEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,8,opt,name=withdrawable_epoch,json=withdrawableEpoch,proto3" json:"withdrawable_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } func (x *Validator) Reset() { @@ -282,8 +282,8 @@ type AttesterDutiesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - Index []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + Index []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *AttesterDutiesRequest) Reset() { @@ -401,12 +401,12 @@ type AttesterDuty struct { unknownFields protoimpl.UnknownFields Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty" ssz-size:"48"` - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` - CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,3,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` + CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,3,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` CommitteeLength uint64 `protobuf:"varint,4,opt,name=committee_length,json=committeeLength,proto3" json:"committee_length,omitempty"` CommitteesAtSlot uint64 `protobuf:"varint,5,opt,name=committees_at_slot,json=committeesAtSlot,proto3" json:"committees_at_slot,omitempty"` - ValidatorCommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,6,opt,name=validator_committee_index,json=validatorCommitteeIndex,proto3" json:"validator_committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,7,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + ValidatorCommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,6,opt,name=validator_committee_index,json=validatorCommitteeIndex,proto3" json:"validator_committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,7,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } func (x *AttesterDuty) Reset() { @@ -495,7 +495,7 @@ type ProposerDutiesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } func (x *ProposerDutiesRequest) Reset() { @@ -606,8 +606,8 @@ type ProposerDuty struct { unknownFields protoimpl.UnknownFields Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty" ssz-size:"48"` - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } func (x *ProposerDuty) Reset() { @@ -668,7 +668,7 @@ type ProduceBlockRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` RandaoReveal []byte `protobuf:"bytes,2,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"96"` Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3,oneof" json:"graffiti,omitempty" ssz-size:"32"` } @@ -778,8 +778,8 @@ type ProduceAttestationDataRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` } func (x *ProduceAttestationDataRequest) Reset() { @@ -881,7 +881,7 @@ type AggregateAttestationRequest struct { unknownFields protoimpl.UnknownFields AttestationDataRoot []byte `protobuf:"bytes,1,opt,name=attestation_data_root,json=attestationDataRoot,proto3" json:"attestation_data_root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } func (x *AggregateAttestationRequest) Reset() { @@ -1076,10 +1076,10 @@ type BeaconCommitteeSubscribe struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` - CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` + CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` CommitteesAtSlot uint64 `protobuf:"varint,3,opt,name=committees_at_slot,json=committeesAtSlot,proto3" json:"committees_at_slot,omitempty"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,4,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,4,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` IsAggregator bool `protobuf:"varint,5,opt,name=is_aggregator,json=isAggregator,proto3" json:"is_aggregator,omitempty"` } @@ -1203,7 +1203,7 @@ type PrepareBeaconProposerRequest_FeeRecipientContainer struct { unknownFields protoimpl.UnknownFields FeeRecipient []byte `protobuf:"bytes,1,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty" ssz-size:"20"` - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *PrepareBeaconProposerRequest_FeeRecipientContainer) Reset() { diff --git a/proto/eth/v1/validator.proto b/proto/eth/v1/validator.proto index 7c7062239..447593c44 100644 --- a/proto/eth/v1/validator.proto +++ b/proto/eth/v1/validator.proto @@ -22,14 +22,14 @@ import "proto/eth/v1/attestation.proto"; import "proto/eth/v1/beacon_block.proto"; option csharp_namespace = "Ethereum.Eth.V1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v1"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v1"; option java_multiple_files = true; option java_outer_classname = "ValidatorProto"; option java_package = "org.ethereum.eth.v1"; option php_namespace = "Ethereum\\Eth\\v1"; message ValidatorContainer { - uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"];; + uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"];; uint64 balance = 2; ValidatorStatus status = 3; Validator validator = 4; @@ -52,24 +52,24 @@ message Validator { // Epoch when the validator became eligible for activation. This field may // be zero if the validator was present in the Ethereum proof of stake genesis. This // field is FAR_FUTURE_EPOCH if the validator has not been activated. - uint64 activation_eligibility_epoch = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 activation_eligibility_epoch = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Epoch when the validator was activated. This field may be zero if the // validator was present in the Ethereum proof of stake genesis. This field is // FAR_FUTURE_EPOCH if the validator has not been activated. - uint64 activation_epoch = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 activation_epoch = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Epoch when the validator was exited. This field is FAR_FUTURE_EPOCH if // the validator has not exited. // FAR_FUTURE_EPOCH is a constant defined by the official Ethereum Beacon Chain specification: // https://github.com/ethereum/consensus-specs/blob/v0.9.2/specs/core/0_beacon-chain.md#constants - uint64 exit_epoch = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 exit_epoch = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Epoch when the validator is eligible to withdraw their funds. This field // is FAR_FUTURE_EPOCH if the validator has not exited. // FAR_FUTURE_EPOCH is a constant defined by the official Ethereum Beacon Chain specification: // https://github.com/ethereum/consensus-specs/blob/v0.9.2/specs/core/0_beacon-chain.md#constants - uint64 withdrawable_epoch = 8 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 withdrawable_epoch = 8 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; } enum ValidatorStatus { @@ -90,10 +90,10 @@ enum ValidatorStatus { message AttesterDutiesRequest { // Epoch to request, should only be allowed 1 epoch ahead. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Validator indices to request duties for. - repeated uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message AttesterDutiesResponse { @@ -107,10 +107,10 @@ message AttesterDuty { bytes pubkey = 1 [(ethereum.eth.ext.ssz_size) = "48"]; // The index of the validator in the beacon state. - uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The index of the committee where the validator belongs to. - uint64 committee_index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + uint64 committee_index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; // The length of the committee the validator belongs to. uint64 committee_length = 4; @@ -119,15 +119,15 @@ message AttesterDuty { uint64 committees_at_slot = 5; // The index of the validator in the committee. - uint64 validator_committee_index = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + uint64 validator_committee_index = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; // The slot this duty is for. - uint64 slot = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; } message ProposerDutiesRequest { // Epoch to request duties for. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; } message ProposerDutiesResponse { @@ -141,15 +141,15 @@ message ProposerDuty { bytes pubkey = 1 [(ethereum.eth.ext.ssz_size) = "48"]; // The index of the validator in the beacon state. - uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The slot this duty is for. - uint64 slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; } message ProduceBlockRequest { // The slot to request a block for. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // The validators RANDAO reveal 96 byte value. bytes randao_reveal = 2 [(ethereum.eth.ext.ssz_size) = "96"]; @@ -165,10 +165,10 @@ message ProduceBlockResponse { message ProduceAttestationDataRequest { // Slot for which the attestation data should be retrieved for. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Committee index for which the attestation data should be retrieved for. - uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; } message ProduceAttestationDataResponse { @@ -180,7 +180,7 @@ message AggregateAttestationRequest { bytes attestation_data_root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; // The slot for the requested aggregate attestation. - uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; } message AggregateAttestationResponse { @@ -197,16 +197,16 @@ message SubmitBeaconCommitteeSubscriptionsRequest { message BeaconCommitteeSubscribe { // The validator index to subscribe for. - uint64 validator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The committee index to be subscribed to. - uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; // The total amount of committees for the given slot. uint64 committees_at_slot = 3; // The slot to be subscribed to. - uint64 slot = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // If subscribing for aggregator, the beacon node will aggregate all attestations received. bool is_aggregator = 5; @@ -218,7 +218,7 @@ message PrepareBeaconProposerRequest { bytes fee_recipient = 1 [(ethereum.eth.ext.ssz_size) = "20"]; // The proposer validator index. - uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } repeated FeeRecipientContainer recipients = 1; } \ No newline at end of file diff --git a/proto/eth/v2/BUILD.bazel b/proto/eth/v2/BUILD.bazel index d07a434db..660784c5b 100644 --- a/proto/eth/v2/BUILD.bazel +++ b/proto/eth/v2/BUILD.bazel @@ -49,7 +49,7 @@ go_proto_library( compilers = [ "@com_github_prysmaticlabs_protoc_gen_go_cast//:go_cast_grpc", ], - importpath = "github.com/prysmaticlabs/prysm/proto/eth/v2", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/eth/v2", proto = ":proto", visibility = ["//visibility:public"], deps = [ @@ -68,7 +68,7 @@ go_proto_library( "@com_github_grpc_ecosystem_grpc_gateway_v2//protoc-gen-grpc-gateway:go_gen_grpc_gateway", ], embed = [":go_proto"], - importpath = "github.com/prysmaticlabs/prysm/proto/eth/v2", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/eth/v2", protos = [":proto"], visibility = ["//proto:__subpackages__"], ) @@ -79,7 +79,7 @@ go_library( ":ssz_generated_files", ], embed = [":go_grpc_gateway_library"], - importpath = "github.com/prysmaticlabs/prysm/proto/eth/v2", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/eth/v2", visibility = ["//visibility:public"], deps = SSZ_DEPS ) diff --git a/proto/eth/v2/beacon_block.pb.go b/proto/eth/v2/beacon_block.pb.go index 064610645..7a7243d50 100755 --- a/proto/eth/v2/beacon_block.pb.go +++ b/proto/eth/v2/beacon_block.pb.go @@ -10,10 +10,10 @@ import ( reflect "reflect" sync "sync" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v11 "github.com/prysmaticlabs/prysm/proto/engine/v1" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v11 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -698,8 +698,8 @@ type BeaconBlockBellatrix struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` Body *BeaconBlockBodyBellatrix `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` @@ -777,8 +777,8 @@ type BlindedBeaconBlockBellatrix struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` Body *BlindedBeaconBlockBodyBellatrix `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` @@ -856,8 +856,8 @@ type BeaconBlockAltair struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` Body *BeaconBlockBodyAltair `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` diff --git a/proto/eth/v2/beacon_block.proto b/proto/eth/v2/beacon_block.proto index 7434e7ebc..a2b1ffb8a 100644 --- a/proto/eth/v2/beacon_block.proto +++ b/proto/eth/v2/beacon_block.proto @@ -22,7 +22,7 @@ import "proto/eth/v2/version.proto"; import "proto/engine/v1/execution_engine.proto"; option csharp_namespace = "Ethereum.Eth.V2"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v2;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v2;eth"; option java_multiple_files = true; option java_outer_classname = "SyncCommitteeProto"; option java_package = "org.ethereum.eth.v2"; @@ -102,10 +102,10 @@ message SignedBeaconBlockAltair { // The Ethereum consensus beacon block. The message does not contain a validator signature. message BeaconBlockBellatrix { // Beacon chain slot that this block represents. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 32 byte root of the parent block. bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -120,10 +120,10 @@ message BeaconBlockBellatrix { // The Ethereum consensus beacon block. The message does not contain a validator signature. message BlindedBeaconBlockBellatrix { // Beacon chain slot that this block represents. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 32 byte root of the parent block. bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -138,10 +138,10 @@ message BlindedBeaconBlockBellatrix { // The Ethereum consensus beacon block. The message does not contain a validator signature. message BeaconBlockAltair { // Beacon chain slot that this block represents. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 32 byte root of the parent block. bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; diff --git a/proto/eth/v2/beacon_state.pb.go b/proto/eth/v2/beacon_state.pb.go index 1b5d95ba9..d5fe6b381 100755 --- a/proto/eth/v2/beacon_state.pb.go +++ b/proto/eth/v2/beacon_state.pb.go @@ -11,10 +11,10 @@ import ( sync "sync" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v11 "github.com/prysmaticlabs/prysm/proto/engine/v1" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v11 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -33,7 +33,7 @@ type BeaconStateV2 struct { GenesisTime uint64 `protobuf:"varint,1001,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` GenesisValidatorsRoot []byte `protobuf:"bytes,1002,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` Fork *v1.Fork `protobuf:"bytes,1004,opt,name=fork,proto3" json:"fork,omitempty"` LatestBlockHeader *v1.BeaconBlockHeader `protobuf:"bytes,2001,opt,name=latest_block_header,json=latestBlockHeader,proto3" json:"latest_block_header,omitempty"` BlockRoots [][]byte `protobuf:"bytes,2002,rep,name=block_roots,json=blockRoots,proto3" json:"block_roots,omitempty" ssz-size:"8192,32"` @@ -264,7 +264,7 @@ type BeaconStateBellatrix struct { GenesisTime uint64 `protobuf:"varint,1001,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` GenesisValidatorsRoot []byte `protobuf:"bytes,1002,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` Fork *v1.Fork `protobuf:"bytes,1004,opt,name=fork,proto3" json:"fork,omitempty"` LatestBlockHeader *v1.BeaconBlockHeader `protobuf:"bytes,2001,opt,name=latest_block_header,json=latestBlockHeader,proto3" json:"latest_block_header,omitempty"` BlockRoots [][]byte `protobuf:"bytes,2002,rep,name=block_roots,json=blockRoots,proto3" json:"block_roots,omitempty" ssz-size:"8192,32"` @@ -808,7 +808,7 @@ type ForkChoiceHead struct { unknownFields protoimpl.UnknownFields Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` ExecutionOptimistic bool `protobuf:"varint,3,opt,name=execution_optimistic,json=executionOptimistic,proto3" json:"execution_optimistic,omitempty"` } diff --git a/proto/eth/v2/beacon_state.proto b/proto/eth/v2/beacon_state.proto index 80b9d7ed8..19bab758a 100644 --- a/proto/eth/v2/beacon_state.proto +++ b/proto/eth/v2/beacon_state.proto @@ -25,7 +25,7 @@ import "proto/eth/v2/version.proto"; import "proto/engine/v1/execution_engine.proto"; option csharp_namespace = "Ethereum.Eth.V2"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v2;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v2;eth"; option java_multiple_files = true; option java_outer_classname = "SyncCommitteeProto"; option java_package = "org.ethereum.eth.v2"; @@ -35,7 +35,7 @@ message BeaconStateV2 { // Versioning [1001-2000] uint64 genesis_time = 1001; bytes genesis_validators_root = 1002 [(ethereum.eth.ext.ssz_size) = "32"]; - uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; v1.Fork fork = 1004; // History [2001-3000] @@ -80,7 +80,7 @@ message BeaconStateBellatrix { // Versioning [1001-2000] uint64 genesis_time = 1001; bytes genesis_validators_root = 1002 [(ethereum.eth.ext.ssz_size) = "32"]; - uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; v1.Fork fork = 1004; // History [2001-3000] @@ -155,6 +155,6 @@ message ForkChoiceHeadsResponse { message ForkChoiceHead { bytes root = 1 [(ethereum.eth.ext.ssz_size) = "32"]; - uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; bool execution_optimistic = 3; } diff --git a/proto/eth/v2/generated.ssz.go b/proto/eth/v2/generated.ssz.go index 276e46c43..68c9d0311 100644 --- a/proto/eth/v2/generated.ssz.go +++ b/proto/eth/v2/generated.ssz.go @@ -4,9 +4,9 @@ package eth import ( ssz "github.com/prysmaticlabs/fastssz" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v11 "github.com/prysmaticlabs/prysm/proto/engine/v1" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v11 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" ) // MarshalSSZ ssz marshals the SignedBeaconBlockBellatrix object diff --git a/proto/eth/v2/ssz.proto b/proto/eth/v2/ssz.proto index be78b311a..e01528588 100644 --- a/proto/eth/v2/ssz.proto +++ b/proto/eth/v2/ssz.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package ethereum.eth.v2; option csharp_namespace = "Ethereum.Eth.V2"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v2;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v2;eth"; option java_multiple_files = true; option java_outer_classname = "SszProto"; option java_package = "org.ethereum.eth.v2"; diff --git a/proto/eth/v2/sync_committee.pb.go b/proto/eth/v2/sync_committee.pb.go index b0076ae2f..c69861bee 100755 --- a/proto/eth/v2/sync_committee.pb.go +++ b/proto/eth/v2/sync_committee.pb.go @@ -10,8 +10,8 @@ import ( reflect "reflect" sync "sync" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -177,9 +177,9 @@ type SyncCommitteeMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` BeaconBlockRoot []byte `protobuf:"bytes,2,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty" ssz-size:"32"` - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } @@ -249,7 +249,7 @@ type StateSyncCommitteesRequest struct { unknownFields protoimpl.UnknownFields StateId []byte `protobuf:"bytes,1,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` - Epoch *github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,2,opt,name=epoch,proto3,oneof" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch *github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,2,opt,name=epoch,proto3,oneof" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } func (x *StateSyncCommitteesRequest) Reset() { @@ -358,7 +358,7 @@ type SyncCommitteeValidators struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Validators []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,rep,packed,name=validators,proto3" json:"validators,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Validators []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,rep,packed,name=validators,proto3" json:"validators,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ValidatorAggregates []*SyncSubcommitteeValidators `protobuf:"bytes,2,rep,name=validator_aggregates,json=validatorAggregates,proto3" json:"validator_aggregates,omitempty"` } @@ -413,7 +413,7 @@ type SyncSubcommitteeValidators struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Validators []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,rep,packed,name=validators,proto3" json:"validators,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Validators []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,rep,packed,name=validators,proto3" json:"validators,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *SyncSubcommitteeValidators) Reset() { diff --git a/proto/eth/v2/sync_committee.proto b/proto/eth/v2/sync_committee.proto index 596259a65..6d1e5ac08 100644 --- a/proto/eth/v2/sync_committee.proto +++ b/proto/eth/v2/sync_committee.proto @@ -18,7 +18,7 @@ package ethereum.eth.v2; import "proto/eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.V2"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v2;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v2;eth"; option java_multiple_files = true; option java_outer_classname = "SyncCommitteeProto"; option java_package = "org.ethereum.eth.v2"; @@ -41,13 +41,13 @@ message SubmitPoolSyncCommitteeSignatures { // Sync committee object to support light client. message SyncCommitteeMessage { // Slot to which this contribution pertains. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // 32 byte block root for this signature. bytes beacon_block_root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; // Index of the validator that produced this signature. - uint64 validator_index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // Signature by the validator over the block root of `slot`. bytes signature = 4 [(ethereum.eth.ext.ssz_size) = "96"]; @@ -59,7 +59,7 @@ message StateSyncCommitteesRequest { bytes state_id = 1; // The epoch to retrieve the committees of. - optional uint64 epoch = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + optional uint64 epoch = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; } message StateSyncCommitteesResponse { @@ -69,12 +69,12 @@ message StateSyncCommitteesResponse { message SyncCommitteeValidators { // All of the validator indices in the current sync committee. - repeated uint64 validators = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 validators = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; repeated SyncSubcommitteeValidators validator_aggregates = 2; } message SyncSubcommitteeValidators { // Subcommittee slices of the current sync committee. - repeated uint64 validators = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 validators = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } diff --git a/proto/eth/v2/validator.pb.go b/proto/eth/v2/validator.pb.go index cfcc7a6ca..0f6cb6223 100755 --- a/proto/eth/v2/validator.pb.go +++ b/proto/eth/v2/validator.pb.go @@ -11,8 +11,8 @@ import ( sync "sync" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -29,8 +29,8 @@ type SyncCommitteeDutiesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - Index []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + Index []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *SyncCommitteeDutiesRequest) Reset() { @@ -140,7 +140,7 @@ type SyncCommitteeDuty struct { unknownFields protoimpl.UnknownFields Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty" ssz-size:"48"` - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ValidatorSyncCommitteeIndices []uint64 `protobuf:"varint,3,rep,packed,name=validator_sync_committee_indices,json=validatorSyncCommitteeIndices,proto3" json:"validator_sync_committee_indices,omitempty"` } @@ -359,9 +359,9 @@ type SyncCommitteeSubscription struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` SyncCommitteeIndices []uint64 `protobuf:"varint,2,rep,packed,name=sync_committee_indices,json=syncCommitteeIndices,proto3" json:"sync_committee_indices,omitempty"` - UntilEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=until_epoch,json=untilEpoch,proto3" json:"until_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + UntilEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=until_epoch,json=untilEpoch,proto3" json:"until_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } func (x *SyncCommitteeSubscription) Reset() { @@ -422,7 +422,7 @@ type ProduceSyncCommitteeContributionRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` SubcommitteeIndex uint64 `protobuf:"varint,2,opt,name=subcommittee_index,json=subcommitteeIndex,proto3" json:"subcommittee_index,omitempty"` BeaconBlockRoot []byte `protobuf:"bytes,3,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty" ssz-size:"32"` } @@ -532,7 +532,7 @@ type SyncCommitteeContribution struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` BeaconBlockRoot []byte `protobuf:"bytes,2,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty" ssz-size:"32"` SubcommitteeIndex uint64 `protobuf:"varint,3,opt,name=subcommittee_index,json=subcommitteeIndex,proto3" json:"subcommittee_index,omitempty"` AggregationBits github_com_prysmaticlabs_go_bitfield.Bitvector128 `protobuf:"bytes,4,opt,name=aggregation_bits,json=aggregationBits,proto3" json:"aggregation_bits,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitvector128" ssz-size:"16"` @@ -658,7 +658,7 @@ type ContributionAndProof struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AggregatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3" json:"aggregator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + AggregatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3" json:"aggregator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` Contribution *SyncCommitteeContribution `protobuf:"bytes,2,opt,name=contribution,proto3" json:"contribution,omitempty"` SelectionProof []byte `protobuf:"bytes,3,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty" ssz-size:"96"` } diff --git a/proto/eth/v2/validator.proto b/proto/eth/v2/validator.proto index 7496cd92d..4f0e90f75 100644 --- a/proto/eth/v2/validator.proto +++ b/proto/eth/v2/validator.proto @@ -20,7 +20,7 @@ import "proto/eth/v2/beacon_block.proto"; import "proto/eth/v2/version.proto"; option csharp_namespace = "Ethereum.Eth.V2"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v2;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v2;eth"; option java_multiple_files = true; option java_outer_classname = "ValidatorProto"; option java_package = "org.ethereum.eth.v2"; @@ -28,10 +28,10 @@ option php_namespace = "Ethereum\\Eth\\v2"; message SyncCommitteeDutiesRequest { // Must fulfill: epoch // EPOCHS_PER_SYNC_COMMITTEE_PERIOD <= current_epoch // EPOCHS_PER_SYNC_COMMITTEE_PERIOD + 1 - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Validator indices to request duties for. - repeated uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message SyncCommitteeDutiesResponse { @@ -44,7 +44,7 @@ message SyncCommitteeDuty { bytes pubkey = 1 [(ethereum.eth.ext.ssz_size) = "48"]; // Index of validator in validator registry. - uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The indices of the validator in the sync committee. repeated uint64 validator_sync_committee_indices = 3; @@ -66,18 +66,18 @@ message SubmitSyncCommitteeSubscriptionsRequest { message SyncCommitteeSubscription { // The validator index to subscribe for. - uint64 validator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The sync committee indices to be subscribed to. repeated uint64 sync_committee_indices = 2; // The final epoch (exclusive value) that the specified validator requires the subscription for. - uint64 until_epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 until_epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; } message ProduceSyncCommitteeContributionRequest { // The slot for which a sync committee contribution should be created. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // The subcommittee index for which to produce the contribution. uint64 subcommittee_index = 2; @@ -93,7 +93,7 @@ message ProduceSyncCommitteeContributionResponse { // Aggregated sync committee object to support light client. message SyncCommitteeContribution { // Slot to which this contribution pertains. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // 32 byte block root for this signature. bytes beacon_block_root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -116,7 +116,7 @@ message SubmitContributionAndProofsRequest { // Aggregated sync committee signature object with selection proof to support light client. message ContributionAndProof { // Index of the aggregator that produced this proof. - uint64 aggregator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 aggregator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; SyncCommitteeContribution contribution = 2; diff --git a/proto/eth/v2/version.proto b/proto/eth/v2/version.proto index 45a5c9a02..7b907231a 100644 --- a/proto/eth/v2/version.proto +++ b/proto/eth/v2/version.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package ethereum.eth.v2; option csharp_namespace = "Ethereum.Eth.V2"; -option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v2;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/eth/v2;eth"; option java_multiple_files = true; option java_outer_classname = "VersionProto"; option java_package = "org.ethereum.eth.v2"; diff --git a/proto/migration/BUILD.bazel b/proto/migration/BUILD.bazel index 5d49fdad7..8bc17c643 100644 --- a/proto/migration/BUILD.bazel +++ b/proto/migration/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "v1alpha1_to_v1.go", "v1alpha1_to_v2.go", ], - importpath = "github.com/prysmaticlabs/prysm/proto/migration", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/migration", visibility = ["//visibility:public"], deps = [ "//beacon-chain/state:go_default_library", diff --git a/proto/migration/enums.go b/proto/migration/enums.go index 5509cee45..fe3700333 100644 --- a/proto/migration/enums.go +++ b/proto/migration/enums.go @@ -2,8 +2,8 @@ package migration import ( "github.com/pkg/errors" - ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func V1Alpha1ConnectionStateToV1(connState eth.ConnectionState) ethpb.ConnectionState { diff --git a/proto/migration/enums_test.go b/proto/migration/enums_test.go index 59015d95d..bbbbb60b6 100644 --- a/proto/migration/enums_test.go +++ b/proto/migration/enums_test.go @@ -3,8 +3,8 @@ package migration import ( "testing" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestV1Alpha1ConnectionStateToV1(t *testing.T) { diff --git a/proto/migration/v1alpha1_to_v1.go b/proto/migration/v1alpha1_to_v1.go index 427eb871f..f69d5ec10 100644 --- a/proto/migration/v1alpha1_to_v1.go +++ b/proto/migration/v1alpha1_to_v1.go @@ -2,11 +2,11 @@ package migration import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpbalpha "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpbalpha "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/proto/migration/v1alpha1_to_v1_test.go b/proto/migration/v1alpha1_to_v1_test.go index eaa02e508..a0b025406 100644 --- a/proto/migration/v1alpha1_to_v1_test.go +++ b/proto/migration/v1alpha1_to_v1_test.go @@ -4,15 +4,15 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpbalpha "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpbalpha "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) var ( diff --git a/proto/migration/v1alpha1_to_v2.go b/proto/migration/v1alpha1_to_v2.go index e024cc5a7..0a9964887 100644 --- a/proto/migration/v1alpha1_to_v2.go +++ b/proto/migration/v1alpha1_to_v2.go @@ -2,13 +2,13 @@ package migration import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/encoding/ssz" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - ethpbalpha "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + ethpbalpha "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/protobuf/proto" ) diff --git a/proto/migration/v1alpha1_to_v2_test.go b/proto/migration/v1alpha1_to_v2_test.go index ce0cdcb1f..8a2865bf5 100644 --- a/proto/migration/v1alpha1_to_v2_test.go +++ b/proto/migration/v1alpha1_to_v2_test.go @@ -4,15 +4,15 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - ethpbalpha "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + ethpbalpha "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestV1Alpha1SignedContributionAndProofToV2(t *testing.T) { diff --git a/proto/prysm/storage/BUILD.bazel b/proto/prysm/storage/BUILD.bazel index 188268cd2..abb0fb1d1 100644 --- a/proto/prysm/storage/BUILD.bazel +++ b/proto/prysm/storage/BUILD.bazel @@ -17,7 +17,7 @@ proto_library( go_proto_library( name = "go_proto", - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/storage", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/storage", proto = ":proto", visibility = ["//visibility:public"], deps = [ @@ -28,6 +28,6 @@ go_proto_library( go_library( name = "go_default_library", embed = [":go_proto"], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/storage", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/storage", visibility = ["//visibility:public"], ) diff --git a/proto/prysm/v1alpha1/BUILD.bazel b/proto/prysm/v1alpha1/BUILD.bazel index d1e63d867..74c6602c2 100644 --- a/proto/prysm/v1alpha1/BUILD.bazel +++ b/proto/prysm/v1alpha1/BUILD.bazel @@ -121,7 +121,7 @@ go_proto_library( compilers = [ "@com_github_prysmaticlabs_protoc_gen_go_cast//:go_cast_grpc", ], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1", proto = ":proto", visibility = ["//visibility:public"], deps = [ @@ -147,7 +147,7 @@ go_proto_library( "@com_github_grpc_ecosystem_grpc_gateway_v2//protoc-gen-grpc-gateway:go_gen_grpc_gateway", ], embed = [":go_proto"], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1", protos = [":proto"], visibility = ["//visibility:private"], deps = [ @@ -173,7 +173,7 @@ go_library( embed = [ ":go_grpc_gateway_library", ], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1", visibility = ["//visibility:public"], deps = SSZ_DEPS + [ "//proto/eth/ext:go_default_library", diff --git a/proto/prysm/v1alpha1/attestation.pb.go b/proto/prysm/v1alpha1/attestation.pb.go index 973d99ddf..54a1b9de6 100755 --- a/proto/prysm/v1alpha1/attestation.pb.go +++ b/proto/prysm/v1alpha1/attestation.pb.go @@ -11,8 +11,8 @@ import ( sync "sync" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -92,7 +92,7 @@ type AggregateAttestationAndProof struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AggregatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3" json:"aggregator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + AggregatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3" json:"aggregator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` Aggregate *Attestation `protobuf:"bytes,3,opt,name=aggregate,proto3" json:"aggregate,omitempty"` SelectionProof []byte `protobuf:"bytes,2,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty" ssz-size:"96"` } @@ -210,8 +210,8 @@ type AttestationData struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` BeaconBlockRoot []byte `protobuf:"bytes,3,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty" ssz-size:"32"` Source *Checkpoint `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` Target *Checkpoint `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` @@ -289,7 +289,7 @@ type Checkpoint struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` Root []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` } diff --git a/proto/prysm/v1alpha1/attestation.proto b/proto/prysm/v1alpha1/attestation.proto index 5b4461189..1e35c4948 100644 --- a/proto/prysm/v1alpha1/attestation.proto +++ b/proto/prysm/v1alpha1/attestation.proto @@ -18,7 +18,7 @@ package ethereum.eth.v1alpha1; import "proto/eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.v1alpha1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "AttestationProto"; option java_package = "org.ethereum.eth.v1alpha1"; @@ -37,7 +37,7 @@ message Attestation { message AggregateAttestationAndProof { // The aggregator index that submitted this aggregated attestation and proof. - uint64 aggregator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 aggregator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The aggregated attestation that was submitted. Attestation aggregate = 3; @@ -59,10 +59,10 @@ message AttestationData { // See: https://arxiv.org/pdf/1710.09437.pdf // Slot of the attestation attesting for. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // The committee index that submitted this attestation. - uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; // 32 byte root of the LMD GHOST block vote. bytes beacon_block_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -79,7 +79,7 @@ message Checkpoint { // is to link the check points together for justification and finalization. // Epoch the checkpoint references. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Block root of the checkpoint references. bytes root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; diff --git a/proto/prysm/v1alpha1/attestation/BUILD.bazel b/proto/prysm/v1alpha1/attestation/BUILD.bazel index 4397f607c..828f98247 100644 --- a/proto/prysm/v1alpha1/attestation/BUILD.bazel +++ b/proto/prysm/v1alpha1/attestation/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["attestation_utils.go"], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/signing:go_default_library", diff --git a/proto/prysm/v1alpha1/attestation/aggregation/BUILD.bazel b/proto/prysm/v1alpha1/attestation/aggregation/BUILD.bazel index 2075e2216..e76174047 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/BUILD.bazel +++ b/proto/prysm/v1alpha1/attestation/aggregation/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "aggregation.go", "maxcover.go", ], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation", visibility = ["//visibility:public"], deps = [ "@com_github_pkg_errors//:go_default_library", diff --git a/proto/prysm/v1alpha1/attestation/aggregation/attestations/BUILD.bazel b/proto/prysm/v1alpha1/attestation/aggregation/attestations/BUILD.bazel index c581cf30f..6e6fbfce9 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/attestations/BUILD.bazel +++ b/proto/prysm/v1alpha1/attestation/aggregation/attestations/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "attestations.go", "maxcover.go", ], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/attestations", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/attestations", visibility = ["//visibility:public"], deps = [ "//crypto/bls:go_default_library", diff --git a/proto/prysm/v1alpha1/attestation/aggregation/attestations/attestations.go b/proto/prysm/v1alpha1/attestation/aggregation/attestations/attestations.go index 56378a7e0..ebfae92a5 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/attestations/attestations.go +++ b/proto/prysm/v1alpha1/attestation/aggregation/attestations/attestations.go @@ -2,9 +2,9 @@ package attestations import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation" "github.com/sirupsen/logrus" ) diff --git a/proto/prysm/v1alpha1/attestation/aggregation/attestations/attestations_test.go b/proto/prysm/v1alpha1/attestation/aggregation/attestations/attestations_test.go index 77841e71a..bf41b973b 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/attestations/attestations_test.go +++ b/proto/prysm/v1alpha1/attestation/aggregation/attestations/attestations_test.go @@ -7,13 +7,13 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/ssz/equality" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation" - aggtesting "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz/equality" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation" + aggtesting "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/testing" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/sirupsen/logrus" ) diff --git a/proto/prysm/v1alpha1/attestation/aggregation/attestations/maxcover.go b/proto/prysm/v1alpha1/attestation/aggregation/attestations/maxcover.go index 4d25f8c02..f22ac88b2 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/attestations/maxcover.go +++ b/proto/prysm/v1alpha1/attestation/aggregation/attestations/maxcover.go @@ -5,9 +5,9 @@ import ( "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation" ) // MaxCoverAttestationAggregation relies on Maximum Coverage greedy algorithm for aggregation. diff --git a/proto/prysm/v1alpha1/attestation/aggregation/attestations/maxcover_test.go b/proto/prysm/v1alpha1/attestation/aggregation/attestations/maxcover_test.go index a3add6de5..0bba239da 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/attestations/maxcover_test.go +++ b/proto/prysm/v1alpha1/attestation/aggregation/attestations/maxcover_test.go @@ -4,10 +4,10 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestAggregateAttestations_MaxCover_NewMaxCover(t *testing.T) { diff --git a/proto/prysm/v1alpha1/attestation/aggregation/maxcover_bench_test.go b/proto/prysm/v1alpha1/attestation/aggregation/maxcover_bench_test.go index e7d33e6c2..55f0a69e4 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/maxcover_bench_test.go +++ b/proto/prysm/v1alpha1/attestation/aggregation/maxcover_bench_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/config/params" - aggtesting "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/testing" + "github.com/prysmaticlabs/prysm/v3/config/params" + aggtesting "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/testing" ) func BenchmarkMaxCoverProblem_MaxCover(b *testing.B) { diff --git a/proto/prysm/v1alpha1/attestation/aggregation/maxcover_test.go b/proto/prysm/v1alpha1/attestation/aggregation/maxcover_test.go index da1ce4149..1418d5d84 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/maxcover_test.go +++ b/proto/prysm/v1alpha1/attestation/aggregation/maxcover_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - aggtesting "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/testing" - "github.com/prysmaticlabs/prysm/testing/assert" + aggtesting "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/testing" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestMaxCover_MaxCoverCandidates_filter(t *testing.T) { diff --git a/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/BUILD.bazel b/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/BUILD.bazel index c7431c86e..ae6d6a8de 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/BUILD.bazel +++ b/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "contribution.go", "naive.go", ], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution", visibility = ["//visibility:public"], deps = [ "//crypto/bls:go_default_library", diff --git a/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/contribution.go b/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/contribution.go index ae661ad96..1e83465fd 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/contribution.go +++ b/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/contribution.go @@ -2,8 +2,8 @@ package sync_contribution import ( "github.com/pkg/errors" - v2 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation" + v2 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation" "github.com/sirupsen/logrus" ) diff --git a/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/naive.go b/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/naive.go index 4e8dc3152..cabb5a46c 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/naive.go +++ b/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/naive.go @@ -1,9 +1,9 @@ package sync_contribution import ( - "github.com/prysmaticlabs/prysm/crypto/bls" - v2 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + v2 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation" ) // naiveSyncContributionAggregation aggregates naively, without any complex algorithms or optimizations. diff --git a/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/naive_test.go b/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/naive_test.go index 66f0869a6..f04ce0052 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/naive_test.go +++ b/proto/prysm/v1alpha1/attestation/aggregation/sync_contribution/naive_test.go @@ -6,12 +6,12 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation" - aggtesting "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation" + aggtesting "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/testing" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestAggregateAttestations_aggregate(t *testing.T) { diff --git a/proto/prysm/v1alpha1/attestation/aggregation/testing/BUILD.bazel b/proto/prysm/v1alpha1/attestation/aggregation/testing/BUILD.bazel index 7137c4a81..39a57654b 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/testing/BUILD.bazel +++ b/proto/prysm/v1alpha1/attestation/aggregation/testing/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["bitlistutils.go"], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation/aggregation/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation/aggregation/testing", visibility = ["//visibility:public"], deps = [ "//consensus-types/primitives:go_default_library", diff --git a/proto/prysm/v1alpha1/attestation/aggregation/testing/bitlistutils.go b/proto/prysm/v1alpha1/attestation/aggregation/testing/bitlistutils.go index 06df23f8b..a50effa7a 100644 --- a/proto/prysm/v1alpha1/attestation/aggregation/testing/bitlistutils.go +++ b/proto/prysm/v1alpha1/attestation/aggregation/testing/bitlistutils.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time" ) // BitlistWithAllBitsSet creates list of bitlists with all bits set. diff --git a/proto/prysm/v1alpha1/attestation/attestation_utils.go b/proto/prysm/v1alpha1/attestation/attestation_utils.go index addaa33c4..21e8de7bc 100644 --- a/proto/prysm/v1alpha1/attestation/attestation_utils.go +++ b/proto/prysm/v1alpha1/attestation/attestation_utils.go @@ -10,11 +10,11 @@ import ( "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/proto/prysm/v1alpha1/attestation/attestation_utils_test.go b/proto/prysm/v1alpha1/attestation/attestation_utils_test.go index 5cc988580..3882c6de2 100644 --- a/proto/prysm/v1alpha1/attestation/attestation_utils_test.go +++ b/proto/prysm/v1alpha1/attestation/attestation_utils_test.go @@ -5,13 +5,13 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/attestation" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/attestation" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestAttestingIndices(t *testing.T) { diff --git a/proto/prysm/v1alpha1/beacon_block.pb.go b/proto/prysm/v1alpha1/beacon_block.pb.go index a9fca106a..2a50e1012 100755 --- a/proto/prysm/v1alpha1/beacon_block.pb.go +++ b/proto/prysm/v1alpha1/beacon_block.pb.go @@ -11,9 +11,9 @@ import ( sync "sync" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -302,8 +302,8 @@ type BeaconBlock struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` Body *BeaconBlockBody `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` @@ -436,8 +436,8 @@ type BeaconBlockAltair struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` Body *BeaconBlockBodyAltair `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` @@ -949,8 +949,8 @@ type VoluntaryExit struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *VoluntaryExit) Reset() { @@ -1122,8 +1122,8 @@ type BeaconBlockHeader struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` BodyRoot []byte `protobuf:"bytes,5,opt,name=body_root,json=bodyRoot,proto3" json:"body_root,omitempty" ssz-size:"32"` @@ -1429,8 +1429,8 @@ type BeaconBlockBellatrix struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` Body *BeaconBlockBodyBellatrix `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` @@ -1682,8 +1682,8 @@ type BlindedBeaconBlockBellatrix struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` Body *BlindedBeaconBlockBodyBellatrix `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` @@ -1935,8 +1935,8 @@ type BeaconBlockCapella struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` Body *BeaconBlockBodyCapella `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` @@ -2196,8 +2196,8 @@ type BlindedBeaconBlockCapella struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` Body *BlindedBeaconBlockBodyCapella `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` diff --git a/proto/prysm/v1alpha1/beacon_block.proto b/proto/prysm/v1alpha1/beacon_block.proto index 75baa88e5..32ea2254d 100644 --- a/proto/prysm/v1alpha1/beacon_block.proto +++ b/proto/prysm/v1alpha1/beacon_block.proto @@ -21,7 +21,7 @@ import "proto/prysm/v1alpha1/withdrawals.proto"; import "proto/engine/v1/execution_engine.proto"; option csharp_namespace = "Ethereum.Eth.v1alpha1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "BeaconBlockProto"; option java_package = "org.ethereum.eth.v1alpha1"; @@ -74,10 +74,10 @@ message GenericBeaconBlock { // The Ethereum consensus beacon block. The message does not contain a validator signature. message BeaconBlock { // Beacon chain slot that this block represents. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 32 byte root of the parent block. bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -101,10 +101,10 @@ message SignedBeaconBlock { // The unsigned version of a (HF1) beacon block. The message does not contain a validator signature. message BeaconBlockAltair { // Beacon chain slot that this block represents. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 32 byte root of the parent block. bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -239,10 +239,10 @@ message Deposit { // validator signature. message VoluntaryExit { // The epoch on when exit request becomes valid. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Index of the exiting validator. - uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } // The signed version of voluntary exit. @@ -275,10 +275,10 @@ message Eth1Data { // a validator signature. message BeaconBlockHeader { // Beacon chain slot that this block represents. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 32 byte merkle tree root of the parent ssz encoded block. bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -327,10 +327,10 @@ message SignedBeaconBlockBellatrix { message BeaconBlockBellatrix { // Beacon chain slot that this block represents. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 32 byte root of the parent block. bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -388,10 +388,10 @@ message SignedBlindedBeaconBlockBellatrix { message BlindedBeaconBlockBellatrix { // Beacon chain slot that this blinded block represents. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 32 byte root of the parent block. bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -446,10 +446,10 @@ message SignedBeaconBlockCapella { message BeaconBlockCapella { // Beacon chain slot that this block represents. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 32 byte root of the parent block. bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -510,10 +510,10 @@ message SignedBlindedBeaconBlockCapella { message BlindedBeaconBlockCapella { // Beacon chain slot that this blinded block represents. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator index of the validator that proposed the block header. - uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 32 byte root of the parent block. bytes parent_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; diff --git a/proto/prysm/v1alpha1/beacon_chain.pb.go b/proto/prysm/v1alpha1/beacon_chain.pb.go index 803373832..e107b014a 100755 --- a/proto/prysm/v1alpha1/beacon_chain.pb.go +++ b/proto/prysm/v1alpha1/beacon_chain.pb.go @@ -12,8 +12,8 @@ import ( sync "sync" empty "github.com/golang/protobuf/ptypes/empty" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -218,7 +218,7 @@ type isListIndexedAttestationsRequest_QueryFilter interface { } type ListIndexedAttestationsRequest_Epoch struct { - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } type ListIndexedAttestationsRequest_GenesisEpoch struct { @@ -314,7 +314,7 @@ type isListAttestationsRequest_QueryFilter interface { } type ListAttestationsRequest_Epoch struct { - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } type ListAttestationsRequest_GenesisEpoch struct { @@ -556,11 +556,11 @@ type ListBlocksRequest_Root struct { } type ListBlocksRequest_Slot struct { - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } type ListBlocksRequest_Epoch struct { - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } type ListBlocksRequest_Genesis struct { @@ -830,17 +830,17 @@ type ChainHead struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - HeadSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=head_slot,json=headSlot,proto3" json:"head_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - HeadEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,2,opt,name=head_epoch,json=headEpoch,proto3" json:"head_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + HeadSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=head_slot,json=headSlot,proto3" json:"head_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + HeadEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,2,opt,name=head_epoch,json=headEpoch,proto3" json:"head_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` HeadBlockRoot []byte `protobuf:"bytes,3,opt,name=head_block_root,json=headBlockRoot,proto3" json:"head_block_root,omitempty" ssz-size:"32"` - FinalizedSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,4,opt,name=finalized_slot,json=finalizedSlot,proto3" json:"finalized_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - FinalizedEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,5,opt,name=finalized_epoch,json=finalizedEpoch,proto3" json:"finalized_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + FinalizedSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,4,opt,name=finalized_slot,json=finalizedSlot,proto3" json:"finalized_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + FinalizedEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,5,opt,name=finalized_epoch,json=finalizedEpoch,proto3" json:"finalized_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` FinalizedBlockRoot []byte `protobuf:"bytes,6,opt,name=finalized_block_root,json=finalizedBlockRoot,proto3" json:"finalized_block_root,omitempty" ssz-size:"32"` - JustifiedSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,7,opt,name=justified_slot,json=justifiedSlot,proto3" json:"justified_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - JustifiedEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,8,opt,name=justified_epoch,json=justifiedEpoch,proto3" json:"justified_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + JustifiedSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,7,opt,name=justified_slot,json=justifiedSlot,proto3" json:"justified_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + JustifiedEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,8,opt,name=justified_epoch,json=justifiedEpoch,proto3" json:"justified_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` JustifiedBlockRoot []byte `protobuf:"bytes,9,opt,name=justified_block_root,json=justifiedBlockRoot,proto3" json:"justified_block_root,omitempty" ssz-size:"32"` - PreviousJustifiedSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,10,opt,name=previous_justified_slot,json=previousJustifiedSlot,proto3" json:"previous_justified_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - PreviousJustifiedEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,11,opt,name=previous_justified_epoch,json=previousJustifiedEpoch,proto3" json:"previous_justified_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + PreviousJustifiedSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,10,opt,name=previous_justified_slot,json=previousJustifiedSlot,proto3" json:"previous_justified_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + PreviousJustifiedEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,11,opt,name=previous_justified_epoch,json=previousJustifiedEpoch,proto3" json:"previous_justified_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` PreviousJustifiedBlockRoot []byte `protobuf:"bytes,12,opt,name=previous_justified_block_root,json=previousJustifiedBlockRoot,proto3" json:"previous_justified_block_root,omitempty" ssz-size:"32"` OptimisticStatus bool `protobuf:"varint,13,opt,name=optimistic_status,json=optimisticStatus,proto3" json:"optimistic_status,omitempty"` } @@ -1037,7 +1037,7 @@ type isListCommitteesRequest_QueryFilter interface { } type ListCommitteesRequest_Epoch struct { - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } type ListCommitteesRequest_Genesis struct { @@ -1053,7 +1053,7 @@ type BeaconCommittees struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` Committees map[uint64]*BeaconCommittees_CommitteesList `protobuf:"bytes,2,rep,name=committees,proto3" json:"committees,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` ActiveValidatorCount uint64 `protobuf:"varint,3,opt,name=active_validator_count,json=activeValidatorCount,proto3" json:"active_validator_count,omitempty"` } @@ -1121,7 +1121,7 @@ type ListValidatorBalancesRequest struct { // *ListValidatorBalancesRequest_Genesis QueryFilter isListValidatorBalancesRequest_QueryFilter `protobuf_oneof:"query_filter"` PublicKeys [][]byte `protobuf:"bytes,3,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` - Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,4,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,4,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } @@ -1212,7 +1212,7 @@ type isListValidatorBalancesRequest_QueryFilter interface { } type ListValidatorBalancesRequest_Epoch struct { - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } type ListValidatorBalancesRequest_Genesis struct { @@ -1228,7 +1228,7 @@ type ValidatorBalances struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` Balances []*ValidatorBalances_Balance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances,omitempty"` NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` @@ -1307,7 +1307,7 @@ type ListValidatorsRequest struct { PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PublicKeys [][]byte `protobuf:"bytes,6,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,7,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,7,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *ListValidatorsRequest) Reset() { @@ -1403,7 +1403,7 @@ type isListValidatorsRequest_QueryFilter interface { } type ListValidatorsRequest_Epoch struct { - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } type ListValidatorsRequest_Genesis struct { @@ -1483,7 +1483,7 @@ type isGetValidatorRequest_QueryFilter interface { } type GetValidatorRequest_Index struct { - Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } type GetValidatorRequest_PublicKey struct { @@ -1499,7 +1499,7 @@ type Validators struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` ValidatorList []*Validators_ValidatorContainer `protobuf:"bytes,2,rep,name=validator_list,json=validatorList,proto3" json:"validator_list,omitempty"` NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` @@ -1634,7 +1634,7 @@ type isGetValidatorActiveSetChangesRequest_QueryFilter interface { } type GetValidatorActiveSetChangesRequest_Epoch struct { - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } type GetValidatorActiveSetChangesRequest_Genesis struct { @@ -1652,15 +1652,15 @@ type ActiveSetChanges struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` ActivatedPublicKeys [][]byte `protobuf:"bytes,2,rep,name=activated_public_keys,json=activatedPublicKeys,proto3" json:"activated_public_keys,omitempty" ssz-size:"?,48"` - ActivatedIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,rep,packed,name=activated_indices,json=activatedIndices,proto3" json:"activated_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ActivatedIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,rep,packed,name=activated_indices,json=activatedIndices,proto3" json:"activated_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` ExitedPublicKeys [][]byte `protobuf:"bytes,4,rep,name=exited_public_keys,json=exitedPublicKeys,proto3" json:"exited_public_keys,omitempty" ssz-size:"?,48"` - ExitedIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,5,rep,packed,name=exited_indices,json=exitedIndices,proto3" json:"exited_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ExitedIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,5,rep,packed,name=exited_indices,json=exitedIndices,proto3" json:"exited_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` SlashedPublicKeys [][]byte `protobuf:"bytes,6,rep,name=slashed_public_keys,json=slashedPublicKeys,proto3" json:"slashed_public_keys,omitempty" ssz-size:"?,48"` - SlashedIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,7,rep,packed,name=slashed_indices,json=slashedIndices,proto3" json:"slashed_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + SlashedIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,7,rep,packed,name=slashed_indices,json=slashedIndices,proto3" json:"slashed_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` EjectedPublicKeys [][]byte `protobuf:"bytes,8,rep,name=ejected_public_keys,json=ejectedPublicKeys,proto3" json:"ejected_public_keys,omitempty" ssz-size:"?,48"` - EjectedIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,9,rep,packed,name=ejected_indices,json=ejectedIndices,proto3" json:"ejected_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + EjectedIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,9,rep,packed,name=ejected_indices,json=ejectedIndices,proto3" json:"ejected_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *ActiveSetChanges) Reset() { @@ -1765,7 +1765,7 @@ type ValidatorPerformanceRequest struct { // Deprecated: Do not use. PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *ValidatorPerformanceRequest) Reset() { @@ -1822,9 +1822,9 @@ type ValidatorPerformanceResponse struct { CurrentEffectiveBalances []uint64 `protobuf:"varint,1,rep,packed,name=current_effective_balances,json=currentEffectiveBalances,proto3" json:"current_effective_balances,omitempty"` // Deprecated: Do not use. - InclusionSlots []github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,rep,packed,name=inclusion_slots,json=inclusionSlots,proto3" json:"inclusion_slots,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + InclusionSlots []github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,rep,packed,name=inclusion_slots,json=inclusionSlots,proto3" json:"inclusion_slots,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` // Deprecated: Do not use. - InclusionDistances []github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,rep,packed,name=inclusion_distances,json=inclusionDistances,proto3" json:"inclusion_distances,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + InclusionDistances []github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,rep,packed,name=inclusion_distances,json=inclusionDistances,proto3" json:"inclusion_distances,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` CorrectlyVotedSource []bool `protobuf:"varint,4,rep,packed,name=correctly_voted_source,json=correctlyVotedSource,proto3" json:"correctly_voted_source,omitempty"` CorrectlyVotedTarget []bool `protobuf:"varint,5,rep,packed,name=correctly_voted_target,json=correctlyVotedTarget,proto3" json:"correctly_voted_target,omitempty"` CorrectlyVotedHead []bool `protobuf:"varint,6,rep,packed,name=correctly_voted_head,json=correctlyVotedHead,proto3" json:"correctly_voted_head,omitempty"` @@ -1964,8 +1964,8 @@ type ValidatorQueue struct { ActivationPublicKeys [][]byte `protobuf:"bytes,2,rep,name=activation_public_keys,json=activationPublicKeys,proto3" json:"activation_public_keys,omitempty" ssz-size:"?,48"` // Deprecated: Do not use. ExitPublicKeys [][]byte `protobuf:"bytes,3,rep,name=exit_public_keys,json=exitPublicKeys,proto3" json:"exit_public_keys,omitempty" ssz-size:"?,48"` - ActivationValidatorIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,4,rep,packed,name=activation_validator_indices,json=activationValidatorIndices,proto3" json:"activation_validator_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` - ExitValidatorIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,5,rep,packed,name=exit_validator_indices,json=exitValidatorIndices,proto3" json:"exit_validator_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ActivationValidatorIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,4,rep,packed,name=activation_validator_indices,json=activationValidatorIndices,proto3" json:"activation_validator_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` + ExitValidatorIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,5,rep,packed,name=exit_validator_indices,json=exitValidatorIndices,proto3" json:"exit_validator_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *ValidatorQueue) Reset() { @@ -2047,7 +2047,7 @@ type ListValidatorAssignmentsRequest struct { // *ListValidatorAssignmentsRequest_Genesis QueryFilter isListValidatorAssignmentsRequest_QueryFilter `protobuf_oneof:"query_filter"` PublicKeys [][]byte `protobuf:"bytes,3,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` - Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,4,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,4,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } @@ -2138,7 +2138,7 @@ type isListValidatorAssignmentsRequest_QueryFilter interface { } type ListValidatorAssignmentsRequest_Epoch struct { - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } type ListValidatorAssignmentsRequest_Genesis struct { @@ -2154,7 +2154,7 @@ type ValidatorAssignments struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` Assignments []*ValidatorAssignments_CommitteeAssignment `protobuf:"bytes,2,rep,name=assignments,proto3" json:"assignments,omitempty"` NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` @@ -2289,7 +2289,7 @@ type isGetValidatorParticipationRequest_QueryFilter interface { } type GetValidatorParticipationRequest_Epoch struct { - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } type GetValidatorParticipationRequest_Genesis struct { @@ -2305,7 +2305,7 @@ type ValidatorParticipationResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` Finalized bool `protobuf:"varint,2,opt,name=finalized,proto3" json:"finalized,omitempty"` Participation *ValidatorParticipation `protobuf:"bytes,3,opt,name=participation,proto3" json:"participation,omitempty"` } @@ -2533,7 +2533,7 @@ type SubmitSlashingResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SlashedIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,rep,packed,name=slashed_indices,json=slashedIndices,proto3" json:"slashed_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + SlashedIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,rep,packed,name=slashed_indices,json=slashedIndices,proto3" json:"slashed_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *SubmitSlashingResponse) Reset() { @@ -2580,9 +2580,9 @@ type IndividualVotesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *IndividualVotesRequest) Reset() { @@ -2690,7 +2690,7 @@ type BeaconCommittees_CommitteeItem struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ValidatorIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,rep,packed,name=validator_indices,json=validatorIndices,proto3" json:"validator_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ValidatorIndices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,rep,packed,name=validator_indices,json=validatorIndices,proto3" json:"validator_indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *BeaconCommittees_CommitteeItem) Reset() { @@ -2785,7 +2785,7 @@ type ValidatorBalances_Balance struct { unknownFields protoimpl.UnknownFields PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48"` - Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` Balance uint64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` } @@ -2855,7 +2855,7 @@ type Validators_ValidatorContainer struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` Validator *Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"` } @@ -2910,13 +2910,13 @@ type ValidatorAssignments_CommitteeAssignment struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - BeaconCommittees []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,rep,packed,name=beacon_committees,json=beaconCommittees,proto3" json:"beacon_committees,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` - CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` - AttesterSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,opt,name=attester_slot,json=attesterSlot,proto3" json:"attester_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerSlots []github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,4,rep,packed,name=proposer_slots,json=proposerSlots,proto3" json:"proposer_slots,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + BeaconCommittees []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,rep,packed,name=beacon_committees,json=beaconCommittees,proto3" json:"beacon_committees,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` + CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` + AttesterSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,opt,name=attester_slot,json=attesterSlot,proto3" json:"attester_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerSlots []github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,4,rep,packed,name=proposer_slots,json=proposerSlots,proto3" json:"proposer_slots,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` // Deprecated: Do not use. PublicKey []byte `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48"` - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,6,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,6,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *ValidatorAssignments_CommitteeAssignment) Reset() { @@ -2999,9 +2999,9 @@ type IndividualVotesRespond_IndividualVote struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` IsSlashed bool `protobuf:"varint,4,opt,name=is_slashed,json=isSlashed,proto3" json:"is_slashed,omitempty"` IsWithdrawableInCurrentEpoch bool `protobuf:"varint,5,opt,name=is_withdrawable_in_current_epoch,json=isWithdrawableInCurrentEpoch,proto3" json:"is_withdrawable_in_current_epoch,omitempty"` IsActiveInCurrentEpoch bool `protobuf:"varint,6,opt,name=is_active_in_current_epoch,json=isActiveInCurrentEpoch,proto3" json:"is_active_in_current_epoch,omitempty"` @@ -3013,9 +3013,9 @@ type IndividualVotesRespond_IndividualVote struct { IsPreviousEpochHeadAttester bool `protobuf:"varint,12,opt,name=is_previous_epoch_head_attester,json=isPreviousEpochHeadAttester,proto3" json:"is_previous_epoch_head_attester,omitempty"` CurrentEpochEffectiveBalanceGwei uint64 `protobuf:"varint,13,opt,name=current_epoch_effective_balance_gwei,json=currentEpochEffectiveBalanceGwei,proto3" json:"current_epoch_effective_balance_gwei,omitempty"` // Deprecated: Do not use. - InclusionSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,14,opt,name=inclusion_slot,json=inclusionSlot,proto3" json:"inclusion_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + InclusionSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,14,opt,name=inclusion_slot,json=inclusionSlot,proto3" json:"inclusion_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` // Deprecated: Do not use. - InclusionDistance github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,15,opt,name=inclusion_distance,json=inclusionDistance,proto3" json:"inclusion_distance,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + InclusionDistance github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,15,opt,name=inclusion_distance,json=inclusionDistance,proto3" json:"inclusion_distance,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` InactivityScore uint64 `protobuf:"varint,16,opt,name=inactivity_score,json=inactivityScore,proto3" json:"inactivity_score,omitempty"` } diff --git a/proto/prysm/v1alpha1/beacon_chain.pb.gw.go b/proto/prysm/v1alpha1/beacon_chain.pb.gw.go index 830172a01..327ff9cc5 100755 --- a/proto/prysm/v1alpha1/beacon_chain.pb.gw.go +++ b/proto/prysm/v1alpha1/beacon_chain.pb.gw.go @@ -17,7 +17,7 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/prysm/v1alpha1/beacon_chain.proto b/proto/prysm/v1alpha1/beacon_chain.proto index ae08238bf..efc2aaa08 100644 --- a/proto/prysm/v1alpha1/beacon_chain.proto +++ b/proto/prysm/v1alpha1/beacon_chain.proto @@ -24,7 +24,7 @@ import "proto/prysm/v1alpha1/beacon_block.proto"; import "proto/prysm/v1alpha1/validator.proto"; option csharp_namespace = "Ethereum.Eth.v1alpha1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "BeaconChainProto"; option java_package = "org.ethereum.eth.v1alpha1"; @@ -299,7 +299,7 @@ message ValidatorChangeSet { message ListIndexedAttestationsRequest { oneof query_filter { // Retrieve attestations by epoch processed. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Optional criteria to retrieve genesis epoch attestations. bool genesis_epoch = 2; @@ -321,7 +321,7 @@ message ListAttestationsRequest { oneof query_filter { // Filter attestations by epoch processed. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Optional criteria to retrieve attestations from 0 epoch. bool genesis_epoch = 2; @@ -369,11 +369,11 @@ message ListBlocksRequest { // Slot to lookup a block. If the slot is not yet finalized, this // criteria may yield multiple valid blocks if the node has seen blocks // from another fork. - uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // The epoch number for which to retrieve blocks. If specified, this // will return all blocks found within the span of the specified epoch. - uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Optional criteria to retrieve genesis block. bool genesis = 4; @@ -443,37 +443,37 @@ message BeaconBlockContainer { // Information about the head of the beacon chain. message ChainHead { // Slot of the head block. - uint64 head_slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 head_slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Epoch of the head block. - uint64 head_epoch = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 head_epoch = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // 32 byte merkle tree root of the canonical head block in the beacon node. bytes head_block_root = 3 [(ethereum.eth.ext.ssz_size) = "32"]; // Most recent slot that contains the finalized block. - uint64 finalized_slot = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 finalized_slot = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Epoch of the finalized block. - uint64 finalized_epoch = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 finalized_epoch = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Most recent 32 byte finalized block root. bytes finalized_block_root = 6 [(ethereum.eth.ext.ssz_size) = "32"]; // Most recent slot that contains the justified block. - uint64 justified_slot = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 justified_slot = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Epoch of the justified block. - uint64 justified_epoch = 8 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 justified_epoch = 8 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Most recent 32 byte justified block root. bytes justified_block_root = 9 [(ethereum.eth.ext.ssz_size) = "32"]; // Most recent slot that contains the previous justified block. - uint64 previous_justified_slot = 10 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 previous_justified_slot = 10 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Epoch of the previous justified block. - uint64 previous_justified_epoch = 11 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 previous_justified_epoch = 11 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Previous 32 byte justified block root. bytes previous_justified_block_root = 12 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -485,7 +485,7 @@ message ChainHead { message ListCommitteesRequest { oneof query_filter { // Optional criteria to retrieve data at a specific epoch. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Optional criteria to retrieve genesis data. bool genesis = 2; @@ -495,7 +495,7 @@ message ListCommitteesRequest { message BeaconCommittees { message CommitteeItem { // A committee is a list of validator indices participating in consensus at a slot. - repeated uint64 validator_indices = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 validator_indices = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message CommitteesList { @@ -504,7 +504,7 @@ message BeaconCommittees { } // The epoch for which the committees in the response belong to. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // A map of validator committees by slot. map committees = 2; @@ -516,7 +516,7 @@ message BeaconCommittees { message ListValidatorBalancesRequest { oneof query_filter { // Optional criteria to retrieve balances at a specific epoch. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Optional criteria to retrieve the genesis list of balances. bool genesis = 2; @@ -526,7 +526,7 @@ message ListValidatorBalancesRequest { // epoch. repeated bytes public_keys = 3 [(ethereum.eth.ext.ssz_size) = "?,48"]; // Validator indices to filter validators for the given epoch. - repeated uint64 indices = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 indices = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The maximum number of Validators to return in the response. // This field is optional. @@ -540,14 +540,14 @@ message ListValidatorBalancesRequest { message ValidatorBalances { // Epoch which the state was considered to determine the validator balances. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; message Balance { // Validator's 48 byte BLS public key. bytes public_key = 1 [(ethereum.eth.ext.ssz_size) = "48"]; // Validator's index in the validator set. - uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // Validator's balance in gwei. uint64 balance = 3; @@ -571,7 +571,7 @@ message ListValidatorsRequest { // Optional criteria to retrieve validators at a specific epoch. // Omitting this field or setting it to zero will retrieve a response // with the current active validator set. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Optional criteria to retrieve the genesis set of validators. bool genesis = 2; @@ -595,13 +595,13 @@ message ListValidatorsRequest { // Specify which validators you would like to retrieve by their indices. // This field is optional. - repeated uint64 indices = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 indices = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message GetValidatorRequest { oneof query_filter { // Validator index in the registry. - uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 48 byte validator public key. bytes public_key = 2 [(ethereum.eth.ext.ssz_size) = "48"]; @@ -612,10 +612,10 @@ message Validators { // Epoch which the state was considered to determine the active validator // set. This field is not optional. Zero value epoch indicates the validator // set is from the Ethereum proof of stake genesis set. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; message ValidatorContainer { - uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; Validator validator = 2; } @@ -633,7 +633,7 @@ message Validators { message GetValidatorActiveSetChangesRequest { oneof query_filter { // Optional criteria to retrieve balances at a specific epoch. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Optional criteria to retrieve the genesis list of balances. bool genesis = 2; @@ -643,38 +643,38 @@ message GetValidatorActiveSetChangesRequest { message ActiveSetChanges { // Epoch which the state was considered to determine the active validator // set. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // 48 byte validator public keys that have been activated in the given epoch. repeated bytes activated_public_keys = 2 [(ethereum.eth.ext.ssz_size) = "?,48"]; // Indices of validators activated in the given epoch. - repeated uint64 activated_indices = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 activated_indices = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 48 byte validator public keys that have been voluntarily exited in the given epoch. repeated bytes exited_public_keys = 4 [(ethereum.eth.ext.ssz_size) = "?,48"]; // Indices of validators exited in the given epoch. - repeated uint64 exited_indices = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 exited_indices = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 48 byte validator public keys that have been slashed in the given epoch. repeated bytes slashed_public_keys = 6 [(ethereum.eth.ext.ssz_size) = "?,48"]; // Indices of validators slashed in the given epoch. - repeated uint64 slashed_indices = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 slashed_indices = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // 48 byte validator public keys that have been involuntarily ejected in this epoch. repeated bytes ejected_public_keys = 8 [(ethereum.eth.ext.ssz_size) = "?,48"]; // Indices of validators ejected in the given epoch. - repeated uint64 ejected_indices = 9 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 ejected_indices = 9 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message ValidatorPerformanceRequest { // A list of 48 byte validator public keys. repeated bytes public_keys = 1 [deprecated = true]; // A list of validator indices to retrieve performance by their indices. - repeated uint64 indices = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 indices = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message ValidatorPerformanceResponse { @@ -684,11 +684,11 @@ message ValidatorPerformanceResponse { // The slot of when validator's attestation got included in the chain at previous epoch, the slot // is mapped 1-to-1 with the request's public keys. // Deprecated: This field can no longer be fetched from the beacon state after the Altair hard fork. - repeated uint64 inclusion_slots = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot", deprecated = true]; + repeated uint64 inclusion_slots = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot", deprecated = true]; // The distance of when validator submitted and got included in the chain, the distance // is mapped 1-to-1 with the request's public keys. // Deprecated: This field can no longer be fetched from the beacon state after the Altair hard fork. - repeated uint64 inclusion_distances = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot", deprecated = true]; + repeated uint64 inclusion_distances = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot", deprecated = true]; // Whether the list of validator recently correctly voted for source at previous epoch, the result // is mapped 1-to-1 with the request's public keys. repeated bool correctly_voted_source = 4; @@ -730,17 +730,17 @@ message ValidatorQueue { // Ordered list of validator indices awaiting activation. 0th item in the list is the // next validator index to be processed. - repeated uint64 activation_validator_indices = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 activation_validator_indices = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // Ordered list of validator indices awaiting exit. 0th item in the list is the // next validator index to be processed. - repeated uint64 exit_validator_indices = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 exit_validator_indices = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message ListValidatorAssignmentsRequest { oneof query_filter { // Epoch to validator assignments for. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Whether or not to query for the genesis information. bool genesis = 2; @@ -748,7 +748,7 @@ message ListValidatorAssignmentsRequest { // 48 byte validator public keys to filter assignments for the given epoch. repeated bytes public_keys = 3 [(ethereum.eth.ext.ssz_size) = "?,48"]; // Validator indicies to filter assignments for the given epoch. - repeated uint64 indices = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 indices = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The maximum number of ValidatorAssignments to return in the response. // This field is optional. @@ -766,28 +766,28 @@ message ValidatorAssignments { // they also attest and produce beacon chain blocks. This is a list of validator indices that // are in the same committee as requested validator, everyone in the committee is assigned to the // same slot and same committee. - repeated uint64 beacon_committees = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 beacon_committees = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // Committee index represents the committee of validator that's in. - uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; // Beacon chain slot in which the validator must perform its assigned // duty as an attester. - uint64 attester_slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 attester_slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Beacon chain slots in which the validator must perform its assigned // duty as a proposer. - repeated uint64 proposer_slots = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + repeated uint64 proposer_slots = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // 48 byte BLS public key. bytes public_key = 5 [(ethereum.eth.ext.ssz_size) = "48", deprecated = true]; // Validator index in the beacon state. - uint64 validator_index = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } // The epoch for which this set of validator assignments is valid. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; repeated CommitteeAssignment assignments = 2; @@ -803,7 +803,7 @@ message ValidatorAssignments { message GetValidatorParticipationRequest { oneof query_filter { // Epoch to request participation information. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Whether or not to query for the genesis information. bool genesis = 2; @@ -812,7 +812,7 @@ message GetValidatorParticipationRequest { message ValidatorParticipationResponse { // Epoch which this message is applicable. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Whether or not epoch has been finalized. bool finalized = 2; @@ -854,26 +854,26 @@ message BeaconConfig { message SubmitSlashingResponse { // Indices of the validators to be slashed by the submitted // proposer/attester slashing object. - repeated uint64 slashed_indices = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 slashed_indices = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message IndividualVotesRequest { // Epoch of the request. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Validator 48 byte BLS public keys to filter validators for the given epoch. repeated bytes public_keys = 2; // Validator indices to filter validators for the given epoch. - repeated uint64 indices = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 indices = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message IndividualVotesRespond { message IndividualVote { // The epoch of the vote status request. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // The public key of the vote status request. bytes public_key = 2; // The validator index of the request. - uint64 validator_index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // Has the validator been slashed. bool is_slashed = 4; // Is the validator withdrawable. @@ -895,9 +895,9 @@ message IndividualVotesRespond { // The current effective balance of the validator. uint64 current_epoch_effective_balance_gwei = 13; // The slots of when the validator's attestation got included in the block. Only available in phase0. - uint64 inclusion_slot = 14 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot", deprecated = true]; + uint64 inclusion_slot = 14 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot", deprecated = true]; // How many slots have passed until the validator's attestation got included in the block. Only available in phase0. - uint64 inclusion_distance = 15 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot", deprecated = true]; + uint64 inclusion_distance = 15 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot", deprecated = true]; // The inactivity score of the validator tracks validator participation. [New in Altair] uint64 inactivity_score = 16; } diff --git a/proto/prysm/v1alpha1/beacon_state.pb.go b/proto/prysm/v1alpha1/beacon_state.pb.go index d77f27ec0..b3328936c 100755 --- a/proto/prysm/v1alpha1/beacon_state.pb.go +++ b/proto/prysm/v1alpha1/beacon_state.pb.go @@ -11,9 +11,9 @@ import ( sync "sync" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -32,7 +32,7 @@ type BeaconState struct { GenesisTime uint64 `protobuf:"varint,1001,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` GenesisValidatorsRoot []byte `protobuf:"bytes,1002,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` Fork *Fork `protobuf:"bytes,1004,opt,name=fork,proto3" json:"fork,omitempty"` LatestBlockHeader *BeaconBlockHeader `protobuf:"bytes,2001,opt,name=latest_block_header,json=latestBlockHeader,proto3" json:"latest_block_header,omitempty"` BlockRoots [][]byte `protobuf:"bytes,2002,rep,name=block_roots,json=blockRoots,proto3" json:"block_roots,omitempty" ssz-size:"8192,32"` @@ -239,7 +239,7 @@ type BeaconStateAltair struct { GenesisTime uint64 `protobuf:"varint,1001,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` GenesisValidatorsRoot []byte `protobuf:"bytes,1002,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` Fork *Fork `protobuf:"bytes,1004,opt,name=fork,proto3" json:"fork,omitempty"` LatestBlockHeader *BeaconBlockHeader `protobuf:"bytes,2001,opt,name=latest_block_header,json=latestBlockHeader,proto3" json:"latest_block_header,omitempty"` BlockRoots [][]byte `protobuf:"bytes,2002,rep,name=block_roots,json=blockRoots,proto3" json:"block_roots,omitempty" ssz-size:"8192,32"` @@ -470,7 +470,7 @@ type Fork struct { PreviousVersion []byte `protobuf:"bytes,1,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty" ssz-size:"4"` CurrentVersion []byte `protobuf:"bytes,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty" ssz-size:"4"` - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } func (x *Fork) Reset() { @@ -533,8 +533,8 @@ type PendingAttestation struct { AggregationBits github_com_prysmaticlabs_go_bitfield.Bitlist `protobuf:"bytes,1,opt,name=aggregation_bits,json=aggregationBits,proto3" json:"aggregation_bits,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitlist" ssz-max:"2048"` Data *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - InclusionDelay github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,opt,name=inclusion_delay,json=inclusionDelay,proto3" json:"inclusion_delay,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,4,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + InclusionDelay github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,opt,name=inclusion_delay,json=inclusionDelay,proto3" json:"inclusion_delay,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,4,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *PendingAttestation) Reset() { @@ -657,7 +657,7 @@ type StateSummary struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` Root []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` } @@ -1019,7 +1019,7 @@ type SyncAggregatorSelectionData struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` SubcommitteeIndex uint64 `protobuf:"varint,2,opt,name=subcommittee_index,json=subcommitteeIndex,proto3" json:"subcommittee_index,omitempty"` } @@ -1076,7 +1076,7 @@ type BeaconStateBellatrix struct { GenesisTime uint64 `protobuf:"varint,1001,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` GenesisValidatorsRoot []byte `protobuf:"bytes,1002,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` Fork *Fork `protobuf:"bytes,1004,opt,name=fork,proto3" json:"fork,omitempty"` LatestBlockHeader *BeaconBlockHeader `protobuf:"bytes,2001,opt,name=latest_block_header,json=latestBlockHeader,proto3" json:"latest_block_header,omitempty"` BlockRoots [][]byte `protobuf:"bytes,2002,rep,name=block_roots,json=blockRoots,proto3" json:"block_roots,omitempty" ssz-size:"8192,32"` @@ -1315,7 +1315,7 @@ type BeaconStateCapella struct { GenesisTime uint64 `protobuf:"varint,1001,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` GenesisValidatorsRoot []byte `protobuf:"bytes,1002,opt,name=genesis_validators_root,json=genesisValidatorsRoot,proto3" json:"genesis_validators_root,omitempty" ssz-size:"32"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1003,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` Fork *Fork `protobuf:"bytes,1004,opt,name=fork,proto3" json:"fork,omitempty"` LatestBlockHeader *BeaconBlockHeader `protobuf:"bytes,2001,opt,name=latest_block_header,json=latestBlockHeader,proto3" json:"latest_block_header,omitempty"` BlockRoots [][]byte `protobuf:"bytes,2002,rep,name=block_roots,json=blockRoots,proto3" json:"block_roots,omitempty" ssz-size:"8192,32"` @@ -1340,7 +1340,7 @@ type BeaconStateCapella struct { LatestExecutionPayloadHeader *v1.ExecutionPayloadHeaderCapella `protobuf:"bytes,10001,opt,name=latest_execution_payload_header,json=latestExecutionPayloadHeader,proto3" json:"latest_execution_payload_header,omitempty"` WithdrawalQueue []*v1.Withdrawal `protobuf:"bytes,11001,rep,name=withdrawal_queue,json=withdrawalQueue,proto3" json:"withdrawal_queue,omitempty" ssz-max:"1099511627776"` NextWithdrawalIndex uint64 `protobuf:"varint,11002,opt,name=next_withdrawal_index,json=nextWithdrawalIndex,proto3" json:"next_withdrawal_index,omitempty"` - NextPartialWithdrawalValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,11003,opt,name=next_partial_withdrawal_validator_index,json=nextPartialWithdrawalValidatorIndex,proto3" json:"next_partial_withdrawal_validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + NextPartialWithdrawalValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,11003,opt,name=next_partial_withdrawal_validator_index,json=nextPartialWithdrawalValidatorIndex,proto3" json:"next_partial_withdrawal_validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *BeaconStateCapella) Reset() { diff --git a/proto/prysm/v1alpha1/beacon_state.proto b/proto/prysm/v1alpha1/beacon_state.proto index 6dad998b2..0b6332df6 100644 --- a/proto/prysm/v1alpha1/beacon_state.proto +++ b/proto/prysm/v1alpha1/beacon_state.proto @@ -9,7 +9,7 @@ import "proto/engine/v1/execution_engine.proto"; import "proto/eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.V1Alpha1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "BeaconStateProto"; option java_package = "org.ethereum.eth.v1alpha1"; @@ -19,7 +19,7 @@ message BeaconState { // Versioning [1001-2000] uint64 genesis_time = 1001; bytes genesis_validators_root = 1002 [(ethereum.eth.ext.ssz_size) = "32"]; - uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; Fork fork = 1004; // History [2001-3000] @@ -61,7 +61,7 @@ message BeaconStateAltair { // Versioning [1001-2000] uint64 genesis_time = 1001; bytes genesis_validators_root = 1002 [(ethereum.eth.ext.ssz_size) = "32"]; - uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; Fork fork = 1004; // History [2001-3000] @@ -105,7 +105,7 @@ message BeaconStateAltair { message Fork { bytes previous_version = 1 [(ethereum.eth.ext.ssz_size) = "4"]; bytes current_version = 2 [(ethereum.eth.ext.ssz_size) = "4"]; - uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; } message PendingAttestation { @@ -114,9 +114,9 @@ message PendingAttestation { bytes aggregation_bits = 1 [(ethereum.eth.ext.ssz_max) = "2048", (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/go-bitfield.Bitlist"]; AttestationData data = 2; // The difference of when attestation gets created and get included on chain. - uint64 inclusion_delay = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 inclusion_delay = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // The proposer who included the attestation in the block. - uint64 proposer_index = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 proposer_index = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message HistoricalBatch { @@ -130,7 +130,7 @@ message HistoricalBatch { // and blocks. message StateSummary { // The slot of the state. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // The block root of the state. bytes root = 2; } @@ -183,7 +183,7 @@ message SyncCommittee { // SyncAggregatorSelectionData is used to sign over and then check whether the aggregator is selected within a subcommittee. message SyncAggregatorSelectionData { // Slot of this signing data. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Subcommittee index of this signing data. uint64 subcommittee_index = 2; } @@ -192,7 +192,7 @@ message BeaconStateBellatrix { // Versioning [1001-2000] uint64 genesis_time = 1001; bytes genesis_validators_root = 1002 [(ethereum.eth.ext.ssz_size) = "32"]; - uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; Fork fork = 1004; // History [2001-3000] @@ -240,7 +240,7 @@ message BeaconStateCapella { // Versioning [1001-2000] uint64 genesis_time = 1001; bytes genesis_validators_root = 1002 [(ethereum.eth.ext.ssz_size) = "32"]; - uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; Fork fork = 1004; // History [2001-3000] @@ -286,7 +286,7 @@ message BeaconStateCapella { // Capella fields [11001-12000] repeated ethereum.engine.v1.Withdrawal withdrawal_queue = 11001 [(ethereum.eth.ext.ssz_max) = "1099511627776"]; // [New in Capella] uint64 next_withdrawal_index = 11002; // [New in Capella] - uint64 next_partial_withdrawal_validator_index = 11003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; // [New in Capella] + uint64 next_partial_withdrawal_validator_index = 11003 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // [New in Capella] } // PowBlock is a definition from Bellatrix fork choice spec to represent a block with total difficulty in the PoW chain. diff --git a/proto/prysm/v1alpha1/cloners.go b/proto/prysm/v1alpha1/cloners.go index 109f18ecd..cce317d71 100644 --- a/proto/prysm/v1alpha1/cloners.go +++ b/proto/prysm/v1alpha1/cloners.go @@ -1,8 +1,8 @@ package eth import ( - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" ) // CopyETH1Data copies the provided eth1data object. diff --git a/proto/prysm/v1alpha1/cloners_test.go b/proto/prysm/v1alpha1/cloners_test.go index 4dbf2b285..afa558260 100644 --- a/proto/prysm/v1alpha1/cloners_test.go +++ b/proto/prysm/v1alpha1/cloners_test.go @@ -5,9 +5,9 @@ import ( "reflect" "testing" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - v1alpha1 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + v1alpha1 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestCopyETH1Data(t *testing.T) { diff --git a/proto/prysm/v1alpha1/debug.pb.go b/proto/prysm/v1alpha1/debug.pb.go index 96689949c..dd82914df 100755 --- a/proto/prysm/v1alpha1/debug.pb.go +++ b/proto/prysm/v1alpha1/debug.pb.go @@ -12,8 +12,8 @@ import ( sync "sync" empty "github.com/golang/protobuf/ptypes/empty" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -84,7 +84,7 @@ type InclusionSlotRequest struct { unknownFields protoimpl.UnknownFields Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } func (x *InclusionSlotRequest) Reset() { @@ -138,7 +138,7 @@ type InclusionSlotResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } func (x *InclusionSlotResponse) Reset() { @@ -249,7 +249,7 @@ type isBeaconStateRequest_QueryFilter interface { } type BeaconStateRequest_Slot struct { - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } type BeaconStateRequest_BlockRoot struct { diff --git a/proto/prysm/v1alpha1/debug.pb.gw.go b/proto/prysm/v1alpha1/debug.pb.gw.go index f809960f0..cde03bedd 100755 --- a/proto/prysm/v1alpha1/debug.pb.gw.go +++ b/proto/prysm/v1alpha1/debug.pb.gw.go @@ -17,7 +17,7 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/prysm/v1alpha1/debug.proto b/proto/prysm/v1alpha1/debug.proto index 3e1002c76..bd3f9d700 100644 --- a/proto/prysm/v1alpha1/debug.proto +++ b/proto/prysm/v1alpha1/debug.proto @@ -9,7 +9,7 @@ import "google/api/annotations.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Ethereum.Eth.V1alpha1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "DebugProto"; option java_package = "org.ethereum.eth.v1alpha1"; @@ -61,17 +61,17 @@ service Debug { message InclusionSlotRequest { uint64 id = 1; - uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; } message InclusionSlotResponse { - uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; } message BeaconStateRequest { oneof query_filter { // The slot corresponding to a desired beacon state. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // The block root corresponding to a desired beacon state. bytes block_root = 2; diff --git a/proto/prysm/v1alpha1/finalized_block_root_container.proto b/proto/prysm/v1alpha1/finalized_block_root_container.proto index 9018fe21b..a424af6f5 100644 --- a/proto/prysm/v1alpha1/finalized_block_root_container.proto +++ b/proto/prysm/v1alpha1/finalized_block_root_container.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package ethereum.eth.v1alpha1; option csharp_namespace = "Ethereum.Eth.v1alpha1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "FinalizedBlockRootContainerProto"; option java_package = "org.ethereum.eth.v1alpha1"; diff --git a/proto/prysm/v1alpha1/generated.ssz.go b/proto/prysm/v1alpha1/generated.ssz.go index bd00b7407..fa413001b 100644 --- a/proto/prysm/v1alpha1/generated.ssz.go +++ b/proto/prysm/v1alpha1/generated.ssz.go @@ -4,8 +4,8 @@ package eth import ( ssz "github.com/prysmaticlabs/fastssz" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v1 "github.com/prysmaticlabs/prysm/proto/engine/v1" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" ) // MarshalSSZ ssz marshals the Attestation object diff --git a/proto/prysm/v1alpha1/health.pb.gw.go b/proto/prysm/v1alpha1/health.pb.gw.go index 11522096b..a76024803 100755 --- a/proto/prysm/v1alpha1/health.pb.gw.go +++ b/proto/prysm/v1alpha1/health.pb.gw.go @@ -17,7 +17,7 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/prysm/v1alpha1/health.proto b/proto/prysm/v1alpha1/health.proto index eb05cc6db..46ecfacb7 100644 --- a/proto/prysm/v1alpha1/health.proto +++ b/proto/prysm/v1alpha1/health.proto @@ -6,7 +6,7 @@ import "google/api/annotations.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Ethereum.Eth.V1alpha1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "HealthProto"; option java_package = "org.ethereum.eth.v1alpha1"; diff --git a/proto/prysm/v1alpha1/metadata/BUILD.bazel b/proto/prysm/v1alpha1/metadata/BUILD.bazel index 7c114161d..e09d81098 100644 --- a/proto/prysm/v1alpha1/metadata/BUILD.bazel +++ b/proto/prysm/v1alpha1/metadata/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["metadata_interfaces.go"], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/metadata", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/metadata", visibility = ["//visibility:public"], deps = [ "//proto/prysm/v1alpha1:go_default_library", diff --git a/proto/prysm/v1alpha1/metadata/metadata_interfaces.go b/proto/prysm/v1alpha1/metadata/metadata_interfaces.go index 4d507da38..ec6527b89 100644 --- a/proto/prysm/v1alpha1/metadata/metadata_interfaces.go +++ b/proto/prysm/v1alpha1/metadata/metadata_interfaces.go @@ -3,7 +3,7 @@ package metadata import ( ssz "github.com/prysmaticlabs/fastssz" "github.com/prysmaticlabs/go-bitfield" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // Metadata returns the interface of a p2p metadata type. diff --git a/proto/prysm/v1alpha1/node.pb.go b/proto/prysm/v1alpha1/node.pb.go index 0754209b9..ae070d2f1 100755 --- a/proto/prysm/v1alpha1/node.pb.go +++ b/proto/prysm/v1alpha1/node.pb.go @@ -13,7 +13,7 @@ import ( empty "github.com/golang/protobuf/ptypes/empty" timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/proto/prysm/v1alpha1/node.pb.gw.go b/proto/prysm/v1alpha1/node.pb.gw.go index 5d71e5156..59a9ca547 100755 --- a/proto/prysm/v1alpha1/node.pb.gw.go +++ b/proto/prysm/v1alpha1/node.pb.gw.go @@ -17,7 +17,7 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/prysm/v1alpha1/node.proto b/proto/prysm/v1alpha1/node.proto index db4962603..0925d4b96 100644 --- a/proto/prysm/v1alpha1/node.proto +++ b/proto/prysm/v1alpha1/node.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; import "proto/eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.v1alpha1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "NodeProto"; option java_package = "org.ethereum.eth.v1alpha1"; diff --git a/proto/prysm/v1alpha1/p2p_messages.pb.go b/proto/prysm/v1alpha1/p2p_messages.pb.go index f1f96e1ec..e81f7e96e 100755 --- a/proto/prysm/v1alpha1/p2p_messages.pb.go +++ b/proto/prysm/v1alpha1/p2p_messages.pb.go @@ -12,8 +12,8 @@ import ( _ "github.com/golang/protobuf/protoc-gen-go/descriptor" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -32,9 +32,9 @@ type Status struct { ForkDigest []byte `protobuf:"bytes,1,opt,name=fork_digest,json=forkDigest,proto3" json:"fork_digest,omitempty" ssz-size:"4"` FinalizedRoot []byte `protobuf:"bytes,2,opt,name=finalized_root,json=finalizedRoot,proto3" json:"finalized_root,omitempty" ssz-size:"32"` - FinalizedEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=finalized_epoch,json=finalizedEpoch,proto3" json:"finalized_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + FinalizedEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=finalized_epoch,json=finalizedEpoch,proto3" json:"finalized_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` HeadRoot []byte `protobuf:"bytes,4,opt,name=head_root,json=headRoot,proto3" json:"head_root,omitempty" ssz-size:"32"` - HeadSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,5,opt,name=head_slot,json=headSlot,proto3" json:"head_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + HeadSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,5,opt,name=head_slot,json=headSlot,proto3" json:"head_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } func (x *Status) Reset() { @@ -109,7 +109,7 @@ type BeaconBlocksByRangeRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StartSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=start_slot,json=startSlot,proto3" json:"start_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + StartSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=start_slot,json=startSlot,proto3" json:"start_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Step uint64 `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"` } @@ -174,7 +174,7 @@ type ENRForkID struct { CurrentForkDigest []byte `protobuf:"bytes,1,opt,name=current_fork_digest,json=currentForkDigest,proto3" json:"current_fork_digest,omitempty" ssz-size:"4"` NextForkVersion []byte `protobuf:"bytes,2,opt,name=next_fork_version,json=nextForkVersion,proto3" json:"next_fork_version,omitempty" ssz-size:"4"` - NextForkEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=next_fork_epoch,json=nextForkEpoch,proto3" json:"next_fork_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + NextForkEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=next_fork_epoch,json=nextForkEpoch,proto3" json:"next_fork_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } func (x *ENRForkID) Reset() { diff --git a/proto/prysm/v1alpha1/p2p_messages.proto b/proto/prysm/v1alpha1/p2p_messages.proto index a8b62b033..84c614678 100644 --- a/proto/prysm/v1alpha1/p2p_messages.proto +++ b/proto/prysm/v1alpha1/p2p_messages.proto @@ -6,7 +6,7 @@ import "google/protobuf/descriptor.proto"; import "proto/eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.V1alpha1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "P2PMessagesProto"; option java_package = "org.ethereum.eth.v1alpha1"; @@ -15,13 +15,13 @@ option php_namespace = "Ethereum\\Eth\\v1alpha1"; message Status { bytes fork_digest = 1 [(ethereum.eth.ext.ssz_size) = "4"]; bytes finalized_root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; - uint64 finalized_epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 finalized_epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; bytes head_root = 4 [(ethereum.eth.ext.ssz_size) = "32"]; - uint64 head_slot = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 head_slot = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; } message BeaconBlocksByRangeRequest { - uint64 start_slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 start_slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; uint64 count = 2; uint64 step = 3; } @@ -29,7 +29,7 @@ message BeaconBlocksByRangeRequest { message ENRForkID { bytes current_fork_digest = 1 [(ethereum.eth.ext.ssz_size) = "4"]; bytes next_fork_version = 2 [(ethereum.eth.ext.ssz_size) = "4"]; - uint64 next_fork_epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 next_fork_epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; } /* Spec Definition: diff --git a/proto/prysm/v1alpha1/powchain.proto b/proto/prysm/v1alpha1/powchain.proto index a033f4b85..db7217e8a 100644 --- a/proto/prysm/v1alpha1/powchain.proto +++ b/proto/prysm/v1alpha1/powchain.proto @@ -6,7 +6,7 @@ import "proto/prysm/v1alpha1/beacon_block.proto"; import "proto/prysm/v1alpha1/beacon_state.proto"; option csharp_namespace = "Ethereum.Eth.V1alpha1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "PowchainProto"; option java_package = "org.ethereum.eth.v1alpha1"; diff --git a/proto/prysm/v1alpha1/slasher.pb.go b/proto/prysm/v1alpha1/slasher.pb.go index 012cf5dee..1e1f9f83c 100755 --- a/proto/prysm/v1alpha1/slasher.pb.go +++ b/proto/prysm/v1alpha1/slasher.pb.go @@ -12,8 +12,8 @@ import ( sync "sync" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -223,8 +223,8 @@ type HighestAttestation struct { unknownFields protoimpl.UnknownFields ValidatorIndex uint64 `protobuf:"varint,1,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"` - HighestSourceEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,2,opt,name=highest_source_epoch,json=highestSourceEpoch,proto3" json:"highest_source_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - HighestTargetEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=highest_target_epoch,json=highestTargetEpoch,proto3" json:"highest_target_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + HighestSourceEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,2,opt,name=highest_source_epoch,json=highestSourceEpoch,proto3" json:"highest_source_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + HighestTargetEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=highest_target_epoch,json=highestTargetEpoch,proto3" json:"highest_target_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } func (x *HighestAttestation) Reset() { @@ -288,7 +288,7 @@ type ProposalHistory struct { // Deprecated: Do not use. EpochBits github_com_prysmaticlabs_go_bitfield.Bitlist `protobuf:"bytes,1,opt,name=epoch_bits,json=epochBits,proto3" json:"epoch_bits,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitlist"` // Deprecated: Do not use. - LatestEpochWritten github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,2,opt,name=latest_epoch_written,json=latestEpochWritten,proto3" json:"latest_epoch_written,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + LatestEpochWritten github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,2,opt,name=latest_epoch_written,json=latestEpochWritten,proto3" json:"latest_epoch_written,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } func (x *ProposalHistory) Reset() { @@ -396,7 +396,7 @@ type AttestationHistory struct { // Deprecated: Do not use. TargetToSource map[uint64]uint64 `protobuf:"bytes,1,rep,name=target_to_source,json=targetToSource,proto3" json:"target_to_source,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // Deprecated: Do not use. - LatestEpochWritten github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,2,opt,name=latest_epoch_written,json=latestEpochWritten,proto3" json:"latest_epoch_written,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + LatestEpochWritten github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,2,opt,name=latest_epoch_written,json=latestEpochWritten,proto3" json:"latest_epoch_written,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } func (x *AttestationHistory) Reset() { diff --git a/proto/prysm/v1alpha1/slasher.pb.gw.go b/proto/prysm/v1alpha1/slasher.pb.gw.go index 63dbb9c00..a69493f0c 100755 --- a/proto/prysm/v1alpha1/slasher.pb.gw.go +++ b/proto/prysm/v1alpha1/slasher.pb.gw.go @@ -17,7 +17,7 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/prysm/v1alpha1/slasher.proto b/proto/prysm/v1alpha1/slasher.proto index 2319a611c..c0244a0d5 100644 --- a/proto/prysm/v1alpha1/slasher.proto +++ b/proto/prysm/v1alpha1/slasher.proto @@ -21,7 +21,7 @@ import "proto/prysm/v1alpha1/beacon_block.proto"; import "google/api/annotations.proto"; option csharp_namespace = "Ethereum.Eth.V1alpha1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "SlasherProto"; option java_package = "org.ethereum.eth.v1alpha1"; @@ -77,10 +77,10 @@ message HighestAttestation { uint64 validator_index = 1; uint64 highest_source_epoch = 2 [ (ethereum.eth.ext.cast_type) = - "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch" ]; + "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch" ]; uint64 highest_target_epoch = 3 [ (ethereum.eth.ext.cast_type) = - "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch" ]; + "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch" ]; } // ProposalHistory defines the structure for recording a validator's historical @@ -94,7 +94,7 @@ message ProposalHistory { deprecated = true ]; uint64 latest_epoch_written = 2 [ - (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch", + (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch", deprecated = true ]; } @@ -110,7 +110,7 @@ message Slashable { bool slashable = 1 [ deprecated = true ]; } message AttestationHistory { map target_to_source = 1 [ deprecated = true ]; uint64 latest_epoch_written = 2 [ - (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch", + (ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch", deprecated = true ]; } diff --git a/proto/prysm/v1alpha1/slashings/BUILD.bazel b/proto/prysm/v1alpha1/slashings/BUILD.bazel index 28b741586..997e17f3d 100644 --- a/proto/prysm/v1alpha1/slashings/BUILD.bazel +++ b/proto/prysm/v1alpha1/slashings/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "double_votes.go", "surround_votes.go", ], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/slashings", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/slashings", visibility = ["//visibility:public"], deps = [ "//config/params:go_default_library", diff --git a/proto/prysm/v1alpha1/slashings/double_votes.go b/proto/prysm/v1alpha1/slashings/double_votes.go index 65495350a..dcc23e69c 100644 --- a/proto/prysm/v1alpha1/slashings/double_votes.go +++ b/proto/prysm/v1alpha1/slashings/double_votes.go @@ -1,6 +1,6 @@ package slashings -import "github.com/prysmaticlabs/prysm/config/params" +import "github.com/prysmaticlabs/prysm/v3/config/params" // SigningRootsDiffer verifies that an incoming vs. existing attestation has a different signing root. // If the existing signing root is empty, then we consider an attestation as different always. diff --git a/proto/prysm/v1alpha1/slashings/double_votes_test.go b/proto/prysm/v1alpha1/slashings/double_votes_test.go index e031bc6eb..179058eee 100644 --- a/proto/prysm/v1alpha1/slashings/double_votes_test.go +++ b/proto/prysm/v1alpha1/slashings/double_votes_test.go @@ -3,7 +3,7 @@ package slashings import ( "testing" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func TestSigningRootsDiffer(t *testing.T) { diff --git a/proto/prysm/v1alpha1/slashings/surround_votes.go b/proto/prysm/v1alpha1/slashings/surround_votes.go index f01774b39..5a029e6cc 100644 --- a/proto/prysm/v1alpha1/slashings/surround_votes.go +++ b/proto/prysm/v1alpha1/slashings/surround_votes.go @@ -1,6 +1,6 @@ package slashings -import ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" +import ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" // IsSurround checks if an attestation, a, is surrounding // another one, b, based on the Ethereum slashing conditions specified diff --git a/proto/prysm/v1alpha1/slashings/surround_votes_test.go b/proto/prysm/v1alpha1/slashings/surround_votes_test.go index 12e6757d3..940e8641a 100644 --- a/proto/prysm/v1alpha1/slashings/surround_votes_test.go +++ b/proto/prysm/v1alpha1/slashings/surround_votes_test.go @@ -3,8 +3,8 @@ package slashings import ( "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func TestIsSurround(t *testing.T) { diff --git a/proto/prysm/v1alpha1/swagger.proto b/proto/prysm/v1alpha1/swagger.proto index a8a080f23..e7af4f8f8 100644 --- a/proto/prysm/v1alpha1/swagger.proto +++ b/proto/prysm/v1alpha1/swagger.proto @@ -20,7 +20,7 @@ package ethereum.eth.v1alpha1; import "protoc-gen-openapiv2/options/annotations.proto"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { info: { diff --git a/proto/prysm/v1alpha1/sync_committee.pb.go b/proto/prysm/v1alpha1/sync_committee.pb.go index aa886cd63..098fb237a 100755 --- a/proto/prysm/v1alpha1/sync_committee.pb.go +++ b/proto/prysm/v1alpha1/sync_committee.pb.go @@ -11,8 +11,8 @@ import ( sync "sync" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -29,9 +29,9 @@ type SyncCommitteeMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` BlockRoot []byte `protobuf:"bytes,2,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty" ssz-size:"32"` - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` } @@ -100,7 +100,7 @@ type SyncCommitteeContribution struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` BlockRoot []byte `protobuf:"bytes,2,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty" ssz-size:"32"` SubcommitteeIndex uint64 `protobuf:"varint,3,opt,name=subcommittee_index,json=subcommitteeIndex,proto3" json:"subcommittee_index,omitempty"` AggregationBits github_com_prysmaticlabs_go_bitfield.Bitvector128 `protobuf:"bytes,4,opt,name=aggregation_bits,json=aggregationBits,proto3" json:"aggregation_bits,omitempty" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitvector128" ssz-size:"16"` @@ -179,7 +179,7 @@ type ContributionAndProof struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AggregatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3" json:"aggregator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + AggregatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=aggregator_index,json=aggregatorIndex,proto3" json:"aggregator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` Contribution *SyncCommitteeContribution `protobuf:"bytes,2,opt,name=contribution,proto3" json:"contribution,omitempty"` SelectionProof []byte `protobuf:"bytes,3,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty" ssz-size:"96"` } diff --git a/proto/prysm/v1alpha1/sync_committee.proto b/proto/prysm/v1alpha1/sync_committee.proto index 5c5269436..a45a49e47 100644 --- a/proto/prysm/v1alpha1/sync_committee.proto +++ b/proto/prysm/v1alpha1/sync_committee.proto @@ -18,7 +18,7 @@ package ethereum.eth.v1alpha1; import "proto/eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.V1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "SyncCommitteeProto"; option java_package = "org.ethereum.eth.v1alpha1"; @@ -27,13 +27,13 @@ option php_namespace = "Ethereum\\Eth\\v1alpha1"; // Sync committee object to support light client. message SyncCommitteeMessage { // Slot to which this contribution pertains. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // 32 byte block root for this signature. bytes block_root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; // Index of the validator that produced this signature. - uint64 validator_index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // Signature by the validator over the block root of `slot`. bytes signature = 4 [(ethereum.eth.ext.ssz_size) = "96"]; @@ -42,7 +42,7 @@ message SyncCommitteeMessage { // Aggregated sync committee object to support light client. message SyncCommitteeContribution { // Slot to which this contribution pertains. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // 32 byte block root for this signature. bytes block_root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; @@ -60,7 +60,7 @@ message SyncCommitteeContribution { // Aggregated sync committee signature object with selection proof to support light client. message ContributionAndProof { // Index of the aggregator that produced this proof. - uint64 aggregator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 aggregator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; SyncCommitteeContribution contribution = 2; diff --git a/proto/prysm/v1alpha1/validator-client/BUILD.bazel b/proto/prysm/v1alpha1/validator-client/BUILD.bazel index af0116cfe..9dc699bbe 100644 --- a/proto/prysm/v1alpha1/validator-client/BUILD.bazel +++ b/proto/prysm/v1alpha1/validator-client/BUILD.bazel @@ -40,7 +40,7 @@ go_proto_library( compilers = [ "@com_github_prysmaticlabs_protoc_gen_go_cast//:go_cast_grpc", ], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client", proto = ":proto", visibility = ["//visibility:public"], deps = [ @@ -66,7 +66,7 @@ go_proto_library( "@com_github_grpc_ecosystem_grpc_gateway_v2//protoc-gen-grpc-gateway:go_gen_grpc_gateway", ], embed = [":go_proto"], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client", protos = [":proto"], visibility = ["//visibility:private"], deps = [ @@ -89,7 +89,7 @@ go_library( embed = [ ":go_grpc_gateway_library", ], - importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client", visibility = ["//visibility:public"], deps = [ "//proto/eth/ext:go_default_library", diff --git a/proto/prysm/v1alpha1/validator-client/keymanager.pb.go b/proto/prysm/v1alpha1/validator-client/keymanager.pb.go index 09f75606f..c64a3e2fb 100755 --- a/proto/prysm/v1alpha1/validator-client/keymanager.pb.go +++ b/proto/prysm/v1alpha1/validator-client/keymanager.pb.go @@ -12,9 +12,9 @@ import ( sync "sync" empty "github.com/golang/protobuf/ptypes/empty" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" - v1alpha1 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" + v1alpha1 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -152,7 +152,7 @@ type SignRequest struct { // *SignRequest_BlindedBlockBellatrix // *SignRequest_Registration Object isSignRequest_Object `protobuf_oneof:"object"` - SigningSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,6,opt,name=signing_slot,json=signingSlot,proto3" json:"signing_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + SigningSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,6,opt,name=signing_slot,json=signingSlot,proto3" json:"signing_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } func (x *SignRequest) Reset() { @@ -334,11 +334,11 @@ type SignRequest_Exit struct { } type SignRequest_Slot struct { - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,105,opt,name=slot,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,105,opt,name=slot,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } type SignRequest_Epoch struct { - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,106,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,106,opt,name=epoch,proto3,oneof" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } type SignRequest_BlockAltair struct { diff --git a/proto/prysm/v1alpha1/validator-client/keymanager.pb.gw.go b/proto/prysm/v1alpha1/validator-client/keymanager.pb.gw.go index 2abafbb37..b70cebd68 100755 --- a/proto/prysm/v1alpha1/validator-client/keymanager.pb.gw.go +++ b/proto/prysm/v1alpha1/validator-client/keymanager.pb.gw.go @@ -17,7 +17,7 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/prysm/v1alpha1/validator-client/keymanager.proto b/proto/prysm/v1alpha1/validator-client/keymanager.proto index a055d36c5..6476f0af3 100644 --- a/proto/prysm/v1alpha1/validator-client/keymanager.proto +++ b/proto/prysm/v1alpha1/validator-client/keymanager.proto @@ -10,7 +10,7 @@ import "google/api/annotations.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Ethereum.Validator.Accounts.V2"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client;validatorpb"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client;validatorpb"; option java_multiple_files = true; option java_outer_classname = "KeymanagerProto"; option java_package = "org.ethereum.validator.accounts.v2"; @@ -66,8 +66,8 @@ message SignRequest { ethereum.eth.v1alpha1.AttestationData attestation_data = 102; ethereum.eth.v1alpha1.AggregateAttestationAndProof aggregate_attestation_and_proof = 103; ethereum.eth.v1alpha1.VoluntaryExit exit = 104; - uint64 slot = 105 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; - uint64 epoch = 106 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 slot = 105 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; + uint64 epoch = 106 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Altair objects. ethereum.eth.v1alpha1.BeaconBlockAltair block_altair = 107; @@ -83,7 +83,7 @@ message SignRequest { ethereum.eth.v1alpha1.ValidatorRegistrationV1 registration = 113; } reserved 4, 5; // Reserving old, deleted fields. - uint64 signing_slot = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 signing_slot = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; } // SignResponse returned by a RemoteSigner gRPC service. diff --git a/proto/prysm/v1alpha1/validator-client/web_api.pb.go b/proto/prysm/v1alpha1/validator-client/web_api.pb.go index 3a42df480..52b60029b 100755 --- a/proto/prysm/v1alpha1/validator-client/web_api.pb.go +++ b/proto/prysm/v1alpha1/validator-client/web_api.pb.go @@ -12,7 +12,7 @@ import ( sync "sync" empty "github.com/golang/protobuf/ptypes/empty" - v1alpha1 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + v1alpha1 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/proto/prysm/v1alpha1/validator-client/web_api.pb.gw.go b/proto/prysm/v1alpha1/validator-client/web_api.pb.gw.go index 6000e554c..a9ccd43fe 100755 --- a/proto/prysm/v1alpha1/validator-client/web_api.pb.gw.go +++ b/proto/prysm/v1alpha1/validator-client/web_api.pb.gw.go @@ -17,8 +17,8 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/prysm/v1alpha1/validator-client/web_api.proto b/proto/prysm/v1alpha1/validator-client/web_api.proto index c5857ce3c..c5b94212e 100644 --- a/proto/prysm/v1alpha1/validator-client/web_api.proto +++ b/proto/prysm/v1alpha1/validator-client/web_api.proto @@ -8,7 +8,7 @@ import "google/api/annotations.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Ethereum.Validator.Accounts.V2"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client;validatorpb"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client;validatorpb"; option java_multiple_files = true; option java_outer_classname = "WebProto"; option java_package = "org.ethereum.validator.accounts.v2"; diff --git a/proto/prysm/v1alpha1/validator.pb.go b/proto/prysm/v1alpha1/validator.pb.go index 5a0371809..6ac94360c 100755 --- a/proto/prysm/v1alpha1/validator.pb.go +++ b/proto/prysm/v1alpha1/validator.pb.go @@ -12,8 +12,8 @@ import ( sync "sync" empty "github.com/golang/protobuf/ptypes/empty" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -149,7 +149,7 @@ type SyncSubcommitteeIndexRequest struct { unknownFields protoimpl.UnknownFields PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48"` - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` } func (x *SyncSubcommitteeIndexRequest) Reset() { @@ -203,7 +203,7 @@ type SyncCommitteeContributionRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"` SubnetId uint64 `protobuf:"varint,3,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` } @@ -266,7 +266,7 @@ type SyncSubcommitteeIndexResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,1,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` + Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,1,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` } func (x *SyncSubcommitteeIndexResponse) Reset() { @@ -407,7 +407,7 @@ type DomainRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` Domain []byte `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` } @@ -768,7 +768,7 @@ type ValidatorIndexResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *ValidatorIndexResponse) Reset() { @@ -864,8 +864,8 @@ type ValidatorStatusResponse struct { Status ValidatorStatus `protobuf:"varint,1,opt,name=status,proto3,enum=ethereum.eth.v1alpha1.ValidatorStatus" json:"status,omitempty"` Eth1DepositBlockNumber uint64 `protobuf:"varint,2,opt,name=eth1_deposit_block_number,json=eth1DepositBlockNumber,proto3" json:"eth1_deposit_block_number,omitempty"` - DepositInclusionSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,opt,name=deposit_inclusion_slot,json=depositInclusionSlot,proto3" json:"deposit_inclusion_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ActivationEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,4,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + DepositInclusionSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,opt,name=deposit_inclusion_slot,json=depositInclusionSlot,proto3" json:"deposit_inclusion_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ActivationEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,4,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` PositionInActivationQueue uint64 `protobuf:"varint,5,opt,name=position_in_activation_queue,json=positionInActivationQueue,proto3" json:"position_in_activation_queue,omitempty"` } @@ -998,7 +998,7 @@ type MultipleValidatorStatusResponse struct { PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` Statuses []*ValidatorStatusResponse `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"` - Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Indices []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,rep,packed,name=indices,proto3" json:"indices,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *MultipleValidatorStatusResponse) Reset() { @@ -1059,7 +1059,7 @@ type DutiesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"` } @@ -1179,7 +1179,7 @@ type BlockRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` RandaoReveal []byte `protobuf:"bytes,2,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"48"` Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"` } @@ -1336,8 +1336,8 @@ type AttestationDataRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` } func (x *AttestationDataRequest) Reset() { @@ -1438,8 +1438,8 @@ type AggregateSelectionRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` + Slot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"` SlotSignature []byte `protobuf:"bytes,4,opt,name=slot_signature,json=slotSignature,proto3" json:"slot_signature,omitempty" ssz-size:"96"` } @@ -1650,8 +1650,8 @@ type CommitteeSubnetsSubscribeRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Slots []github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,rep,packed,name=slots,proto3" json:"slots,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - CommitteeIds []github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,rep,packed,name=committee_ids,json=committeeIds,proto3" json:"committee_ids,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` + Slots []github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,1,rep,packed,name=slots,proto3" json:"slots,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + CommitteeIds []github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,rep,packed,name=committee_ids,json=committeeIds,proto3" json:"committee_ids,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` IsAggregator []bool `protobuf:"varint,3,rep,packed,name=is_aggregator,json=isAggregator,proto3" json:"is_aggregator,omitempty"` } @@ -1717,10 +1717,10 @@ type Validator struct { WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty" ssz-size:"32"` EffectiveBalance uint64 `protobuf:"varint,3,opt,name=effective_balance,json=effectiveBalance,proto3" json:"effective_balance,omitempty"` Slashed bool `protobuf:"varint,4,opt,name=slashed,proto3" json:"slashed,omitempty"` - ActivationEligibilityEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,5,opt,name=activation_eligibility_epoch,json=activationEligibilityEpoch,proto3" json:"activation_eligibility_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - ActivationEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,6,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - ExitEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,7,opt,name=exit_epoch,json=exitEpoch,proto3" json:"exit_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - WithdrawableEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,8,opt,name=withdrawable_epoch,json=withdrawableEpoch,proto3" json:"withdrawable_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + ActivationEligibilityEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,5,opt,name=activation_eligibility_epoch,json=activationEligibilityEpoch,proto3" json:"activation_eligibility_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + ActivationEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,6,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + ExitEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,7,opt,name=exit_epoch,json=exitEpoch,proto3" json:"exit_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + WithdrawableEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,8,opt,name=withdrawable_epoch,json=withdrawableEpoch,proto3" json:"withdrawable_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } func (x *Validator) Reset() { @@ -1820,11 +1820,11 @@ type ValidatorCapella struct { WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty" ssz-size:"32"` EffectiveBalance uint64 `protobuf:"varint,3,opt,name=effective_balance,json=effectiveBalance,proto3" json:"effective_balance,omitempty"` Slashed bool `protobuf:"varint,4,opt,name=slashed,proto3" json:"slashed,omitempty"` - ActivationEligibilityEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,5,opt,name=activation_eligibility_epoch,json=activationEligibilityEpoch,proto3" json:"activation_eligibility_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - ActivationEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,6,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - ExitEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,7,opt,name=exit_epoch,json=exitEpoch,proto3" json:"exit_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - WithdrawableEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,8,opt,name=withdrawable_epoch,json=withdrawableEpoch,proto3" json:"withdrawable_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` - FullyWithdrawnEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,9,opt,name=fully_withdrawn_epoch,json=fullyWithdrawnEpoch,proto3" json:"fully_withdrawn_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + ActivationEligibilityEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,5,opt,name=activation_eligibility_epoch,json=activationEligibilityEpoch,proto3" json:"activation_eligibility_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + ActivationEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,6,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + ExitEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,7,opt,name=exit_epoch,json=exitEpoch,proto3" json:"exit_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + WithdrawableEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,8,opt,name=withdrawable_epoch,json=withdrawableEpoch,proto3" json:"withdrawable_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` + FullyWithdrawnEpoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,9,opt,name=fully_withdrawn_epoch,json=fullyWithdrawnEpoch,proto3" json:"fully_withdrawn_epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` } func (x *ValidatorCapella) Reset() { @@ -2053,8 +2053,8 @@ type ValidatorInfo struct { unknownFields protoimpl.UnknownFields PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` Status ValidatorStatus `protobuf:"varint,4,opt,name=status,proto3,enum=ethereum.eth.v1alpha1.ValidatorStatus" json:"status,omitempty"` TransitionTimestamp uint64 `protobuf:"varint,5,opt,name=transition_timestamp,json=transitionTimestamp,proto3" json:"transition_timestamp,omitempty"` Balance uint64 `protobuf:"varint,6,opt,name=balance,proto3" json:"balance,omitempty"` @@ -2337,7 +2337,7 @@ type ValidatorActivationResponse_Status struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Status *ValidatorStatusResponse `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + Index github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *ValidatorActivationResponse_Status) Reset() { @@ -2398,13 +2398,13 @@ type DutiesResponse_Duty struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Committee []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,rep,packed,name=committee,proto3" json:"committee,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` - CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"` - AttesterSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,opt,name=attester_slot,json=attesterSlot,proto3" json:"attester_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` - ProposerSlots []github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,4,rep,packed,name=proposer_slots,json=proposerSlots,proto3" json:"proposer_slots,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"` + Committee []github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,rep,packed,name=committee,proto3" json:"committee,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` + CommitteeIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.CommitteeIndex `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"` + AttesterSlot github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,3,opt,name=attester_slot,json=attesterSlot,proto3" json:"attester_slot,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` + ProposerSlots []github_com_prysmaticlabs_prysm_consensus_types_primitives.Slot `protobuf:"varint,4,rep,packed,name=proposer_slots,json=proposerSlots,proto3" json:"proposer_slots,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"` PublicKey []byte `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48"` Status ValidatorStatus `protobuf:"varint,6,opt,name=status,proto3,enum=ethereum.eth.v1alpha1.ValidatorStatus" json:"status,omitempty"` - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,7,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,7,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` IsSyncCommittee bool `protobuf:"varint,8,opt,name=is_sync_committee,json=isSyncCommittee,proto3" json:"is_sync_committee,omitempty"` } @@ -2502,7 +2502,7 @@ type DoppelGangerRequest_ValidatorRequest struct { unknownFields protoimpl.UnknownFields PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"` - Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"` + Epoch github_com_prysmaticlabs_prysm_consensus_types_primitives.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"` SignedRoot []byte `protobuf:"bytes,2,opt,name=signed_root,json=signedRoot,proto3" json:"signed_root,omitempty" ssz-size:"32"` } @@ -2620,7 +2620,7 @@ type PrepareBeaconProposerRequest_FeeRecipientContainer struct { unknownFields protoimpl.UnknownFields FeeRecipient []byte `protobuf:"bytes,1,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty" ssz-size:"20"` - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` } func (x *PrepareBeaconProposerRequest_FeeRecipientContainer) Reset() { diff --git a/proto/prysm/v1alpha1/validator.pb.gw.go b/proto/prysm/v1alpha1/validator.pb.gw.go index 23094038f..95f59b64c 100755 --- a/proto/prysm/v1alpha1/validator.pb.gw.go +++ b/proto/prysm/v1alpha1/validator.pb.gw.go @@ -17,7 +17,7 @@ import ( emptypb "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" diff --git a/proto/prysm/v1alpha1/validator.proto b/proto/prysm/v1alpha1/validator.proto index c7605f880..1e6ccd22e 100644 --- a/proto/prysm/v1alpha1/validator.proto +++ b/proto/prysm/v1alpha1/validator.proto @@ -25,7 +25,7 @@ import "proto/prysm/v1alpha1/sync_committee.proto"; import "proto/prysm/v1alpha1/attestation.proto"; option csharp_namespace = "Ethereum.Eth.V1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "ValidatorProto"; option java_package = "org.ethereum.eth.v1alpha1"; @@ -317,12 +317,12 @@ message SyncSubcommitteeIndexRequest { // The validator's public key. bytes public_key = 1 [(ethereum.eth.ext.ssz_size) = "48"]; // The slot of validator's assignment. - uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; } message SyncCommitteeContributionRequest { // Slot for which the aggregation request applies. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // 48 byte public key of the validator. bytes public_key = 2 [(ethereum.eth.ext.ssz_size) = "48", (ethereum.eth.ext.spec_name) = "pubkey"]; // Subnet ID of where this contribution and proof should be broadcast to. @@ -333,7 +333,7 @@ message SyncCommitteeContributionRequest { message SyncSubcommitteeIndexResponse { // The subcommittee index itself. // If the total validator count is not sufficient, there could be more than one index. - repeated uint64 indices = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + repeated uint64 indices = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; } message StreamBlocksResponse { @@ -352,7 +352,7 @@ message StreamBlocksResponse { message DomainRequest { // The epoch for which the domain is being requested. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // The bytes domain specified by the validator. bytes domain = 2; @@ -378,7 +378,7 @@ message ValidatorActivationResponse { ValidatorStatusResponse status = 2; // The validators index in the beacon state. - uint64 index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 index = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } // A list of validator statuses mapped 1-to-1 with the public keys // in the request. @@ -411,7 +411,7 @@ message ValidatorIndexRequest { message ValidatorIndexResponse { // The validator's index in the beacon chain state's validator registry. - uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message ValidatorStatusRequest { @@ -441,11 +441,11 @@ message ValidatorStatusResponse { // The slot in the beacon chain in which the validator's // deposit was included in a block. - uint64 deposit_inclusion_slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 deposit_inclusion_slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // The epoch in the beacon chain in which the validator // is determined as active. - uint64 activation_epoch = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 activation_epoch = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // The position in the activation queue of pending validators. uint64 position_in_activation_queue = 5; @@ -464,12 +464,12 @@ message MultipleValidatorStatusResponse { // A list of ValidatorStatusResponses mapped 1-to-1 with the public keys. repeated ValidatorStatusResponse statuses = 2; // A list of validator indices. - repeated uint64 indices = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 indices = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } message DutiesRequest { // Epoch at which validators should perform their duties. - uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Array of byte encoded BLS public keys. repeated bytes public_keys = 2 [(ethereum.eth.ext.ssz_size) = "?,48"]; @@ -484,16 +484,16 @@ message DutiesResponse { message Duty { // The committee a validator is assigned to. - repeated uint64 committee = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + repeated uint64 committee = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The index into the committee where the validator belongs in. - uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; // Slot at which a validator must attest. - uint64 attester_slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 attester_slot = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Slots at which a validator must propose a beacon chain block. - repeated uint64 proposer_slots = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + repeated uint64 proposer_slots = 4 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // 48 byte BLS public key for the validator who's assigned to perform a duty. bytes public_key = 5 [(ethereum.eth.ext.ssz_size) = "48"]; @@ -502,7 +502,7 @@ message DutiesResponse { ValidatorStatus status = 6; // The index of the validator in the beacon state. - uint64 validator_index = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // Whether the validator belongs in the sync committee and has to perform sync committee duty. bool is_sync_committee = 8; @@ -511,7 +511,7 @@ message DutiesResponse { message BlockRequest { // Slot for which the block should be proposed. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Validator's 32 byte randao reveal secret of the current epoch. bytes randao_reveal = 2 [(ethereum.eth.ext.ssz_size) = "48"]; @@ -533,10 +533,10 @@ message ProposeExitResponse { message AttestationDataRequest { // Slot for which the attestation should be created. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Committee index the attestation should be created for. - uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; } message AttestResponse { @@ -546,9 +546,9 @@ message AttestResponse { message AggregateSelectionRequest { // Slot for which the aggregation request applies. - uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + uint64 slot = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // Committee index of the validator at the given slot. - uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + uint64 committee_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; // 48 byte public key of the validator. bytes public_key = 3 [(ethereum.eth.ext.ssz_size) = "48", (ethereum.eth.ext.spec_name) = "pubkey"]; // 96 byte signature of the validator on the slot. This is used as proof that the validator is @@ -573,9 +573,9 @@ message SignedAggregateSubmitResponse { message CommitteeSubnetsSubscribeRequest { // A list of intended slots to subscribe. - repeated uint64 slots = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Slot"]; + repeated uint64 slots = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Slot"]; // A list of intended committee ids to subscribe. It is mapped 1-to-1 with the slots - repeated uint64 committee_ids = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.CommitteeIndex"]; + repeated uint64 committee_ids = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.CommitteeIndex"]; // Whether to subscribe as an aggregator or by default attester. // It is mapped 1-to-1 with the slots and committee ids. // Subscribe as an aggregator means to join the subnet. @@ -600,24 +600,24 @@ message Validator { // Epoch when the validator became eligible for activation. This field may // be zero if the validator was present in the Ethereum proof of stake genesis. This // field is FAR_FUTURE_EPOCH if the validator has not been activated. - uint64 activation_eligibility_epoch = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 activation_eligibility_epoch = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Epoch when the validator was activated. This field may be zero if the // validator was present in the Ethereum proof of stake genesis. This field is // FAR_FUTURE_EPOCH if the validator has not been activated. - uint64 activation_epoch = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 activation_epoch = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Epoch when the validator was exited. This field is FAR_FUTURE_EPOCH if // the validator has not exited. // FAR_FUTURE_EPOCH is a constant defined by the official Ethereum Beacon Chain specification: // https://github.com/ethereum/consensus-specs/blob/v0.9.2/specs/core/0_beacon-chain.md#constants - uint64 exit_epoch = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 exit_epoch = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Epoch when the validator is eligible to withdraw their funds. This field // is FAR_FUTURE_EPOCH if the validator has not exited. // FAR_FUTURE_EPOCH is a constant defined by the official Ethereum Beacon Chain specification: // https://github.com/ethereum/consensus-specs/blob/v0.9.2/specs/core/0_beacon-chain.md#constants - uint64 withdrawable_epoch = 8 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 withdrawable_epoch = 8 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; } // An Ethereum validator after Capella fork. @@ -637,24 +637,24 @@ message ValidatorCapella { // Epoch when the validator became eligible for activation. This field may // be zero if the validator was present in the Ethereum proof of stake genesis. This // field is FAR_FUTURE_EPOCH if the validator has not been activated. - uint64 activation_eligibility_epoch = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 activation_eligibility_epoch = 5 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Epoch when the validator was activated. This field may be zero if the // validator was present in the Ethereum proof of stake genesis. This field is // FAR_FUTURE_EPOCH if the validator has not been activated. - uint64 activation_epoch = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 activation_epoch = 6 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Epoch when the validator was exited. This field is FAR_FUTURE_EPOCH if // the validator has not exited. // FAR_FUTURE_EPOCH is a constant defined by the official Ethereum Beacon Chain specification: // https://github.com/ethereum/consensus-specs/blob/v1.1.10/specs/phase0/beacon-chain.md#constants - uint64 exit_epoch = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 exit_epoch = 7 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // Epoch when the validator is eligible to withdraw their funds. This field // is FAR_FUTURE_EPOCH if the validator has not exited. // FAR_FUTURE_EPOCH is a constant defined by the official Ethereum Beacon Chain specification: // https://github.com/ethereum/consensus-specs/blob/v1.1.10/specs/phase0/beacon-chain.md#constants - uint64 withdrawable_epoch = 8 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 withdrawable_epoch = 8 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // New in Capella. // @@ -662,7 +662,7 @@ message ValidatorCapella { // This field is FAR_FUTURE_EPOCH if the validator's withdrawal has not been processed. // FAR_FUTURE_EPOCH is a constant defined by the official Ethereum Beacon Chain specification: // https://github.com/ethereum/consensus-specs/blob/v1.1.10/specs/phase0/beacon-chain.md#constants - uint64 fully_withdrawn_epoch = 9 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 fully_withdrawn_epoch = 9 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; } // ValidatorParticipation stores participation metrics during a given epoch. @@ -700,10 +700,10 @@ message ValidatorInfo { bytes public_key = 1; // The validator's index in the beacon state. - uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The epoch for which the information pertains. - uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // The validator's current status. ValidatorStatus status = 4; @@ -737,7 +737,7 @@ message DoppelGangerRequest { // The validator's 48 byte BLS public key. bytes public_key = 1 [(ethereum.eth.ext.ssz_size) = "48", (ethereum.eth.ext.spec_name) = "pubkey"]; // The validator's last recorded epoch to attest. - uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.Epoch"]; + uint64 epoch = 3 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.Epoch"]; // The validator's last recorded signed root. bytes signed_root = 2 [(ethereum.eth.ext.ssz_size) = "32"]; } @@ -766,7 +766,7 @@ message PrepareBeaconProposerRequest { bytes fee_recipient = 1 [(ethereum.eth.ext.ssz_size) = "20"]; // The proposer validator index. - uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 2 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; } repeated FeeRecipientContainer recipients = 1; } \ No newline at end of file diff --git a/proto/prysm/v1alpha1/withdrawals.pb.go b/proto/prysm/v1alpha1/withdrawals.pb.go index bee2c8be5..034f7855f 100755 --- a/proto/prysm/v1alpha1/withdrawals.pb.go +++ b/proto/prysm/v1alpha1/withdrawals.pb.go @@ -10,8 +10,8 @@ import ( reflect "reflect" sync "sync" - github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/consensus-types/primitives" - _ "github.com/prysmaticlabs/prysm/proto/eth/ext" + github_com_prysmaticlabs_prysm_consensus_types_primitives "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + _ "github.com/prysmaticlabs/prysm/v3/proto/eth/ext" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) @@ -28,7 +28,7 @@ type BLSToExecutionChange struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"` + ValidatorIndex github_com_prysmaticlabs_prysm_consensus_types_primitives.ValidatorIndex `protobuf:"varint,1,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty" cast-type:"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"` FromBlsPubkey []byte `protobuf:"bytes,2,opt,name=from_bls_pubkey,json=fromBlsPubkey,proto3" json:"from_bls_pubkey,omitempty" ssz-size:"48"` ToExecutionAddress []byte `protobuf:"bytes,3,opt,name=to_execution_address,json=toExecutionAddress,proto3" json:"to_execution_address,omitempty" ssz-size:"20"` } diff --git a/proto/prysm/v1alpha1/withdrawals.proto b/proto/prysm/v1alpha1/withdrawals.proto index 9024c0ec0..63150aaa6 100644 --- a/proto/prysm/v1alpha1/withdrawals.proto +++ b/proto/prysm/v1alpha1/withdrawals.proto @@ -18,7 +18,7 @@ package ethereum.eth.v1alpha1; import "proto/eth/ext/options.proto"; option csharp_namespace = "Ethereum.Eth.v1alpha1"; -option go_package = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1;eth"; +option go_package = "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1;eth"; option java_multiple_files = true; option java_outer_classname = "WithdrawalsProto"; option java_package = "org.ethereum.eth.v1alpha1"; @@ -27,7 +27,7 @@ option php_namespace = "Ethereum\\Eth\\v1alpha1"; // The message requesting a BLS to execution withdrawal credentials change message BLSToExecutionChange { // The validator index requesting the change - uint64 validator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/consensus-types/primitives.ValidatorIndex"]; + uint64 validator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives.ValidatorIndex"]; // The public key of the BLS address requesting the change bytes from_bls_pubkey = 2 [(ethereum.eth.ext.ssz_size) = "48"]; diff --git a/proto/testing/BUILD.bazel b/proto/testing/BUILD.bazel index ffce93b08..2d26d1d1e 100644 --- a/proto/testing/BUILD.bazel +++ b/proto/testing/BUILD.bazel @@ -18,7 +18,7 @@ proto_library( go_proto_library( name = "ethereum_testing_go_proto", compiler = "//:cast_proto_compiler", - importpath = "github.com/prysmaticlabs/prysm/proto/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/testing", proto = ":testing_proto", visibility = ["//visibility:public"], deps = [ @@ -35,7 +35,7 @@ go_library( name = "go_default_library", testonly = True, embed = [":ethereum_testing_go_proto"], - importpath = "github.com/prysmaticlabs/prysm/proto/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/proto/testing", visibility = ["//visibility:public"], ) diff --git a/proto/testing/tags_test.go b/proto/testing/tags_test.go index b0dae1295..9bef4c241 100644 --- a/proto/testing/tags_test.go +++ b/proto/testing/tags_test.go @@ -7,10 +7,10 @@ import ( "strings" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSSZTagSize(t *testing.T) { diff --git a/runtime/BUILD.bazel b/runtime/BUILD.bazel index 246e05856..5b198a2c0 100644 --- a/runtime/BUILD.bazel +++ b/runtime/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["service_registry.go"], - importpath = "github.com/prysmaticlabs/prysm/runtime", + importpath = "github.com/prysmaticlabs/prysm/v3/runtime", visibility = ["//visibility:public"], deps = ["@com_github_sirupsen_logrus//:go_default_library"], ) diff --git a/runtime/debug/BUILD.bazel b/runtime/debug/BUILD.bazel index 8267976f2..12dce4f42 100644 --- a/runtime/debug/BUILD.bazel +++ b/runtime/debug/BUILD.bazel @@ -15,7 +15,7 @@ go_library( ":use_cgosymbolizer": ["cgo_symbolizer.go"], "//conditions:default": [], }), - importpath = "github.com/prysmaticlabs/prysm/runtime/debug", + importpath = "github.com/prysmaticlabs/prysm/v3/runtime/debug", visibility = ["//visibility:public"], deps = [ "@com_github_fjl_memsize//memsizeui:go_default_library", diff --git a/runtime/fdlimits/BUILD.bazel b/runtime/fdlimits/BUILD.bazel index 87350dde1..8970d803e 100644 --- a/runtime/fdlimits/BUILD.bazel +++ b/runtime/fdlimits/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["fdlimits.go"], - importpath = "github.com/prysmaticlabs/prysm/runtime/fdlimits", + importpath = "github.com/prysmaticlabs/prysm/v3/runtime/fdlimits", visibility = ["//visibility:public"], deps = [ "@com_github_ethereum_go_ethereum//common/fdlimit:go_default_library", diff --git a/runtime/fdlimits/fdlimits_test.go b/runtime/fdlimits/fdlimits_test.go index d608a0d81..add4cebfa 100644 --- a/runtime/fdlimits/fdlimits_test.go +++ b/runtime/fdlimits/fdlimits_test.go @@ -4,8 +4,8 @@ import ( "testing" gethLimit "github.com/ethereum/go-ethereum/common/fdlimit" - "github.com/prysmaticlabs/prysm/runtime/fdlimits" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/runtime/fdlimits" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestSetMaxFdLimits(t *testing.T) { diff --git a/runtime/interop/BUILD.bazel b/runtime/interop/BUILD.bazel index 8c4b93b15..554656c10 100644 --- a/runtime/interop/BUILD.bazel +++ b/runtime/interop/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "generate_genesis_state.go", "generate_keys.go", ], - importpath = "github.com/prysmaticlabs/prysm/runtime/interop", + importpath = "github.com/prysmaticlabs/prysm/v3/runtime/interop", visibility = ["//visibility:public"], deps = [ "//async:go_default_library", diff --git a/runtime/interop/generate_genesis_state.go b/runtime/interop/generate_genesis_state.go index 87b652ed8..f37734a6d 100644 --- a/runtime/interop/generate_genesis_state.go +++ b/runtime/interop/generate_genesis_state.go @@ -7,18 +7,18 @@ import ( "sync" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - coreState "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - statenative "github.com/prysmaticlabs/prysm/beacon-chain/state/state-native" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/hash" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + coreState "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + statenative "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/state-native" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time" ) var ( diff --git a/runtime/interop/generate_genesis_state_test.go b/runtime/interop/generate_genesis_state_test.go index cf6d6a01d..be6ae0d8b 100644 --- a/runtime/interop/generate_genesis_state_test.go +++ b/runtime/interop/generate_genesis_state_test.go @@ -4,13 +4,13 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestGenerateGenesisState(t *testing.T) { diff --git a/runtime/interop/generate_keys.go b/runtime/interop/generate_keys.go index 6b755e22a..4a256d6d3 100644 --- a/runtime/interop/generate_keys.go +++ b/runtime/interop/generate_keys.go @@ -5,12 +5,12 @@ import ( "math/big" "sync" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" ) const ( diff --git a/runtime/interop/generate_keys_test.go b/runtime/interop/generate_keys_test.go index 8d0caa825..8850fb281 100644 --- a/runtime/interop/generate_keys_test.go +++ b/runtime/interop/generate_keys_test.go @@ -7,9 +7,9 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/go-yaml/yaml" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) type TestCase struct { diff --git a/runtime/logging/logrus-prefixed-formatter/BUILD.bazel b/runtime/logging/logrus-prefixed-formatter/BUILD.bazel index 244c3bcf1..2a5a10430 100644 --- a/runtime/logging/logrus-prefixed-formatter/BUILD.bazel +++ b/runtime/logging/logrus-prefixed-formatter/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["formatter.go"], - importpath = "github.com/prysmaticlabs/prysm/runtime/logging/logrus-prefixed-formatter", + importpath = "github.com/prysmaticlabs/prysm/v3/runtime/logging/logrus-prefixed-formatter", visibility = ["//visibility:public"], deps = [ "@com_github_mgutz_ansi//:go_default_library", diff --git a/runtime/logging/logrus-prefixed-formatter/formatter_test.go b/runtime/logging/logrus-prefixed-formatter/formatter_test.go index d5faf115d..bdca01124 100644 --- a/runtime/logging/logrus-prefixed-formatter/formatter_test.go +++ b/runtime/logging/logrus-prefixed-formatter/formatter_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/pkg/errors" - . "github.com/prysmaticlabs/prysm/runtime/logging/logrus-prefixed-formatter" - "github.com/prysmaticlabs/prysm/testing/require" + . "github.com/prysmaticlabs/prysm/v3/runtime/logging/logrus-prefixed-formatter" + "github.com/prysmaticlabs/prysm/v3/testing/require" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" diff --git a/runtime/maxprocs/BUILD.bazel b/runtime/maxprocs/BUILD.bazel index b2d404db8..202694518 100644 --- a/runtime/maxprocs/BUILD.bazel +++ b/runtime/maxprocs/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["maxprocs.go"], - importpath = "github.com/prysmaticlabs/prysm/runtime/maxprocs", + importpath = "github.com/prysmaticlabs/prysm/v3/runtime/maxprocs", visibility = ["//visibility:public"], deps = [ "@com_github_sirupsen_logrus//:go_default_library", diff --git a/runtime/messagehandler/BUILD.bazel b/runtime/messagehandler/BUILD.bazel index 374efa54c..6c2b5d1ef 100644 --- a/runtime/messagehandler/BUILD.bazel +++ b/runtime/messagehandler/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["messagehandler.go"], - importpath = "github.com/prysmaticlabs/prysm/runtime/messagehandler", + importpath = "github.com/prysmaticlabs/prysm/v3/runtime/messagehandler", visibility = ["//visibility:public"], deps = [ "@com_github_libp2p_go_libp2p_pubsub//:go_default_library", diff --git a/runtime/messagehandler/messagehandler_test.go b/runtime/messagehandler/messagehandler_test.go index 6ff1fb1d3..c904e73f6 100644 --- a/runtime/messagehandler/messagehandler_test.go +++ b/runtime/messagehandler/messagehandler_test.go @@ -5,8 +5,8 @@ import ( "testing" pubsub "github.com/libp2p/go-libp2p-pubsub" - "github.com/prysmaticlabs/prysm/runtime/messagehandler" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/runtime/messagehandler" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/runtime/prereqs/BUILD.bazel b/runtime/prereqs/BUILD.bazel index 1f18d275f..840a62a2c 100644 --- a/runtime/prereqs/BUILD.bazel +++ b/runtime/prereqs/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["prereq.go"], - importpath = "github.com/prysmaticlabs/prysm/runtime/prereqs", + importpath = "github.com/prysmaticlabs/prysm/v3/runtime/prereqs", visibility = ["//visibility:public"], deps = [ "@com_github_pkg_errors//:go_default_library", diff --git a/runtime/prereqs/prereq_test.go b/runtime/prereqs/prereq_test.go index b160b5aea..2484fd7aa 100644 --- a/runtime/prereqs/prereq_test.go +++ b/runtime/prereqs/prereq_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/runtime/service_registry_test.go b/runtime/service_registry_test.go index 20f066cb6..83691514e 100644 --- a/runtime/service_registry_test.go +++ b/runtime/service_registry_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) type mockService struct { diff --git a/runtime/tos/BUILD.bazel b/runtime/tos/BUILD.bazel index 3295e8b24..19d2b7182 100644 --- a/runtime/tos/BUILD.bazel +++ b/runtime/tos/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["tos.go"], - importpath = "github.com/prysmaticlabs/prysm/runtime/tos", + importpath = "github.com/prysmaticlabs/prysm/v3/runtime/tos", visibility = ["//visibility:public"], deps = [ "//cmd:go_default_library", diff --git a/runtime/tos/tos.go b/runtime/tos/tos.go index adcad5d2f..cbb02ccd6 100644 --- a/runtime/tos/tos.go +++ b/runtime/tos/tos.go @@ -6,9 +6,9 @@ import ( "strings" "github.com/logrusorgru/aurora" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/io/prompt" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/io/prompt" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/runtime/tos/tos_test.go b/runtime/tos/tos_test.go index f8fafebfb..9761cd59d 100644 --- a/runtime/tos/tos_test.go +++ b/runtime/tos/tos_test.go @@ -6,8 +6,8 @@ import ( "path/filepath" "testing" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/urfave/cli/v2" ) diff --git a/runtime/version/BUILD.bazel b/runtime/version/BUILD.bazel index f0653c2f2..351d3c207 100644 --- a/runtime/version/BUILD.bazel +++ b/runtime/version/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "metrics.go", "version.go", ], - importpath = "github.com/prysmaticlabs/prysm/runtime/version", + importpath = "github.com/prysmaticlabs/prysm/v3/runtime/version", visibility = ["//visibility:public"], x_defs = { "gitCommit": "{STABLE_GIT_COMMIT}", diff --git a/testing/assert/BUILD.bazel b/testing/assert/BUILD.bazel index 0ecf2951b..d8dc015d8 100644 --- a/testing/assert/BUILD.bazel +++ b/testing/assert/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["assertions.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/assert", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/assert", visibility = ["//visibility:public"], deps = [ "//testing/assertions:go_default_library", diff --git a/testing/assert/assertions.go b/testing/assert/assertions.go index 4c49ba83e..71857823e 100644 --- a/testing/assert/assertions.go +++ b/testing/assert/assertions.go @@ -1,7 +1,7 @@ package assert import ( - "github.com/prysmaticlabs/prysm/testing/assertions" + "github.com/prysmaticlabs/prysm/v3/testing/assertions" "github.com/sirupsen/logrus/hooks/test" ) diff --git a/testing/assertions/BUILD.bazel b/testing/assertions/BUILD.bazel index f17c264cd..16b0eda71 100644 --- a/testing/assertions/BUILD.bazel +++ b/testing/assertions/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["assertions.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/assertions", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/assertions", visibility = ["//visibility:public"], deps = [ "//encoding/ssz/equality:go_default_library", diff --git a/testing/assertions/assertions.go b/testing/assertions/assertions.go index 460e3a420..c4e392f5d 100644 --- a/testing/assertions/assertions.go +++ b/testing/assertions/assertions.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/d4l3k/messagediff" - "github.com/prysmaticlabs/prysm/encoding/ssz/equality" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz/equality" "github.com/sirupsen/logrus/hooks/test" "google.golang.org/protobuf/proto" ) diff --git a/testing/assertions/assertions_test.go b/testing/assertions/assertions_test.go index 012516dcf..691c3c52f 100644 --- a/testing/assertions/assertions_test.go +++ b/testing/assertions/assertions_test.go @@ -6,11 +6,11 @@ import ( "strings" "testing" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - testpb "github.com/prysmaticlabs/prysm/proto/testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/assertions" - "github.com/prysmaticlabs/prysm/testing/require" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + testpb "github.com/prysmaticlabs/prysm/v3/proto/testing" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/assertions" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/testing/benchmark/BUILD.bazel b/testing/benchmark/BUILD.bazel index 70120820a..bbe374274 100644 --- a/testing/benchmark/BUILD.bazel +++ b/testing/benchmark/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", srcs = ["pregen.go"], data = ["//testing/benchmark/benchmark_files:benchmark_data"], - importpath = "github.com/prysmaticlabs/prysm/testing/benchmark", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/benchmark", visibility = ["//visibility:public"], deps = [ "//beacon-chain/state:go_default_library", diff --git a/testing/benchmark/pregen.go b/testing/benchmark/pregen.go index 6450cbe23..7adc445af 100644 --- a/testing/benchmark/pregen.go +++ b/testing/benchmark/pregen.go @@ -7,10 +7,10 @@ import ( "os" "github.com/bazelbuild/rules_go/go/tools/bazel" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ValidatorCount is for declaring how many validators the benchmarks will be diff --git a/testing/benchmark/pregen_test.go b/testing/benchmark/pregen_test.go index 5fbb77018..dee337f05 100644 --- a/testing/benchmark/pregen_test.go +++ b/testing/benchmark/pregen_test.go @@ -3,7 +3,7 @@ package benchmark import ( "testing" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestPreGenFullBlock(t *testing.T) { diff --git a/testing/bls/BUILD.bazel b/testing/bls/BUILD.bazel index 2254c7bbc..7d4f0be02 100644 --- a/testing/bls/BUILD.bazel +++ b/testing/bls/BUILD.bazel @@ -46,6 +46,6 @@ go_library( "sign_test.yaml.go", "verify_test.yaml.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/bls", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/bls", visibility = ["//visibility:public"], ) diff --git a/testing/bls/aggregate_test.go b/testing/bls/aggregate_test.go index 85b143d7c..6fb730892 100644 --- a/testing/bls/aggregate_test.go +++ b/testing/bls/aggregate_test.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/testing/bls/utils" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/testing/bls/utils" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestAggregate(t *testing.T) { diff --git a/testing/bls/aggregate_verify_test.go b/testing/bls/aggregate_verify_test.go index 122c3d36d..3412f0a6a 100644 --- a/testing/bls/aggregate_verify_test.go +++ b/testing/bls/aggregate_verify_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/bls/utils" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/bls/utils" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestAggregateVerify(t *testing.T) { diff --git a/testing/bls/batch_verify_test.go b/testing/bls/batch_verify_test.go index 8d2875cad..3228589ff 100644 --- a/testing/bls/batch_verify_test.go +++ b/testing/bls/batch_verify_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/bls/utils" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/bls/utils" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestBatchVerify(t *testing.T) { diff --git a/testing/bls/deserialization_G1_test.go b/testing/bls/deserialization_G1_test.go index 276281f41..a850585ff 100644 --- a/testing/bls/deserialization_G1_test.go +++ b/testing/bls/deserialization_G1_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/testing/bls/utils" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/testing/bls/utils" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestDeserializationG1(t *testing.T) { diff --git a/testing/bls/deserialization_G2_test.go b/testing/bls/deserialization_G2_test.go index 630533fb6..47b59d42e 100644 --- a/testing/bls/deserialization_G2_test.go +++ b/testing/bls/deserialization_G2_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/testing/bls/utils" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/testing/bls/utils" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestDeserializationG2(t *testing.T) { diff --git a/testing/bls/fast_aggregate_verify_test.go b/testing/bls/fast_aggregate_verify_test.go index 898b25a87..4055dabf0 100644 --- a/testing/bls/fast_aggregate_verify_test.go +++ b/testing/bls/fast_aggregate_verify_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/bls/utils" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/bls/utils" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestFastAggregateVerify(t *testing.T) { diff --git a/testing/bls/hash_to_G2_test.go b/testing/bls/hash_to_G2_test.go index d0d6a09aa..41cdacb17 100644 --- a/testing/bls/hash_to_G2_test.go +++ b/testing/bls/hash_to_G2_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/testing/bls/utils" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/bls/utils" + "github.com/prysmaticlabs/prysm/v3/testing/require" blst "github.com/supranational/blst/bindings/go" ) diff --git a/testing/bls/sign_test.go b/testing/bls/sign_test.go index 55b3b1b3e..d50d0713c 100644 --- a/testing/bls/sign_test.go +++ b/testing/bls/sign_test.go @@ -7,10 +7,10 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/testing/bls/utils" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/testing/bls/utils" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSign(t *testing.T) { diff --git a/testing/bls/utils/BUILD.bazel b/testing/bls/utils/BUILD.bazel index 04bcdc881..f372d3919 100644 --- a/testing/bls/utils/BUILD.bazel +++ b/testing/bls/utils/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["utils.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/bls/utils", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/bls/utils", visibility = ["//testing/bls:__subpackages__"], deps = [ "//io/file:go_default_library", diff --git a/testing/bls/utils/utils.go b/testing/bls/utils/utils.go index 7c7e8aef2..28cbd2b5f 100644 --- a/testing/bls/utils/utils.go +++ b/testing/bls/utils/utils.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/bazelbuild/rules_go/go/tools/bazel" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func RetrieveFiles(name string, t *testing.T) ([]string, [][]byte) { diff --git a/testing/bls/verify_test.go b/testing/bls/verify_test.go index 31b6ad798..1d01d5049 100644 --- a/testing/bls/verify_test.go +++ b/testing/bls/verify_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/testing/bls/utils" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/testing/bls/utils" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestVerify(t *testing.T) { diff --git a/testing/endtoend/component_handler_test.go b/testing/endtoend/component_handler_test.go index d1cc7885f..1a53b9278 100644 --- a/testing/endtoend/component_handler_test.go +++ b/testing/endtoend/component_handler_test.go @@ -6,12 +6,12 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/components" - "github.com/prysmaticlabs/prysm/testing/endtoend/components/eth1" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/components" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/components/eth1" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" "golang.org/x/sync/errgroup" ) diff --git a/testing/endtoend/components/BUILD.bazel b/testing/endtoend/components/BUILD.bazel index 3df767334..155b9da65 100644 --- a/testing/endtoend/components/BUILD.bazel +++ b/testing/endtoend/components/BUILD.bazel @@ -17,7 +17,7 @@ go_library( "//testing/endtoend/static-files/eth1:eth1data", "@lighthouse//:lighthouse_bin", ], - importpath = "github.com/prysmaticlabs/prysm/testing/endtoend/components", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/endtoend/components", visibility = ["//testing/endtoend:__subpackages__"], deps = [ "//cmd:go_default_library", diff --git a/testing/endtoend/components/beacon_node.go b/testing/endtoend/components/beacon_node.go index 12e66dcfb..cca4c93fb 100644 --- a/testing/endtoend/components/beacon_node.go +++ b/testing/endtoend/components/beacon_node.go @@ -14,13 +14,13 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/pkg/errors" - cmdshared "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/beacon-chain/flags" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + cmdshared "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/beacon-chain/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" ) var _ e2etypes.ComponentRunner = (*BeaconNode)(nil) diff --git a/testing/endtoend/components/boot_node.go b/testing/endtoend/components/boot_node.go index 4d32390e5..88cd6ba0c 100644 --- a/testing/endtoend/components/boot_node.go +++ b/testing/endtoend/components/boot_node.go @@ -10,9 +10,9 @@ import ( "syscall" "github.com/bazelbuild/rules_go/go/tools/bazel" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" ) var _ e2etypes.ComponentRunner = (*BootNode)(nil) diff --git a/testing/endtoend/components/eth1/BUILD.bazel b/testing/endtoend/components/eth1/BUILD.bazel index aa4a1c475..cc030b8af 100644 --- a/testing/endtoend/components/eth1/BUILD.bazel +++ b/testing/endtoend/components/eth1/BUILD.bazel @@ -11,7 +11,7 @@ go_library( "proxy.go", "transactions.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/endtoend/components/eth1", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/endtoend/components/eth1", visibility = ["//testing/endtoend:__subpackages__"], deps = [ "//config/params:go_default_library", diff --git a/testing/endtoend/components/eth1/helpers.go b/testing/endtoend/components/eth1/helpers.go index c5e5c0fae..6443c6f2b 100644 --- a/testing/endtoend/components/eth1/helpers.go +++ b/testing/endtoend/components/eth1/helpers.go @@ -8,7 +8,7 @@ import ( "github.com/ethereum/go-ethereum/accounts/keystore" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/ethclient" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" ) // NetworkId is the ID of the ETH1 chain. diff --git a/testing/endtoend/components/eth1/miner.go b/testing/endtoend/components/eth1/miner.go index 398f0bf0b..53d4b19d7 100644 --- a/testing/endtoend/components/eth1/miner.go +++ b/testing/endtoend/components/eth1/miner.go @@ -18,12 +18,12 @@ import ( "github.com/ethereum/go-ethereum/ethclient" "github.com/ethereum/go-ethereum/rpc" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - contracts "github.com/prysmaticlabs/prysm/contracts/deposit/mock" - io "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + contracts "github.com/prysmaticlabs/prysm/v3/contracts/deposit/mock" + io "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" log "github.com/sirupsen/logrus" ) diff --git a/testing/endtoend/components/eth1/node.go b/testing/endtoend/components/eth1/node.go index a658f5b8a..54674af89 100644 --- a/testing/endtoend/components/eth1/node.go +++ b/testing/endtoend/components/eth1/node.go @@ -12,9 +12,9 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" log "github.com/sirupsen/logrus" ) diff --git a/testing/endtoend/components/eth1/node_set.go b/testing/endtoend/components/eth1/node_set.go index 70c27c31b..262c8273b 100644 --- a/testing/endtoend/components/eth1/node_set.go +++ b/testing/endtoend/components/eth1/node_set.go @@ -4,9 +4,9 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" ) // NodeSet represents a set of Eth1 nodes, none of which is a mining node. diff --git a/testing/endtoend/components/eth1/proxy.go b/testing/endtoend/components/eth1/proxy.go index e17074147..f14b0cce5 100644 --- a/testing/endtoend/components/eth1/proxy.go +++ b/testing/endtoend/components/eth1/proxy.go @@ -10,11 +10,11 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" - proxy "github.com/prysmaticlabs/prysm/testing/middleware/engine-api-proxy" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" + proxy "github.com/prysmaticlabs/prysm/v3/testing/middleware/engine-api-proxy" log "github.com/sirupsen/logrus" ) diff --git a/testing/endtoend/components/eth1/transactions.go b/testing/endtoend/components/eth1/transactions.go index f7ea4a0db..99822aaca 100644 --- a/testing/endtoend/components/eth1/transactions.go +++ b/testing/endtoend/components/eth1/transactions.go @@ -16,9 +16,9 @@ import ( "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/ethclient" "github.com/ethereum/go-ethereum/rpc" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/rand" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" "github.com/sirupsen/logrus" "golang.org/x/sync/errgroup" ) diff --git a/testing/endtoend/components/lighthouse_beacon.go b/testing/endtoend/components/lighthouse_beacon.go index 1270f170d..1972f69d9 100644 --- a/testing/endtoend/components/lighthouse_beacon.go +++ b/testing/endtoend/components/lighthouse_beacon.go @@ -13,11 +13,11 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" ) var _ e2etypes.ComponentRunner = (*LighthouseBeaconNode)(nil) diff --git a/testing/endtoend/components/lighthouse_validator.go b/testing/endtoend/components/lighthouse_validator.go index 80165d2f8..47b9d09c3 100644 --- a/testing/endtoend/components/lighthouse_validator.go +++ b/testing/endtoend/components/lighthouse_validator.go @@ -14,13 +14,13 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/google/uuid" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/testing/endtoend/components/tracing_sink.go b/testing/endtoend/components/tracing_sink.go index 648698792..4da6e6b3e 100644 --- a/testing/endtoend/components/tracing_sink.go +++ b/testing/endtoend/components/tracing_sink.go @@ -12,8 +12,8 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" ) // TracingSink to capture HTTP requests from opentracing pushes. This is meant diff --git a/testing/endtoend/components/validator.go b/testing/endtoend/components/validator.go index eae84d877..5d3e7696a 100644 --- a/testing/endtoend/components/validator.go +++ b/testing/endtoend/components/validator.go @@ -21,21 +21,21 @@ import ( "github.com/ethereum/go-ethereum/ethclient" "github.com/ethereum/go-ethereum/rpc" "github.com/pkg/errors" - cmdshared "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - validator_service_config "github.com/prysmaticlabs/prysm/config/validator/service" - contracts "github.com/prysmaticlabs/prysm/contracts/deposit" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/testing/endtoend/components/eth1" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" - "github.com/prysmaticlabs/prysm/testing/util" + cmdshared "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + validator_service_config "github.com/prysmaticlabs/prysm/v3/config/validator/service" + contracts "github.com/prysmaticlabs/prysm/v3/contracts/deposit" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/components/eth1" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) const depositGasLimit = 4000000 diff --git a/testing/endtoend/components/web3remotesigner.go b/testing/endtoend/components/web3remotesigner.go index bdcaf3fe7..9ad44228b 100644 --- a/testing/endtoend/components/web3remotesigner.go +++ b/testing/endtoend/components/web3remotesigner.go @@ -18,12 +18,12 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/runtime/interop" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" "gopkg.in/yaml.v2" ) diff --git a/testing/endtoend/components/web3remotesigner_test.go b/testing/endtoend/components/web3remotesigner_test.go index c7951cc7f..a358f4a46 100644 --- a/testing/endtoend/components/web3remotesigner_test.go +++ b/testing/endtoend/components/web3remotesigner_test.go @@ -5,10 +5,10 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/components" - e2eparams "github.com/prysmaticlabs/prysm/testing/endtoend/params" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/components" + e2eparams "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestWeb3RemoteSigner_StartsAndReturnsPublicKeys(t *testing.T) { diff --git a/testing/endtoend/endtoend_setup_test.go b/testing/endtoend/endtoend_setup_test.go index 738a4d511..6e992a6a0 100644 --- a/testing/endtoend/endtoend_setup_test.go +++ b/testing/endtoend/endtoend_setup_test.go @@ -6,11 +6,11 @@ import ( "strconv" "testing" - "github.com/prysmaticlabs/prysm/config/params" - ev "github.com/prysmaticlabs/prysm/testing/endtoend/evaluators" - e2eParams "github.com/prysmaticlabs/prysm/testing/endtoend/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/types" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + ev "github.com/prysmaticlabs/prysm/v3/testing/endtoend/evaluators" + e2eParams "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func e2eMinimal(t *testing.T, cfgo ...types.E2EConfigOpt) *testRunner { diff --git a/testing/endtoend/endtoend_test.go b/testing/endtoend/endtoend_test.go index f948b7650..1b3267ca5 100644 --- a/testing/endtoend/endtoend_test.go +++ b/testing/endtoend/endtoend_test.go @@ -14,28 +14,28 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/api/client/beacon" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/io/file" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - "github.com/prysmaticlabs/prysm/proto/eth/service" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" + "github.com/prysmaticlabs/prysm/v3/api/client/beacon" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/io/file" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/endtoend/components" - "github.com/prysmaticlabs/prysm/testing/endtoend/components/eth1" - ev "github.com/prysmaticlabs/prysm/testing/endtoend/evaluators" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/components" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/components/eth1" + ev "github.com/prysmaticlabs/prysm/v3/testing/endtoend/evaluators" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/testing/require" log "github.com/sirupsen/logrus" "golang.org/x/sync/errgroup" "google.golang.org/grpc" diff --git a/testing/endtoend/evaluators/BUILD.bazel b/testing/endtoend/evaluators/BUILD.bazel index 0eca0c1c2..a9b8b8766 100644 --- a/testing/endtoend/evaluators/BUILD.bazel +++ b/testing/endtoend/evaluators/BUILD.bazel @@ -18,7 +18,7 @@ go_library( "slashing.go", "validator.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/endtoend/evaluators", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/endtoend/evaluators", visibility = ["//testing/endtoend:__subpackages__"], deps = [ "//beacon-chain/core/altair:go_default_library", diff --git a/testing/endtoend/evaluators/api_gateway_v1alpha1.go b/testing/endtoend/evaluators/api_gateway_v1alpha1.go index b61fa1ce6..d8025f982 100644 --- a/testing/endtoend/evaluators/api_gateway_v1alpha1.go +++ b/testing/endtoend/evaluators/api_gateway_v1alpha1.go @@ -9,10 +9,10 @@ import ( "github.com/golang/protobuf/ptypes/empty" "github.com/pkg/errors" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/policies" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" "google.golang.org/grpc" ) diff --git a/testing/endtoend/evaluators/api_middleware.go b/testing/endtoend/evaluators/api_middleware.go index ef283c9ef..52fa36a33 100644 --- a/testing/endtoend/evaluators/api_middleware.go +++ b/testing/endtoend/evaluators/api_middleware.go @@ -11,14 +11,14 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/pkg/errors" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/proto/eth/service" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - "github.com/prysmaticlabs/prysm/testing/endtoend/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/policies" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" "google.golang.org/grpc" ) diff --git a/testing/endtoend/evaluators/data.go b/testing/endtoend/evaluators/data.go index 90ba823a5..8e5cde671 100644 --- a/testing/endtoend/evaluators/data.go +++ b/testing/endtoend/evaluators/data.go @@ -4,9 +4,9 @@ import ( "context" "errors" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" "google.golang.org/grpc" ) diff --git a/testing/endtoend/evaluators/execution_engine.go b/testing/endtoend/evaluators/execution_engine.go index bae1072b4..369e3a8e4 100644 --- a/testing/endtoend/evaluators/execution_engine.go +++ b/testing/endtoend/evaluators/execution_engine.go @@ -6,17 +6,17 @@ import ( "strconv" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - ctypes "github.com/prysmaticlabs/prysm/consensus-types/primitives" - mathutil "github.com/prysmaticlabs/prysm/math" - "github.com/prysmaticlabs/prysm/proto/eth/service" - v2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/policies" - "github.com/prysmaticlabs/prysm/testing/endtoend/types" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/config/params" + ctypes "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + mathutil "github.com/prysmaticlabs/prysm/v3/math" + "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + v2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/testing/endtoend/evaluators/fee_recipient.go b/testing/endtoend/evaluators/fee_recipient.go index 8763a12cb..e00be40a2 100644 --- a/testing/endtoend/evaluators/fee_recipient.go +++ b/testing/endtoend/evaluators/fee_recipient.go @@ -9,16 +9,16 @@ import ( "github.com/ethereum/go-ethereum/ethclient" "github.com/ethereum/go-ethereum/rpc" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/testing/endtoend/components" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/policies" - "github.com/prysmaticlabs/prysm/testing/endtoend/types" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/components" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/testing/endtoend/evaluators/finality.go b/testing/endtoend/evaluators/finality.go index 0b9675369..99dc1a698 100644 --- a/testing/endtoend/evaluators/finality.go +++ b/testing/endtoend/evaluators/finality.go @@ -5,10 +5,10 @@ import ( "fmt" "github.com/pkg/errors" - ethtypes "github.com/prysmaticlabs/prysm/consensus-types/primitives" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/endtoend/policies" - "github.com/prysmaticlabs/prysm/testing/endtoend/types" + ethtypes "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/testing/endtoend/evaluators/fork.go b/testing/endtoend/evaluators/fork.go index 5ace5da82..3c07bfc4e 100644 --- a/testing/endtoend/evaluators/fork.go +++ b/testing/endtoend/evaluators/fork.go @@ -4,12 +4,12 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - "github.com/prysmaticlabs/prysm/testing/endtoend/policies" - "github.com/prysmaticlabs/prysm/testing/endtoend/types" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc" ) diff --git a/testing/endtoend/evaluators/metrics.go b/testing/endtoend/evaluators/metrics.go index 3646f38bf..fc06c9b62 100644 --- a/testing/endtoend/evaluators/metrics.go +++ b/testing/endtoend/evaluators/metrics.go @@ -11,13 +11,13 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/p2p" - "github.com/prysmaticlabs/prysm/network/forks" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/policies" - "github.com/prysmaticlabs/prysm/testing/endtoend/types" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p" + "github.com/prysmaticlabs/prysm/v3/network/forks" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/testing/endtoend/evaluators/node.go b/testing/endtoend/evaluators/node.go index e4a0544dc..eda4b2627 100644 --- a/testing/endtoend/evaluators/node.go +++ b/testing/endtoend/evaluators/node.go @@ -11,11 +11,11 @@ import ( "time" "github.com/pkg/errors" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/policies" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/testing/endtoend/evaluators/operations.go b/testing/endtoend/evaluators/operations.go index f164314ef..5899ce1b7 100644 --- a/testing/endtoend/evaluators/operations.go +++ b/testing/endtoend/evaluators/operations.go @@ -7,19 +7,19 @@ import ( "math" "github.com/pkg/errors" - corehelpers "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/policies" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" - "github.com/prysmaticlabs/prysm/testing/util" + corehelpers "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/testing/util" "golang.org/x/exp/rand" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" diff --git a/testing/endtoend/evaluators/peers.go b/testing/endtoend/evaluators/peers.go index 47b3f914d..6fd3621bd 100644 --- a/testing/endtoend/evaluators/peers.go +++ b/testing/endtoend/evaluators/peers.go @@ -4,9 +4,9 @@ import ( "context" "github.com/pkg/errors" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/endtoend/policies" - "github.com/prysmaticlabs/prysm/testing/endtoend/types" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/testing/endtoend/evaluators/slashing.go b/testing/endtoend/evaluators/slashing.go index 79372f37c..a1c0d0917 100644 --- a/testing/endtoend/evaluators/slashing.go +++ b/testing/endtoend/evaluators/slashing.go @@ -6,18 +6,18 @@ import ( "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/policies" - e2eTypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies" + e2eTypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/testing/endtoend/evaluators/validator.go b/testing/endtoend/evaluators/validator.go index 9eee5270a..68f1b4e0d 100644 --- a/testing/endtoend/evaluators/validator.go +++ b/testing/endtoend/evaluators/validator.go @@ -5,20 +5,20 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethtypes "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - "github.com/prysmaticlabs/prysm/proto/eth/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/endtoend/helpers" - e2eparams "github.com/prysmaticlabs/prysm/testing/endtoend/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/policies" - "github.com/prysmaticlabs/prysm/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethtypes "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers" + e2eparams "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/time/slots" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/testing/endtoend/helpers/BUILD.bazel b/testing/endtoend/helpers/BUILD.bazel index b7a410e4b..1554bedef 100644 --- a/testing/endtoend/helpers/BUILD.bazel +++ b/testing/endtoend/helpers/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "epochTimer.go", "helpers.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/endtoend/helpers", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/endtoend/helpers", visibility = ["//testing/endtoend:__subpackages__"], deps = [ "//config/params:go_default_library", diff --git a/testing/endtoend/helpers/epochTimer.go b/testing/endtoend/helpers/epochTimer.go index 36bae73a9..82e3a7d82 100644 --- a/testing/endtoend/helpers/epochTimer.go +++ b/testing/endtoend/helpers/epochTimer.go @@ -3,7 +3,7 @@ package helpers import ( "time" - prysmTime "github.com/prysmaticlabs/prysm/time" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" ) // EpochTicker is a special ticker for timing epoch changes. diff --git a/testing/endtoend/helpers/helpers.go b/testing/endtoend/helpers/helpers.go index 051869be4..e4781df08 100644 --- a/testing/endtoend/helpers/helpers.go +++ b/testing/endtoend/helpers/helpers.go @@ -17,11 +17,11 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/config/params" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - e2e "github.com/prysmaticlabs/prysm/testing/endtoend/params" - e2etypes "github.com/prysmaticlabs/prysm/testing/endtoend/types" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/config/params" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + e2e "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + e2etypes "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/time/slots" log "github.com/sirupsen/logrus" "golang.org/x/sync/errgroup" "google.golang.org/grpc" diff --git a/testing/endtoend/mainnet_scenario_e2e_test.go b/testing/endtoend/mainnet_scenario_e2e_test.go index 08c795316..6d7be6f29 100644 --- a/testing/endtoend/mainnet_scenario_e2e_test.go +++ b/testing/endtoend/mainnet_scenario_e2e_test.go @@ -3,7 +3,7 @@ package endtoend import ( "testing" - "github.com/prysmaticlabs/prysm/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" ) func TestEndToEnd_MainnetConfig_MultiClient(t *testing.T) { diff --git a/testing/endtoend/minimal_e2e_test.go b/testing/endtoend/minimal_e2e_test.go index 9c5c09463..854286450 100644 --- a/testing/endtoend/minimal_e2e_test.go +++ b/testing/endtoend/minimal_e2e_test.go @@ -3,7 +3,7 @@ package endtoend import ( "testing" - "github.com/prysmaticlabs/prysm/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" ) func TestEndToEnd_MinimalConfig(t *testing.T) { diff --git a/testing/endtoend/minimal_scenario_e2e_test.go b/testing/endtoend/minimal_scenario_e2e_test.go index a799a174f..a381b57d8 100644 --- a/testing/endtoend/minimal_scenario_e2e_test.go +++ b/testing/endtoend/minimal_scenario_e2e_test.go @@ -3,7 +3,7 @@ package endtoend import ( "testing" - "github.com/prysmaticlabs/prysm/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" ) func TestEndToEnd_MultiScenarioRun(t *testing.T) { diff --git a/testing/endtoend/minimal_slashing_e2e_test.go b/testing/endtoend/minimal_slashing_e2e_test.go index 97c9b0483..0f3225e05 100644 --- a/testing/endtoend/minimal_slashing_e2e_test.go +++ b/testing/endtoend/minimal_slashing_e2e_test.go @@ -4,11 +4,11 @@ import ( "fmt" "testing" - "github.com/prysmaticlabs/prysm/config/params" - ev "github.com/prysmaticlabs/prysm/testing/endtoend/evaluators" - e2eParams "github.com/prysmaticlabs/prysm/testing/endtoend/params" - "github.com/prysmaticlabs/prysm/testing/endtoend/types" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + ev "github.com/prysmaticlabs/prysm/v3/testing/endtoend/evaluators" + e2eParams "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params" + "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestEndToEnd_Slasher_MinimalConfig(t *testing.T) { diff --git a/testing/endtoend/params/BUILD.bazel b/testing/endtoend/params/BUILD.bazel index 52e97cbf7..14960024a 100644 --- a/testing/endtoend/params/BUILD.bazel +++ b/testing/endtoend/params/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["params.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/endtoend/params", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/endtoend/params", visibility = ["//testing/endtoend:__subpackages__"], deps = [ "//io/file:go_default_library", diff --git a/testing/endtoend/params/params.go b/testing/endtoend/params/params.go index 0d9bc2e74..5bf4f8899 100644 --- a/testing/endtoend/params/params.go +++ b/testing/endtoend/params/params.go @@ -13,7 +13,7 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/ethereum/go-ethereum/common" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/io/file" ) // params struct defines the parameters needed for running E2E tests to properly handle test sharding. diff --git a/testing/endtoend/params/params_test.go b/testing/endtoend/params/params_test.go index afb26b107..11f3858d2 100644 --- a/testing/endtoend/params/params_test.go +++ b/testing/endtoend/params/params_test.go @@ -3,8 +3,8 @@ package params import ( "testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func Test_port(t *testing.T) { diff --git a/testing/endtoend/policies/BUILD.bazel b/testing/endtoend/policies/BUILD.bazel index cd68a7cb0..3041fce8e 100644 --- a/testing/endtoend/policies/BUILD.bazel +++ b/testing/endtoend/policies/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["policies.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/endtoend/policies", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/endtoend/policies", visibility = ["//visibility:public"], deps = ["//consensus-types/primitives:go_default_library"], ) diff --git a/testing/endtoend/policies/policies.go b/testing/endtoend/policies/policies.go index c11d72d6a..78e50db08 100644 --- a/testing/endtoend/policies/policies.go +++ b/testing/endtoend/policies/policies.go @@ -1,6 +1,6 @@ package policies -import types "github.com/prysmaticlabs/prysm/consensus-types/primitives" +import types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" // AfterNthEpoch runs for every epoch after the provided epoch. func AfterNthEpoch(afterEpoch types.Epoch) func(epoch types.Epoch) bool { diff --git a/testing/endtoend/slasher_simulator_e2e_test.go b/testing/endtoend/slasher_simulator_e2e_test.go index 6360f3623..bced2c3cd 100644 --- a/testing/endtoend/slasher_simulator_e2e_test.go +++ b/testing/endtoend/slasher_simulator_e2e_test.go @@ -6,16 +6,16 @@ import ( "strconv" "testing" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mockslashings "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings/mock" - mockstategen "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen/mock" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - slashersimulator "github.com/prysmaticlabs/prysm/testing/slasher/simulator" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mockslashings "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings/mock" + mockstategen "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen/mock" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + slashersimulator "github.com/prysmaticlabs/prysm/v3/testing/slasher/simulator" + "github.com/prysmaticlabs/prysm/v3/testing/util" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/testing/endtoend/types/BUILD.bazel b/testing/endtoend/types/BUILD.bazel index 399b5e8ad..41c14c717 100644 --- a/testing/endtoend/types/BUILD.bazel +++ b/testing/endtoend/types/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["types.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/endtoend/types", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/endtoend/types", visibility = ["//testing/endtoend:__subpackages__"], deps = [ "//consensus-types/primitives:go_default_library", diff --git a/testing/endtoend/types/types.go b/testing/endtoend/types/types.go index 46ca84390..affd70a65 100644 --- a/testing/endtoend/types/types.go +++ b/testing/endtoend/types/types.go @@ -5,7 +5,7 @@ package types import ( "context" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "google.golang.org/grpc" ) diff --git a/testing/middleware/engine-api-proxy/BUILD.bazel b/testing/middleware/engine-api-proxy/BUILD.bazel index b719433df..c28d6a51c 100644 --- a/testing/middleware/engine-api-proxy/BUILD.bazel +++ b/testing/middleware/engine-api-proxy/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "options.go", "proxy.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/middleware/engine-api-proxy", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/middleware/engine-api-proxy", visibility = ["//visibility:public"], deps = [ "//network:go_default_library", diff --git a/testing/middleware/engine-api-proxy/proxy.go b/testing/middleware/engine-api-proxy/proxy.go index c94204bb9..9b5886220 100644 --- a/testing/middleware/engine-api-proxy/proxy.go +++ b/testing/middleware/engine-api-proxy/proxy.go @@ -17,7 +17,7 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/network" + "github.com/prysmaticlabs/prysm/v3/network" "github.com/sirupsen/logrus" ) diff --git a/testing/middleware/engine-api-proxy/proxy_test.go b/testing/middleware/engine-api-proxy/proxy_test.go index de3fd346c..9daf24863 100644 --- a/testing/middleware/engine-api-proxy/proxy_test.go +++ b/testing/middleware/engine-api-proxy/proxy_test.go @@ -10,9 +10,9 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/rpc" - "github.com/prysmaticlabs/prysm/crypto/rand" - pb "github.com/prysmaticlabs/prysm/proto/engine/v1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + pb "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/sirupsen/logrus" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/testing/mock/BUILD.bazel b/testing/mock/BUILD.bazel index ed0cd34a6..32bcd1518 100644 --- a/testing/mock/BUILD.bazel +++ b/testing/mock/BUILD.bazel @@ -18,7 +18,7 @@ go_library( "node_service_mock.go", "slasher_client_mock.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/mock", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/mock", visibility = ["//visibility:public"], deps = [ "//proto/eth/service:go_default_library", diff --git a/testing/mock/beacon_altair_validator_client_mock.go b/testing/mock/beacon_altair_validator_client_mock.go index f7cfc00d2..bcf750e4f 100644 --- a/testing/mock/beacon_altair_validator_client_mock.go +++ b/testing/mock/beacon_altair_validator_client_mock.go @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v2 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + v2 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" metadata "google.golang.org/grpc/metadata" ) diff --git a/testing/mock/beacon_altair_validator_server_mock.go b/testing/mock/beacon_altair_validator_server_mock.go index f2041b044..94f39858e 100644 --- a/testing/mock/beacon_altair_validator_server_mock.go +++ b/testing/mock/beacon_altair_validator_server_mock.go @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v2 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + v2 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" metadata "google.golang.org/grpc/metadata" ) diff --git a/testing/mock/beacon_chain_altair_client_mock.go b/testing/mock/beacon_chain_altair_client_mock.go index 1c75c3109..f9bdb5fac 100644 --- a/testing/mock/beacon_chain_altair_client_mock.go +++ b/testing/mock/beacon_chain_altair_client_mock.go @@ -9,8 +9,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v1alpha1 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - v2 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + v1alpha1 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + v2 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" grpc "google.golang.org/grpc" ) diff --git a/testing/mock/beacon_chain_altair_service_mock.go b/testing/mock/beacon_chain_altair_service_mock.go index 1198d9bf8..a131777d7 100644 --- a/testing/mock/beacon_chain_altair_service_mock.go +++ b/testing/mock/beacon_chain_altair_service_mock.go @@ -9,8 +9,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v1alpha1 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - v2 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + v1alpha1 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + v2 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // MockBeaconChainAltairServer is a mock of BeaconChainAltairServer interface diff --git a/testing/mock/beacon_chain_service_mock.go b/testing/mock/beacon_chain_service_mock.go index c96d1a118..6eb479058 100644 --- a/testing/mock/beacon_chain_service_mock.go +++ b/testing/mock/beacon_chain_service_mock.go @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" metadata "google.golang.org/grpc/metadata" ) diff --git a/testing/mock/beacon_service_mock.go b/testing/mock/beacon_service_mock.go index f83b156f1..6265268d1 100644 --- a/testing/mock/beacon_service_mock.go +++ b/testing/mock/beacon_service_mock.go @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" grpc "google.golang.org/grpc" metadata "google.golang.org/grpc/metadata" emptypb "google.golang.org/protobuf/types/known/emptypb" diff --git a/testing/mock/beacon_validator_client_mock.go b/testing/mock/beacon_validator_client_mock.go index e8af4f69c..70cb0b6ad 100644 --- a/testing/mock/beacon_validator_client_mock.go +++ b/testing/mock/beacon_validator_client_mock.go @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" grpc "google.golang.org/grpc" metadata "google.golang.org/grpc/metadata" emptypb "google.golang.org/protobuf/types/known/emptypb" diff --git a/testing/mock/beacon_validator_server_mock.go b/testing/mock/beacon_validator_server_mock.go index 78410ef9b..4cf935401 100644 --- a/testing/mock/beacon_validator_server_mock.go +++ b/testing/mock/beacon_validator_server_mock.go @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" metadata "google.golang.org/grpc/metadata" emptypb "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/testing/mock/event_service_mock.go b/testing/mock/event_service_mock.go index 2c5279170..d269929c4 100644 --- a/testing/mock/event_service_mock.go +++ b/testing/mock/event_service_mock.go @@ -10,8 +10,8 @@ import ( gomock "github.com/golang/mock/gomock" gateway "github.com/grpc-ecosystem/grpc-gateway/v2/proto/gateway" - service "github.com/prysmaticlabs/prysm/proto/eth/service" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" + service "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" grpc "google.golang.org/grpc" metadata "google.golang.org/grpc/metadata" ) diff --git a/testing/mock/keymanager_mock.go b/testing/mock/keymanager_mock.go index ef27a94e0..01bae68de 100644 --- a/testing/mock/keymanager_mock.go +++ b/testing/mock/keymanager_mock.go @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v2 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" + v2 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" grpc "google.golang.org/grpc" emptypb "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/testing/mock/node_service_mock.go b/testing/mock/node_service_mock.go index e88110683..4b28d9029 100644 --- a/testing/mock/node_service_mock.go +++ b/testing/mock/node_service_mock.go @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" grpc "google.golang.org/grpc" emptypb "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/testing/mock/slasher_client_mock.go b/testing/mock/slasher_client_mock.go index 01af5c4c0..74480baba 100644 --- a/testing/mock/slasher_client_mock.go +++ b/testing/mock/slasher_client_mock.go @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" grpc "google.golang.org/grpc" ) diff --git a/testing/require/BUILD.bazel b/testing/require/BUILD.bazel index 61faf608f..2b5f73748 100644 --- a/testing/require/BUILD.bazel +++ b/testing/require/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["requires.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/require", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/require", visibility = ["//visibility:public"], deps = [ "//testing/assertions:go_default_library", diff --git a/testing/require/requires.go b/testing/require/requires.go index 6dea3cdc1..0ec15cdc2 100644 --- a/testing/require/requires.go +++ b/testing/require/requires.go @@ -1,7 +1,7 @@ package require import ( - "github.com/prysmaticlabs/prysm/testing/assertions" + "github.com/prysmaticlabs/prysm/v3/testing/assertions" "github.com/sirupsen/logrus/hooks/test" ) diff --git a/testing/slasher/simulator/BUILD.bazel b/testing/slasher/simulator/BUILD.bazel index fa4551b85..7fc78dd3d 100644 --- a/testing/slasher/simulator/BUILD.bazel +++ b/testing/slasher/simulator/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "block_generator.go", "simulator.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/slasher/simulator", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/slasher/simulator", visibility = [ "//testing/endtoend:__subpackages__", ], diff --git a/testing/slasher/simulator/attestation_generator.go b/testing/slasher/simulator/attestation_generator.go index 7d980113f..82929946e 100644 --- a/testing/slasher/simulator/attestation_generator.go +++ b/testing/slasher/simulator/attestation_generator.go @@ -4,16 +4,16 @@ import ( "context" "math" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/testing/slasher/simulator/attestation_generator_test.go b/testing/slasher/simulator/attestation_generator_test.go index 858af3357..f53624f79 100644 --- a/testing/slasher/simulator/attestation_generator_test.go +++ b/testing/slasher/simulator/attestation_generator_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/slashings" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/slashings" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestGenerateAttestationsForSlot_Slashing(t *testing.T) { diff --git a/testing/slasher/simulator/block_generator.go b/testing/slasher/simulator/block_generator.go index 6f03b1fb3..f1741d5d7 100644 --- a/testing/slasher/simulator/block_generator.go +++ b/testing/slasher/simulator/block_generator.go @@ -3,14 +3,14 @@ package simulator import ( "context" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) func (s *Simulator) generateBlockHeadersForSlot( diff --git a/testing/slasher/simulator/block_generator_test.go b/testing/slasher/simulator/block_generator_test.go index 03be6549a..5c8d4bc7e 100644 --- a/testing/slasher/simulator/block_generator_test.go +++ b/testing/slasher/simulator/block_generator_test.go @@ -5,7 +5,7 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestGenerateBlockHeadersForSlot_Slashing(t *testing.T) { diff --git a/testing/slasher/simulator/simulator.go b/testing/slasher/simulator/simulator.go index 4dbe5d159..14ad10d6f 100644 --- a/testing/slasher/simulator/simulator.go +++ b/testing/slasher/simulator/simulator.go @@ -5,20 +5,20 @@ import ( "fmt" "time" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/core/feed" - statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings" - "github.com/prysmaticlabs/prysm/beacon-chain/slasher" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/beacon-chain/sync" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed" + statefeed "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/feed/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/slashings" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/slasher" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/sync" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/testing/slasher/simulator/simulator_test.go b/testing/slasher/simulator/simulator_test.go index 0dc89bc6a..7d85cf040 100644 --- a/testing/slasher/simulator/simulator_test.go +++ b/testing/slasher/simulator/simulator_test.go @@ -3,14 +3,14 @@ package simulator import ( "testing" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - dbtest "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - mockstategen "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen/mock" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + mockstategen "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen/mock" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func setupService(t *testing.T, params *Parameters) *Simulator { diff --git a/testing/spectest/general/phase0/bls/BUILD.bazel b/testing/spectest/general/phase0/bls/BUILD.bazel index c82fc1190..2a6de2be6 100644 --- a/testing/spectest/general/phase0/bls/BUILD.bazel +++ b/testing/spectest/general/phase0/bls/BUILD.bazel @@ -11,7 +11,7 @@ go_library( "sign_test.yaml.go", "verify_test.yaml.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/general/phase0/bls", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/general/phase0/bls", visibility = ["//visibility:public"], ) diff --git a/testing/spectest/general/phase0/bls/aggregate_test.go b/testing/spectest/general/phase0/bls/aggregate_test.go index d82df5a6d..e2098c60a 100644 --- a/testing/spectest/general/phase0/bls/aggregate_test.go +++ b/testing/spectest/general/phase0/bls/aggregate_test.go @@ -7,11 +7,11 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestAggregate(t *testing.T) { diff --git a/testing/spectest/general/phase0/bls/aggregate_verify_test.go b/testing/spectest/general/phase0/bls/aggregate_verify_test.go index aa9c2fde6..47a52720d 100644 --- a/testing/spectest/general/phase0/bls/aggregate_verify_test.go +++ b/testing/spectest/general/phase0/bls/aggregate_verify_test.go @@ -7,12 +7,12 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestAggregateVerify(t *testing.T) { diff --git a/testing/spectest/general/phase0/bls/fast_aggregate_verify_test.go b/testing/spectest/general/phase0/bls/fast_aggregate_verify_test.go index 99450e1f4..0fd3a8926 100644 --- a/testing/spectest/general/phase0/bls/fast_aggregate_verify_test.go +++ b/testing/spectest/general/phase0/bls/fast_aggregate_verify_test.go @@ -7,12 +7,12 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestFastAggregateVerify(t *testing.T) { diff --git a/testing/spectest/general/phase0/bls/sign_test.go b/testing/spectest/general/phase0/bls/sign_test.go index 53096c185..e467e76ef 100644 --- a/testing/spectest/general/phase0/bls/sign_test.go +++ b/testing/spectest/general/phase0/bls/sign_test.go @@ -8,11 +8,11 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestSign(t *testing.T) { diff --git a/testing/spectest/general/phase0/bls/verify_test.go b/testing/spectest/general/phase0/bls/verify_test.go index b5be5881a..7741318c3 100644 --- a/testing/spectest/general/phase0/bls/verify_test.go +++ b/testing/spectest/general/phase0/bls/verify_test.go @@ -7,11 +7,11 @@ import ( "testing" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/bls/common" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/bls/common" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestVerify(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/epoch_processing/effective_balance_updates_test.go b/testing/spectest/mainnet/altair/epoch_processing/effective_balance_updates_test.go index 66c423a20..4602a5781 100644 --- a/testing/spectest/mainnet/altair/epoch_processing/effective_balance_updates_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/effective_balance_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_EffectiveBalanceUpdates(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/epoch_processing/eth1_data_reset_test.go b/testing/spectest/mainnet/altair/epoch_processing/eth1_data_reset_test.go index dc40e53a5..2d6d2d29c 100644 --- a/testing/spectest/mainnet/altair/epoch_processing/eth1_data_reset_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/eth1_data_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_Eth1DataReset(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/epoch_processing/historical_roots_update_test.go b/testing/spectest/mainnet/altair/epoch_processing/historical_roots_update_test.go index a2d917cf4..a0590df20 100644 --- a/testing/spectest/mainnet/altair/epoch_processing/historical_roots_update_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/historical_roots_update_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_HistoricalRootsUpdate(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/epoch_processing/inactivity_updates_test.go b/testing/spectest/mainnet/altair/epoch_processing/inactivity_updates_test.go index 665c809d9..25d385db9 100644 --- a/testing/spectest/mainnet/altair/epoch_processing/inactivity_updates_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/inactivity_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_InactivityUpdates(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/epoch_processing/justification_and_finalization_test.go b/testing/spectest/mainnet/altair/epoch_processing/justification_and_finalization_test.go index ba1f79550..8fa1be7fe 100644 --- a/testing/spectest/mainnet/altair/epoch_processing/justification_and_finalization_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/justification_and_finalization_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_JustificationAndFinalization(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/epoch_processing/participation_flag_updates_test.go b/testing/spectest/mainnet/altair/epoch_processing/participation_flag_updates_test.go index 5798ed25d..ba3bf2044 100644 --- a/testing/spectest/mainnet/altair/epoch_processing/participation_flag_updates_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/participation_flag_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_ParticipationFlag(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/epoch_processing/randao_mixes_reset_test.go b/testing/spectest/mainnet/altair/epoch_processing/randao_mixes_reset_test.go index 1ad64a45e..dd7a40a38 100644 --- a/testing/spectest/mainnet/altair/epoch_processing/randao_mixes_reset_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/randao_mixes_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_RandaoMixesReset(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/epoch_processing/registry_updates_test.go b/testing/spectest/mainnet/altair/epoch_processing/registry_updates_test.go index 7d69a06f3..ee716ca83 100644 --- a/testing/spectest/mainnet/altair/epoch_processing/registry_updates_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/registry_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_ResetRegistryUpdates(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/epoch_processing/rewards_and_penalties_test.go b/testing/spectest/mainnet/altair/epoch_processing/rewards_and_penalties_test.go index 22dd45d7c..07c2d919a 100644 --- a/testing/spectest/mainnet/altair/epoch_processing/rewards_and_penalties_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/rewards_and_penalties_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_RewardsAndPenalties(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/epoch_processing/slashings_reset_test.go b/testing/spectest/mainnet/altair/epoch_processing/slashings_reset_test.go index ffffd633d..86bbd04b0 100644 --- a/testing/spectest/mainnet/altair/epoch_processing/slashings_reset_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/slashings_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_SlashingsReset(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/epoch_processing/slashings_test.go b/testing/spectest/mainnet/altair/epoch_processing/slashings_test.go index 2edb0990f..7ce779e9a 100644 --- a/testing/spectest/mainnet/altair/epoch_processing/slashings_test.go +++ b/testing/spectest/mainnet/altair/epoch_processing/slashings_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMainnet_Altair_EpochProcessing_Slashings(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/finality/finality_test.go b/testing/spectest/mainnet/altair/finality/finality_test.go index 853365cc5..44f76b4c9 100644 --- a/testing/spectest/mainnet/altair/finality/finality_test.go +++ b/testing/spectest/mainnet/altair/finality/finality_test.go @@ -3,7 +3,7 @@ package finality import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/finality" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/finality" ) func TestMainnet_Altair_Finality(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/fork_helper/upgrade_to_altair_test.go b/testing/spectest/mainnet/altair/fork_helper/upgrade_to_altair_test.go index ab6dfa17e..8129b6fde 100644 --- a/testing/spectest/mainnet/altair/fork_helper/upgrade_to_altair_test.go +++ b/testing/spectest/mainnet/altair/fork_helper/upgrade_to_altair_test.go @@ -3,7 +3,7 @@ package fork_helper import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/fork" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/fork" ) func TestMainnet_Altair_UpgradeToAltair(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/fork_transition/transition_test.go b/testing/spectest/mainnet/altair/fork_transition/transition_test.go index 2b5716d6f..9071a474c 100644 --- a/testing/spectest/mainnet/altair/fork_transition/transition_test.go +++ b/testing/spectest/mainnet/altair/fork_transition/transition_test.go @@ -3,7 +3,7 @@ package fork_transition import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/fork" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/fork" ) func TestMainnet_Altair_Transition(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/forkchoice/forkchoice_test.go b/testing/spectest/mainnet/altair/forkchoice/forkchoice_test.go index a10c17c6a..5a462ec71 100644 --- a/testing/spectest/mainnet/altair/forkchoice/forkchoice_test.go +++ b/testing/spectest/mainnet/altair/forkchoice/forkchoice_test.go @@ -3,9 +3,9 @@ package forkchoice import ( "testing" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/common/forkchoice" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/forkchoice" ) func TestMainnet_Altair_Forkchoice(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/operations/attestation_test.go b/testing/spectest/mainnet/altair/operations/attestation_test.go index 9299d3f40..4635db21f 100644 --- a/testing/spectest/mainnet/altair/operations/attestation_test.go +++ b/testing/spectest/mainnet/altair/operations/attestation_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_Attestation(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/operations/attester_slashing_test.go b/testing/spectest/mainnet/altair/operations/attester_slashing_test.go index 02e937006..6e037e4d6 100644 --- a/testing/spectest/mainnet/altair/operations/attester_slashing_test.go +++ b/testing/spectest/mainnet/altair/operations/attester_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_AttesterSlashing(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/operations/block_header_test.go b/testing/spectest/mainnet/altair/operations/block_header_test.go index 92cb8adc9..096a251b3 100644 --- a/testing/spectest/mainnet/altair/operations/block_header_test.go +++ b/testing/spectest/mainnet/altair/operations/block_header_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_BlockHeader(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/operations/deposit_test.go b/testing/spectest/mainnet/altair/operations/deposit_test.go index 1d374be85..2b553a891 100644 --- a/testing/spectest/mainnet/altair/operations/deposit_test.go +++ b/testing/spectest/mainnet/altair/operations/deposit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_Deposit(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/operations/proposer_slashing_test.go b/testing/spectest/mainnet/altair/operations/proposer_slashing_test.go index 02cc321ef..b715a9c3c 100644 --- a/testing/spectest/mainnet/altair/operations/proposer_slashing_test.go +++ b/testing/spectest/mainnet/altair/operations/proposer_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_ProposerSlashing(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/operations/sync_committee_test.go b/testing/spectest/mainnet/altair/operations/sync_committee_test.go index ebc4e5b8d..4b88db525 100644 --- a/testing/spectest/mainnet/altair/operations/sync_committee_test.go +++ b/testing/spectest/mainnet/altair/operations/sync_committee_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_SyncCommittee(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/operations/voluntary_exit_test.go b/testing/spectest/mainnet/altair/operations/voluntary_exit_test.go index fa39e1437..831542402 100644 --- a/testing/spectest/mainnet/altair/operations/voluntary_exit_test.go +++ b/testing/spectest/mainnet/altair/operations/voluntary_exit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMainnet_Altair_Operations_VoluntaryExit(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/random/random_test.go b/testing/spectest/mainnet/altair/random/random_test.go index 04b41e2f7..3e99295b3 100644 --- a/testing/spectest/mainnet/altair/random/random_test.go +++ b/testing/spectest/mainnet/altair/random/random_test.go @@ -3,7 +3,7 @@ package random import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/sanity" ) func TestMainnet_Altair_Random(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/rewards/rewards_test.go b/testing/spectest/mainnet/altair/rewards/rewards_test.go index baf2a8b4c..ff58b28d5 100644 --- a/testing/spectest/mainnet/altair/rewards/rewards_test.go +++ b/testing/spectest/mainnet/altair/rewards/rewards_test.go @@ -3,7 +3,7 @@ package rewards import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/rewards" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/rewards" ) func TestMainnet_Altair_Rewards(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/sanity/blocks_test.go b/testing/spectest/mainnet/altair/sanity/blocks_test.go index 85f805423..65b8e0863 100644 --- a/testing/spectest/mainnet/altair/sanity/blocks_test.go +++ b/testing/spectest/mainnet/altair/sanity/blocks_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/sanity" ) func TestMainnet_Altair_Sanity_Blocks(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/sanity/slots_test.go b/testing/spectest/mainnet/altair/sanity/slots_test.go index 966ea1818..b93ce2747 100644 --- a/testing/spectest/mainnet/altair/sanity/slots_test.go +++ b/testing/spectest/mainnet/altair/sanity/slots_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/sanity" ) func TestMainnet_Altair_Sanity_Slots(t *testing.T) { diff --git a/testing/spectest/mainnet/altair/ssz_static/ssz_static_test.go b/testing/spectest/mainnet/altair/ssz_static/ssz_static_test.go index ce8782f1a..bba5702df 100644 --- a/testing/spectest/mainnet/altair/ssz_static/ssz_static_test.go +++ b/testing/spectest/mainnet/altair/ssz_static/ssz_static_test.go @@ -3,7 +3,7 @@ package ssz_static import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/ssz_static" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/ssz_static" ) func TestMainnet_Altair_SSZStatic(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/epoch_processing/effective_balance_updates_test.go b/testing/spectest/mainnet/bellatrix/epoch_processing/effective_balance_updates_test.go index 49ce42951..0de95a765 100644 --- a/testing/spectest/mainnet/bellatrix/epoch_processing/effective_balance_updates_test.go +++ b/testing/spectest/mainnet/bellatrix/epoch_processing/effective_balance_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMainnet_Bellatrix_EpochProcessing_EffectiveBalanceUpdates(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/epoch_processing/eth1_data_reset_test.go b/testing/spectest/mainnet/bellatrix/epoch_processing/eth1_data_reset_test.go index a7c31b447..bb62b4724 100644 --- a/testing/spectest/mainnet/bellatrix/epoch_processing/eth1_data_reset_test.go +++ b/testing/spectest/mainnet/bellatrix/epoch_processing/eth1_data_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMainnet_Bellatrix_EpochProcessing_Eth1DataReset(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/epoch_processing/historical_roots_update_test.go b/testing/spectest/mainnet/bellatrix/epoch_processing/historical_roots_update_test.go index 74485ea15..628774852 100644 --- a/testing/spectest/mainnet/bellatrix/epoch_processing/historical_roots_update_test.go +++ b/testing/spectest/mainnet/bellatrix/epoch_processing/historical_roots_update_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMainnet_Bellatrix_EpochProcessing_HistoricalRootsUpdate(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/epoch_processing/inactivity_updates_test.go b/testing/spectest/mainnet/bellatrix/epoch_processing/inactivity_updates_test.go index bfbd5de93..09af397d5 100644 --- a/testing/spectest/mainnet/bellatrix/epoch_processing/inactivity_updates_test.go +++ b/testing/spectest/mainnet/bellatrix/epoch_processing/inactivity_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMainnet_Bellatrix_EpochProcessing_InactivityUpdates(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/epoch_processing/justification_and_finalization_test.go b/testing/spectest/mainnet/bellatrix/epoch_processing/justification_and_finalization_test.go index f6fd7ca9d..5045adae0 100644 --- a/testing/spectest/mainnet/bellatrix/epoch_processing/justification_and_finalization_test.go +++ b/testing/spectest/mainnet/bellatrix/epoch_processing/justification_and_finalization_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMainnet_Bellatrix_EpochProcessing_JustificationAndFinalization(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/epoch_processing/participation_flag_updates_test.go b/testing/spectest/mainnet/bellatrix/epoch_processing/participation_flag_updates_test.go index b51f3a58c..ab3e939a1 100644 --- a/testing/spectest/mainnet/bellatrix/epoch_processing/participation_flag_updates_test.go +++ b/testing/spectest/mainnet/bellatrix/epoch_processing/participation_flag_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMainnet_Bellatrix_EpochProcessing_ParticipationFlag(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/epoch_processing/randao_mixes_reset_test.go b/testing/spectest/mainnet/bellatrix/epoch_processing/randao_mixes_reset_test.go index 21fe19c3c..5a3063cef 100644 --- a/testing/spectest/mainnet/bellatrix/epoch_processing/randao_mixes_reset_test.go +++ b/testing/spectest/mainnet/bellatrix/epoch_processing/randao_mixes_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMainnet_Bellatrix_EpochProcessing_RandaoMixesReset(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/epoch_processing/registry_updates_test.go b/testing/spectest/mainnet/bellatrix/epoch_processing/registry_updates_test.go index 7d3d25771..57f595c8b 100644 --- a/testing/spectest/mainnet/bellatrix/epoch_processing/registry_updates_test.go +++ b/testing/spectest/mainnet/bellatrix/epoch_processing/registry_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMainnet_Bellatrix_EpochProcessing_ResetRegistryUpdates(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/epoch_processing/rewards_and_penalties_test.go b/testing/spectest/mainnet/bellatrix/epoch_processing/rewards_and_penalties_test.go index d3a6cb544..29cb7ff13 100644 --- a/testing/spectest/mainnet/bellatrix/epoch_processing/rewards_and_penalties_test.go +++ b/testing/spectest/mainnet/bellatrix/epoch_processing/rewards_and_penalties_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMainnet_Bellatrix_EpochProcessing_RewardsAndPenalties(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/epoch_processing/slashings_reset_test.go b/testing/spectest/mainnet/bellatrix/epoch_processing/slashings_reset_test.go index 27dca2068..863237c78 100644 --- a/testing/spectest/mainnet/bellatrix/epoch_processing/slashings_reset_test.go +++ b/testing/spectest/mainnet/bellatrix/epoch_processing/slashings_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMainnet_Bellatrix_EpochProcessing_SlashingsReset(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/epoch_processing/slashings_test.go b/testing/spectest/mainnet/bellatrix/epoch_processing/slashings_test.go index 76508f20b..2b817d0d8 100644 --- a/testing/spectest/mainnet/bellatrix/epoch_processing/slashings_test.go +++ b/testing/spectest/mainnet/bellatrix/epoch_processing/slashings_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMainnet_Bellatrix_EpochProcessing_Slashings(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/finality/finality_test.go b/testing/spectest/mainnet/bellatrix/finality/finality_test.go index e047ba2cf..4fd075bad 100644 --- a/testing/spectest/mainnet/bellatrix/finality/finality_test.go +++ b/testing/spectest/mainnet/bellatrix/finality/finality_test.go @@ -3,7 +3,7 @@ package finality import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/finality" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/finality" ) func TestMainnet_Bellatrix_Finality(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/fork_helper/upgrade_to_altair_test.go b/testing/spectest/mainnet/bellatrix/fork_helper/upgrade_to_altair_test.go index 15c6f6300..8e5f1e182 100644 --- a/testing/spectest/mainnet/bellatrix/fork_helper/upgrade_to_altair_test.go +++ b/testing/spectest/mainnet/bellatrix/fork_helper/upgrade_to_altair_test.go @@ -3,7 +3,7 @@ package fork_helper import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/fork" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/fork" ) func TestMainnet_Bellatrix_UpgradeToBellatrix(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/fork_transition/transition_test.go b/testing/spectest/mainnet/bellatrix/fork_transition/transition_test.go index 1437ca555..8ed24df5e 100644 --- a/testing/spectest/mainnet/bellatrix/fork_transition/transition_test.go +++ b/testing/spectest/mainnet/bellatrix/fork_transition/transition_test.go @@ -3,7 +3,7 @@ package fork_transition import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/fork" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/fork" ) func TestMainnet_Bellatrix_Transition(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/forkchoice/forkchoice_test.go b/testing/spectest/mainnet/bellatrix/forkchoice/forkchoice_test.go index df9e3942c..c0c90f9b2 100644 --- a/testing/spectest/mainnet/bellatrix/forkchoice/forkchoice_test.go +++ b/testing/spectest/mainnet/bellatrix/forkchoice/forkchoice_test.go @@ -3,9 +3,9 @@ package forkchoice import ( "testing" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/common/forkchoice" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/forkchoice" ) func TestMainnet_Bellatrix_Forkchoice(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/operations/attestation_test.go b/testing/spectest/mainnet/bellatrix/operations/attestation_test.go index 96245df02..1b9aa1f07 100644 --- a/testing/spectest/mainnet/bellatrix/operations/attestation_test.go +++ b/testing/spectest/mainnet/bellatrix/operations/attestation_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMainnet_Bellatrix_Operations_Attestation(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/operations/attester_slashing_test.go b/testing/spectest/mainnet/bellatrix/operations/attester_slashing_test.go index a587aaae4..28cb50739 100644 --- a/testing/spectest/mainnet/bellatrix/operations/attester_slashing_test.go +++ b/testing/spectest/mainnet/bellatrix/operations/attester_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMainnet_Bellatrix_Operations_AttesterSlashing(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/operations/block_header_test.go b/testing/spectest/mainnet/bellatrix/operations/block_header_test.go index 12400fe60..5fb4d103d 100644 --- a/testing/spectest/mainnet/bellatrix/operations/block_header_test.go +++ b/testing/spectest/mainnet/bellatrix/operations/block_header_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMainnet_Bellatrix_Operations_BlockHeader(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/operations/deposit_test.go b/testing/spectest/mainnet/bellatrix/operations/deposit_test.go index 0276ed943..9e0ed8214 100644 --- a/testing/spectest/mainnet/bellatrix/operations/deposit_test.go +++ b/testing/spectest/mainnet/bellatrix/operations/deposit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMainnet_Bellatrix_Operations_Deposit(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/operations/proposer_slashing_test.go b/testing/spectest/mainnet/bellatrix/operations/proposer_slashing_test.go index c8d9c14f7..2d3d0d811 100644 --- a/testing/spectest/mainnet/bellatrix/operations/proposer_slashing_test.go +++ b/testing/spectest/mainnet/bellatrix/operations/proposer_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMainnet_Bellatrix_Operations_ProposerSlashing(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/operations/sync_committee_test.go b/testing/spectest/mainnet/bellatrix/operations/sync_committee_test.go index 523eb2981..7b7fd85e5 100644 --- a/testing/spectest/mainnet/bellatrix/operations/sync_committee_test.go +++ b/testing/spectest/mainnet/bellatrix/operations/sync_committee_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMainnet_Bellatrix_Operations_SyncCommittee(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/operations/voluntary_exit_test.go b/testing/spectest/mainnet/bellatrix/operations/voluntary_exit_test.go index b892ce50c..43f26162e 100644 --- a/testing/spectest/mainnet/bellatrix/operations/voluntary_exit_test.go +++ b/testing/spectest/mainnet/bellatrix/operations/voluntary_exit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMainnet_Bellatrix_Operations_VoluntaryExit(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/rewards/rewards_test.go b/testing/spectest/mainnet/bellatrix/rewards/rewards_test.go index e7fc53ad4..ff09f75de 100644 --- a/testing/spectest/mainnet/bellatrix/rewards/rewards_test.go +++ b/testing/spectest/mainnet/bellatrix/rewards/rewards_test.go @@ -3,7 +3,7 @@ package rewards import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/rewards" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/rewards" ) func TestMainnet_Bellatrix_Rewards(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/sanity/blocks_test.go b/testing/spectest/mainnet/bellatrix/sanity/blocks_test.go index 539d07010..eab4566ad 100644 --- a/testing/spectest/mainnet/bellatrix/sanity/blocks_test.go +++ b/testing/spectest/mainnet/bellatrix/sanity/blocks_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/sanity" ) func TestMainnet_Bellatrix_Sanity_Blocks(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/sanity/slots_test.go b/testing/spectest/mainnet/bellatrix/sanity/slots_test.go index 944724561..7ff0ae94a 100644 --- a/testing/spectest/mainnet/bellatrix/sanity/slots_test.go +++ b/testing/spectest/mainnet/bellatrix/sanity/slots_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/sanity" ) func TestMainnet_Bellatrix_Sanity_Slots(t *testing.T) { diff --git a/testing/spectest/mainnet/bellatrix/ssz_static/ssz_static_test.go b/testing/spectest/mainnet/bellatrix/ssz_static/ssz_static_test.go index 7a0da0a9f..bef5dd40e 100644 --- a/testing/spectest/mainnet/bellatrix/ssz_static/ssz_static_test.go +++ b/testing/spectest/mainnet/bellatrix/ssz_static/ssz_static_test.go @@ -3,7 +3,7 @@ package ssz_static import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/ssz_static" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/ssz_static" ) func TestMainnet_Bellatrix_SSZStatic(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/epoch_processing/effective_balance_updates_test.go b/testing/spectest/mainnet/phase0/epoch_processing/effective_balance_updates_test.go index 0bb7a7c88..1eb9e80fb 100644 --- a/testing/spectest/mainnet/phase0/epoch_processing/effective_balance_updates_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/effective_balance_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_EffectiveBalanceUpdates(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/epoch_processing/epoch_processing_test.go b/testing/spectest/mainnet/phase0/epoch_processing/epoch_processing_test.go index 2dd71d156..86f183741 100644 --- a/testing/spectest/mainnet/phase0/epoch_processing/epoch_processing_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/epoch_processing_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func TestMain(m *testing.M) { diff --git a/testing/spectest/mainnet/phase0/epoch_processing/eth1_data_reset_test.go b/testing/spectest/mainnet/phase0/epoch_processing/eth1_data_reset_test.go index 11ea27eae..017ebd407 100644 --- a/testing/spectest/mainnet/phase0/epoch_processing/eth1_data_reset_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/eth1_data_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_Eth1DataReset(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/epoch_processing/historical_roots_update_test.go b/testing/spectest/mainnet/phase0/epoch_processing/historical_roots_update_test.go index 888aa83e7..cc96fbec5 100644 --- a/testing/spectest/mainnet/phase0/epoch_processing/historical_roots_update_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/historical_roots_update_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_HistoricalRootsUpdate(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/epoch_processing/justification_and_finalization_test.go b/testing/spectest/mainnet/phase0/epoch_processing/justification_and_finalization_test.go index b413f38f9..f02e44264 100644 --- a/testing/spectest/mainnet/phase0/epoch_processing/justification_and_finalization_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/justification_and_finalization_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_JustificationAndFinalization(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/epoch_processing/participation_record_updates_test.go b/testing/spectest/mainnet/phase0/epoch_processing/participation_record_updates_test.go index 6344ecffb..ff066b54c 100644 --- a/testing/spectest/mainnet/phase0/epoch_processing/participation_record_updates_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/participation_record_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_ParticipationRecordUpdates(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/epoch_processing/randao_mixes_reset_test.go b/testing/spectest/mainnet/phase0/epoch_processing/randao_mixes_reset_test.go index a82797106..058339951 100644 --- a/testing/spectest/mainnet/phase0/epoch_processing/randao_mixes_reset_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/randao_mixes_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_RandaoMixesReset(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/epoch_processing/registry_updates_test.go b/testing/spectest/mainnet/phase0/epoch_processing/registry_updates_test.go index 78c4b2005..e1c050189 100644 --- a/testing/spectest/mainnet/phase0/epoch_processing/registry_updates_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/registry_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_ResetRegistryUpdates(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/epoch_processing/rewards_and_penalties_test.go b/testing/spectest/mainnet/phase0/epoch_processing/rewards_and_penalties_test.go index 9e224c2f6..aeb14cdb6 100644 --- a/testing/spectest/mainnet/phase0/epoch_processing/rewards_and_penalties_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/rewards_and_penalties_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_RewardsAndPenalties(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/epoch_processing/slashings_reset_test.go b/testing/spectest/mainnet/phase0/epoch_processing/slashings_reset_test.go index f379a7156..b25804900 100644 --- a/testing/spectest/mainnet/phase0/epoch_processing/slashings_reset_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/slashings_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_SlashingsReset(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/epoch_processing/slashings_test.go b/testing/spectest/mainnet/phase0/epoch_processing/slashings_test.go index 37a1e2f03..19341e8f7 100644 --- a/testing/spectest/mainnet/phase0/epoch_processing/slashings_test.go +++ b/testing/spectest/mainnet/phase0/epoch_processing/slashings_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMainnet_Phase0_EpochProcessing_Slashings(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/finality/finality_test.go b/testing/spectest/mainnet/phase0/finality/finality_test.go index a97cd25af..7b8901b75 100644 --- a/testing/spectest/mainnet/phase0/finality/finality_test.go +++ b/testing/spectest/mainnet/phase0/finality/finality_test.go @@ -3,7 +3,7 @@ package finality import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/finality" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/finality" ) func TestMainnet_Phase0_Finality(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/forkchoice/forkchoice_test.go b/testing/spectest/mainnet/phase0/forkchoice/forkchoice_test.go index fb79069a9..02e08b29b 100644 --- a/testing/spectest/mainnet/phase0/forkchoice/forkchoice_test.go +++ b/testing/spectest/mainnet/phase0/forkchoice/forkchoice_test.go @@ -3,9 +3,9 @@ package forkchoice import ( "testing" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/common/forkchoice" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/forkchoice" ) func TestMainnet_Altair_Forkchoice(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/operations/attestation_test.go b/testing/spectest/mainnet/phase0/operations/attestation_test.go index b89250e4b..eebf5e172 100644 --- a/testing/spectest/mainnet/phase0/operations/attestation_test.go +++ b/testing/spectest/mainnet/phase0/operations/attestation_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations" ) func TestMainnet_Phase0_Operations_Attestation(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/operations/attester_slashing_test.go b/testing/spectest/mainnet/phase0/operations/attester_slashing_test.go index 953bf038b..cf12bceab 100644 --- a/testing/spectest/mainnet/phase0/operations/attester_slashing_test.go +++ b/testing/spectest/mainnet/phase0/operations/attester_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations" ) func TestMainnet_Phase0_Operations_AttesterSlashing(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/operations/block_header_test.go b/testing/spectest/mainnet/phase0/operations/block_header_test.go index 90bb06a90..de9bad438 100644 --- a/testing/spectest/mainnet/phase0/operations/block_header_test.go +++ b/testing/spectest/mainnet/phase0/operations/block_header_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations" ) func TestMainnet_Phase0_Operations_BlockHeader(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/operations/deposit_test.go b/testing/spectest/mainnet/phase0/operations/deposit_test.go index 06fdf021c..e715929d6 100644 --- a/testing/spectest/mainnet/phase0/operations/deposit_test.go +++ b/testing/spectest/mainnet/phase0/operations/deposit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations" ) func TestMainnet_Phase0_Operations_Deposit(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/operations/proposer_slashing_test.go b/testing/spectest/mainnet/phase0/operations/proposer_slashing_test.go index 791a53e03..6810ceb72 100644 --- a/testing/spectest/mainnet/phase0/operations/proposer_slashing_test.go +++ b/testing/spectest/mainnet/phase0/operations/proposer_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations" ) func TestMainnet_Phase0_Operations_ProposerSlashing(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/operations/voluntary_exit_test.go b/testing/spectest/mainnet/phase0/operations/voluntary_exit_test.go index 71864178d..b274c9b2f 100644 --- a/testing/spectest/mainnet/phase0/operations/voluntary_exit_test.go +++ b/testing/spectest/mainnet/phase0/operations/voluntary_exit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations" ) func TestMainnet_Phase0_Operations_VoluntaryExit(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/random/random_test.go b/testing/spectest/mainnet/phase0/random/random_test.go index 609a7e18e..b3f1e1115 100644 --- a/testing/spectest/mainnet/phase0/random/random_test.go +++ b/testing/spectest/mainnet/phase0/random/random_test.go @@ -3,7 +3,7 @@ package random import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/sanity" ) func TestMainnet_Phase0_Random(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/rewards/rewards_test.go b/testing/spectest/mainnet/phase0/rewards/rewards_test.go index 0e1b4a4f6..c7e66bcb1 100644 --- a/testing/spectest/mainnet/phase0/rewards/rewards_test.go +++ b/testing/spectest/mainnet/phase0/rewards/rewards_test.go @@ -3,7 +3,7 @@ package rewards import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/rewards" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/rewards" ) func TestMainnet_Phase0_Rewards(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/sanity/blocks_test.go b/testing/spectest/mainnet/phase0/sanity/blocks_test.go index 697af82a6..80eb6338b 100644 --- a/testing/spectest/mainnet/phase0/sanity/blocks_test.go +++ b/testing/spectest/mainnet/phase0/sanity/blocks_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/sanity" ) func TestMainnet_Phase0_Sanity_Blocks(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/sanity/slots_test.go b/testing/spectest/mainnet/phase0/sanity/slots_test.go index 19b9a593d..fe9531d86 100644 --- a/testing/spectest/mainnet/phase0/sanity/slots_test.go +++ b/testing/spectest/mainnet/phase0/sanity/slots_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/sanity" ) func TestMainnet_Phase0_Sanity_Slots(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/shuffling/core/shuffle/shuffle_test.go b/testing/spectest/mainnet/phase0/shuffling/core/shuffle/shuffle_test.go index 07cb2cc37..1e4a1cfc0 100644 --- a/testing/spectest/mainnet/phase0/shuffling/core/shuffle/shuffle_test.go +++ b/testing/spectest/mainnet/phase0/shuffling/core/shuffle/shuffle_test.go @@ -3,7 +3,7 @@ package shuffle import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/shuffling/core/shuffle" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/shuffling/core/shuffle" ) func TestMainnet_Phase0_Shuffling_Core_Shuffle(t *testing.T) { diff --git a/testing/spectest/mainnet/phase0/ssz_static/ssz_static_test.go b/testing/spectest/mainnet/phase0/ssz_static/ssz_static_test.go index b20ebaf1e..29489aa01 100644 --- a/testing/spectest/mainnet/phase0/ssz_static/ssz_static_test.go +++ b/testing/spectest/mainnet/phase0/ssz_static/ssz_static_test.go @@ -3,7 +3,7 @@ package ssz_static import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/ssz_static" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/ssz_static" ) func TestMainnet_Phase0_SSZStatic(t *testing.T) { diff --git a/testing/spectest/minimal/altair/epoch_processing/effective_balance_updates_test.go b/testing/spectest/minimal/altair/epoch_processing/effective_balance_updates_test.go index 98e310122..1ac8e581e 100644 --- a/testing/spectest/minimal/altair/epoch_processing/effective_balance_updates_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/effective_balance_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_EffectiveBalanceUpdates(t *testing.T) { diff --git a/testing/spectest/minimal/altair/epoch_processing/eth1_data_reset_test.go b/testing/spectest/minimal/altair/epoch_processing/eth1_data_reset_test.go index 9376798aa..5d80739d8 100644 --- a/testing/spectest/minimal/altair/epoch_processing/eth1_data_reset_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/eth1_data_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_Eth1DataReset(t *testing.T) { diff --git a/testing/spectest/minimal/altair/epoch_processing/historical_roots_update_test.go b/testing/spectest/minimal/altair/epoch_processing/historical_roots_update_test.go index 02ea21572..e7c3e1723 100644 --- a/testing/spectest/minimal/altair/epoch_processing/historical_roots_update_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/historical_roots_update_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_HistoricalRootsUpdate(t *testing.T) { diff --git a/testing/spectest/minimal/altair/epoch_processing/inactivity_updates_test.go b/testing/spectest/minimal/altair/epoch_processing/inactivity_updates_test.go index fa88f0e28..c3b3ae994 100644 --- a/testing/spectest/minimal/altair/epoch_processing/inactivity_updates_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/inactivity_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_InactivityUpdates(t *testing.T) { diff --git a/testing/spectest/minimal/altair/epoch_processing/justification_and_finalization_test.go b/testing/spectest/minimal/altair/epoch_processing/justification_and_finalization_test.go index aa1952490..6e1fa03cd 100644 --- a/testing/spectest/minimal/altair/epoch_processing/justification_and_finalization_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/justification_and_finalization_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_JustificationAndFinalization(t *testing.T) { diff --git a/testing/spectest/minimal/altair/epoch_processing/participation_flag_updates_test.go b/testing/spectest/minimal/altair/epoch_processing/participation_flag_updates_test.go index 0c94a261d..87dfdb8b9 100644 --- a/testing/spectest/minimal/altair/epoch_processing/participation_flag_updates_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/participation_flag_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_ParticipationFlag(t *testing.T) { diff --git a/testing/spectest/minimal/altair/epoch_processing/randao_mixes_reset_test.go b/testing/spectest/minimal/altair/epoch_processing/randao_mixes_reset_test.go index af44fee22..5b5a48476 100644 --- a/testing/spectest/minimal/altair/epoch_processing/randao_mixes_reset_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/randao_mixes_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_RandaoMixesReset(t *testing.T) { diff --git a/testing/spectest/minimal/altair/epoch_processing/registry_updates_test.go b/testing/spectest/minimal/altair/epoch_processing/registry_updates_test.go index cc1fcc9a7..b6cf9676a 100644 --- a/testing/spectest/minimal/altair/epoch_processing/registry_updates_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/registry_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_ResetRegistryUpdates(t *testing.T) { diff --git a/testing/spectest/minimal/altair/epoch_processing/rewards_and_penalties_test.go b/testing/spectest/minimal/altair/epoch_processing/rewards_and_penalties_test.go index 1e5a6b74f..0cc6170f5 100644 --- a/testing/spectest/minimal/altair/epoch_processing/rewards_and_penalties_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/rewards_and_penalties_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_RewardsAndPenalties(t *testing.T) { diff --git a/testing/spectest/minimal/altair/epoch_processing/slashings_reset_test.go b/testing/spectest/minimal/altair/epoch_processing/slashings_reset_test.go index 51dd226a4..9b1bf0c64 100644 --- a/testing/spectest/minimal/altair/epoch_processing/slashings_reset_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/slashings_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_SlashingsReset(t *testing.T) { diff --git a/testing/spectest/minimal/altair/epoch_processing/slashings_test.go b/testing/spectest/minimal/altair/epoch_processing/slashings_test.go index 0491181b1..7ea4ebb1f 100644 --- a/testing/spectest/minimal/altair/epoch_processing/slashings_test.go +++ b/testing/spectest/minimal/altair/epoch_processing/slashings_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing" ) func TestMinimal_Altair_EpochProcessing_Slashings(t *testing.T) { diff --git a/testing/spectest/minimal/altair/finality/finality_test.go b/testing/spectest/minimal/altair/finality/finality_test.go index 500b3b7d9..98b8f555c 100644 --- a/testing/spectest/minimal/altair/finality/finality_test.go +++ b/testing/spectest/minimal/altair/finality/finality_test.go @@ -3,7 +3,7 @@ package finality import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/finality" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/finality" ) func TestMinimal_Altair_Finality(t *testing.T) { diff --git a/testing/spectest/minimal/altair/fork/upgrade_to_altair_test.go b/testing/spectest/minimal/altair/fork/upgrade_to_altair_test.go index 421cb0000..bf4ea221a 100644 --- a/testing/spectest/minimal/altair/fork/upgrade_to_altair_test.go +++ b/testing/spectest/minimal/altair/fork/upgrade_to_altair_test.go @@ -3,7 +3,7 @@ package fork import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/fork" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/fork" ) func TestMinimal_Altair_UpgradeToAltair(t *testing.T) { diff --git a/testing/spectest/minimal/altair/forkchoice/forkchoice_test.go b/testing/spectest/minimal/altair/forkchoice/forkchoice_test.go index 1207f9632..117427341 100644 --- a/testing/spectest/minimal/altair/forkchoice/forkchoice_test.go +++ b/testing/spectest/minimal/altair/forkchoice/forkchoice_test.go @@ -3,9 +3,9 @@ package forkchoice import ( "testing" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/common/forkchoice" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/forkchoice" ) func TestMinimal_Altair_Forkchoice(t *testing.T) { diff --git a/testing/spectest/minimal/altair/operations/attestation_test.go b/testing/spectest/minimal/altair/operations/attestation_test.go index fbc1ee44e..38003522f 100644 --- a/testing/spectest/minimal/altair/operations/attestation_test.go +++ b/testing/spectest/minimal/altair/operations/attestation_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_Attestation(t *testing.T) { diff --git a/testing/spectest/minimal/altair/operations/attester_slashing_test.go b/testing/spectest/minimal/altair/operations/attester_slashing_test.go index 144ff14d6..eec7a2259 100644 --- a/testing/spectest/minimal/altair/operations/attester_slashing_test.go +++ b/testing/spectest/minimal/altair/operations/attester_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_AttesterSlashing(t *testing.T) { diff --git a/testing/spectest/minimal/altair/operations/block_header_test.go b/testing/spectest/minimal/altair/operations/block_header_test.go index a4897991c..3e9566a27 100644 --- a/testing/spectest/minimal/altair/operations/block_header_test.go +++ b/testing/spectest/minimal/altair/operations/block_header_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_BlockHeader(t *testing.T) { diff --git a/testing/spectest/minimal/altair/operations/deposit_test.go b/testing/spectest/minimal/altair/operations/deposit_test.go index f0fc6c86d..30d702ddb 100644 --- a/testing/spectest/minimal/altair/operations/deposit_test.go +++ b/testing/spectest/minimal/altair/operations/deposit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_Deposit(t *testing.T) { diff --git a/testing/spectest/minimal/altair/operations/proposer_slashing_test.go b/testing/spectest/minimal/altair/operations/proposer_slashing_test.go index c5cfc5338..68cee0458 100644 --- a/testing/spectest/minimal/altair/operations/proposer_slashing_test.go +++ b/testing/spectest/minimal/altair/operations/proposer_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_ProposerSlashing(t *testing.T) { diff --git a/testing/spectest/minimal/altair/operations/sync_committee_test.go b/testing/spectest/minimal/altair/operations/sync_committee_test.go index 95cd42b08..c76688afa 100644 --- a/testing/spectest/minimal/altair/operations/sync_committee_test.go +++ b/testing/spectest/minimal/altair/operations/sync_committee_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_SyncCommittee(t *testing.T) { diff --git a/testing/spectest/minimal/altair/operations/voluntary_exit_test.go b/testing/spectest/minimal/altair/operations/voluntary_exit_test.go index 704551e5b..31d4c10d3 100644 --- a/testing/spectest/minimal/altair/operations/voluntary_exit_test.go +++ b/testing/spectest/minimal/altair/operations/voluntary_exit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations" ) func TestMinimal_Altair_Operations_VoluntaryExit(t *testing.T) { diff --git a/testing/spectest/minimal/altair/random/random_test.go b/testing/spectest/minimal/altair/random/random_test.go index 38510e79f..fd7965513 100644 --- a/testing/spectest/minimal/altair/random/random_test.go +++ b/testing/spectest/minimal/altair/random/random_test.go @@ -3,7 +3,7 @@ package random import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/sanity" ) func TestMinimal_Altair_Random(t *testing.T) { diff --git a/testing/spectest/minimal/altair/rewards/rewards_test.go b/testing/spectest/minimal/altair/rewards/rewards_test.go index 3668639cd..9df3ca593 100644 --- a/testing/spectest/minimal/altair/rewards/rewards_test.go +++ b/testing/spectest/minimal/altair/rewards/rewards_test.go @@ -3,7 +3,7 @@ package rewards import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/rewards" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/rewards" ) func TestMinimal_Altair_Rewards(t *testing.T) { diff --git a/testing/spectest/minimal/altair/sanity/blocks_test.go b/testing/spectest/minimal/altair/sanity/blocks_test.go index e7cef2bf8..067643b2f 100644 --- a/testing/spectest/minimal/altair/sanity/blocks_test.go +++ b/testing/spectest/minimal/altair/sanity/blocks_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/sanity" ) func TestMinimal_Altair_Sanity_Blocks(t *testing.T) { diff --git a/testing/spectest/minimal/altair/sanity/slots_test.go b/testing/spectest/minimal/altair/sanity/slots_test.go index 9186f5879..2711b815a 100644 --- a/testing/spectest/minimal/altair/sanity/slots_test.go +++ b/testing/spectest/minimal/altair/sanity/slots_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/sanity" ) func TestMinimal_Altair_Sanity_Slots(t *testing.T) { diff --git a/testing/spectest/minimal/altair/ssz_static/ssz_static_test.go b/testing/spectest/minimal/altair/ssz_static/ssz_static_test.go index f72dcd2e2..29464e5bf 100644 --- a/testing/spectest/minimal/altair/ssz_static/ssz_static_test.go +++ b/testing/spectest/minimal/altair/ssz_static/ssz_static_test.go @@ -3,7 +3,7 @@ package ssz_static import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/ssz_static" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/ssz_static" ) func TestMinimal_Altair_SSZStatic(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/epoch_processing/effective_balance_updates_test.go b/testing/spectest/minimal/bellatrix/epoch_processing/effective_balance_updates_test.go index 5927a7e5a..9f2bf4310 100644 --- a/testing/spectest/minimal/bellatrix/epoch_processing/effective_balance_updates_test.go +++ b/testing/spectest/minimal/bellatrix/epoch_processing/effective_balance_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMinimal_Bellatrix_EpochProcessing_EffectiveBalanceUpdates(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/epoch_processing/eth1_data_reset_test.go b/testing/spectest/minimal/bellatrix/epoch_processing/eth1_data_reset_test.go index e30b4f205..c06f46f18 100644 --- a/testing/spectest/minimal/bellatrix/epoch_processing/eth1_data_reset_test.go +++ b/testing/spectest/minimal/bellatrix/epoch_processing/eth1_data_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMinimal_Bellatrix_EpochProcessing_Eth1DataReset(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/epoch_processing/historical_roots_update_test.go b/testing/spectest/minimal/bellatrix/epoch_processing/historical_roots_update_test.go index 7dcfd2085..0a54bc305 100644 --- a/testing/spectest/minimal/bellatrix/epoch_processing/historical_roots_update_test.go +++ b/testing/spectest/minimal/bellatrix/epoch_processing/historical_roots_update_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMinimal_Bellatrix_EpochProcessing_HistoricalRootsUpdate(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/epoch_processing/inactivity_updates_test.go b/testing/spectest/minimal/bellatrix/epoch_processing/inactivity_updates_test.go index 4672488bf..56d87dc81 100644 --- a/testing/spectest/minimal/bellatrix/epoch_processing/inactivity_updates_test.go +++ b/testing/spectest/minimal/bellatrix/epoch_processing/inactivity_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMinimal_Bellatrix_EpochProcessing_InactivityUpdates(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/epoch_processing/justification_and_finalization_test.go b/testing/spectest/minimal/bellatrix/epoch_processing/justification_and_finalization_test.go index f5153d57c..2ca6f4f40 100644 --- a/testing/spectest/minimal/bellatrix/epoch_processing/justification_and_finalization_test.go +++ b/testing/spectest/minimal/bellatrix/epoch_processing/justification_and_finalization_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMinimal_Bellatrix_EpochProcessing_JustificationAndFinalization(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/epoch_processing/participation_flag_updates_test.go b/testing/spectest/minimal/bellatrix/epoch_processing/participation_flag_updates_test.go index 1a3df3a20..886d66843 100644 --- a/testing/spectest/minimal/bellatrix/epoch_processing/participation_flag_updates_test.go +++ b/testing/spectest/minimal/bellatrix/epoch_processing/participation_flag_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMinimal_Bellatrix_EpochProcessing_ParticipationFlag(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/epoch_processing/randao_mixes_reset_test.go b/testing/spectest/minimal/bellatrix/epoch_processing/randao_mixes_reset_test.go index f47e7b00b..075c9d7c3 100644 --- a/testing/spectest/minimal/bellatrix/epoch_processing/randao_mixes_reset_test.go +++ b/testing/spectest/minimal/bellatrix/epoch_processing/randao_mixes_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMinimal_Bellatrix_EpochProcessing_RandaoMixesReset(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/epoch_processing/registry_updates_test.go b/testing/spectest/minimal/bellatrix/epoch_processing/registry_updates_test.go index 4ca7a370b..058ee14fa 100644 --- a/testing/spectest/minimal/bellatrix/epoch_processing/registry_updates_test.go +++ b/testing/spectest/minimal/bellatrix/epoch_processing/registry_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMinimal_Bellatrix_EpochProcessing_ResetRegistryUpdates(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/epoch_processing/rewards_and_penalties_test.go b/testing/spectest/minimal/bellatrix/epoch_processing/rewards_and_penalties_test.go index d1e9688c0..fbecd3e56 100644 --- a/testing/spectest/minimal/bellatrix/epoch_processing/rewards_and_penalties_test.go +++ b/testing/spectest/minimal/bellatrix/epoch_processing/rewards_and_penalties_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMinimal_Bellatrix_EpochProcessing_RewardsAndPenalties(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/epoch_processing/slashings_reset_test.go b/testing/spectest/minimal/bellatrix/epoch_processing/slashings_reset_test.go index 27b358e84..ef5cd8718 100644 --- a/testing/spectest/minimal/bellatrix/epoch_processing/slashings_reset_test.go +++ b/testing/spectest/minimal/bellatrix/epoch_processing/slashings_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMinimal_Bellatrix_EpochProcessing_SlashingsReset(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/epoch_processing/slashings_test.go b/testing/spectest/minimal/bellatrix/epoch_processing/slashings_test.go index 3692ea438..c0e95c303 100644 --- a/testing/spectest/minimal/bellatrix/epoch_processing/slashings_test.go +++ b/testing/spectest/minimal/bellatrix/epoch_processing/slashings_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing" ) func TestMinimal_Bellatrix_EpochProcessing_Slashings(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/finality/finality_test.go b/testing/spectest/minimal/bellatrix/finality/finality_test.go index 7585f56ef..e7e7ecc6b 100644 --- a/testing/spectest/minimal/bellatrix/finality/finality_test.go +++ b/testing/spectest/minimal/bellatrix/finality/finality_test.go @@ -3,7 +3,7 @@ package finality import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/finality" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/finality" ) func TestMinimal_Bellatrix_Finality(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/fork/upgrade_to_altair_test.go b/testing/spectest/minimal/bellatrix/fork/upgrade_to_altair_test.go index 8188241b3..123f4222a 100644 --- a/testing/spectest/minimal/bellatrix/fork/upgrade_to_altair_test.go +++ b/testing/spectest/minimal/bellatrix/fork/upgrade_to_altair_test.go @@ -3,7 +3,7 @@ package fork import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/fork" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/fork" ) func TestMinimal_Bellatrix_UpgradeToBellatrix(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/forkchoice/forkchoice_test.go b/testing/spectest/minimal/bellatrix/forkchoice/forkchoice_test.go index 9fea3fbb0..092d311b0 100644 --- a/testing/spectest/minimal/bellatrix/forkchoice/forkchoice_test.go +++ b/testing/spectest/minimal/bellatrix/forkchoice/forkchoice_test.go @@ -3,9 +3,9 @@ package forkchoice import ( "testing" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/common/forkchoice" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/forkchoice" ) func TestMinimal_Bellatrix_Forkchoice(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/operations/attestation_test.go b/testing/spectest/minimal/bellatrix/operations/attestation_test.go index f69c16998..fea47a2ab 100644 --- a/testing/spectest/minimal/bellatrix/operations/attestation_test.go +++ b/testing/spectest/minimal/bellatrix/operations/attestation_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMinimal_Bellatrix_Operations_Attestation(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/operations/attester_slashing_test.go b/testing/spectest/minimal/bellatrix/operations/attester_slashing_test.go index 5c58f53ab..610cd84be 100644 --- a/testing/spectest/minimal/bellatrix/operations/attester_slashing_test.go +++ b/testing/spectest/minimal/bellatrix/operations/attester_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMinimal_Bellatrix_Operations_AttesterSlashing(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/operations/block_header_test.go b/testing/spectest/minimal/bellatrix/operations/block_header_test.go index 3c328cf55..14f9af9c0 100644 --- a/testing/spectest/minimal/bellatrix/operations/block_header_test.go +++ b/testing/spectest/minimal/bellatrix/operations/block_header_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMinimal_Bellatrix_Operations_BlockHeader(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/operations/deposit_test.go b/testing/spectest/minimal/bellatrix/operations/deposit_test.go index fcc9b96a0..92dbe3eb0 100644 --- a/testing/spectest/minimal/bellatrix/operations/deposit_test.go +++ b/testing/spectest/minimal/bellatrix/operations/deposit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMinimal_Bellatrix_Operations_Deposit(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/operations/proposer_slashing_test.go b/testing/spectest/minimal/bellatrix/operations/proposer_slashing_test.go index ffb13d4db..e6439a4c4 100644 --- a/testing/spectest/minimal/bellatrix/operations/proposer_slashing_test.go +++ b/testing/spectest/minimal/bellatrix/operations/proposer_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMinimal_Bellatrix_Operations_ProposerSlashing(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/operations/sync_committee_test.go b/testing/spectest/minimal/bellatrix/operations/sync_committee_test.go index 692a828a7..a9c50077a 100644 --- a/testing/spectest/minimal/bellatrix/operations/sync_committee_test.go +++ b/testing/spectest/minimal/bellatrix/operations/sync_committee_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMinimal_Bellatrix_Operations_SyncCommittee(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/operations/voluntary_exit_test.go b/testing/spectest/minimal/bellatrix/operations/voluntary_exit_test.go index b013bb474..95b04fc12 100644 --- a/testing/spectest/minimal/bellatrix/operations/voluntary_exit_test.go +++ b/testing/spectest/minimal/bellatrix/operations/voluntary_exit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations" ) func TestMinimal_Bellatrix_Operations_VoluntaryExit(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/rewards/rewards_test.go b/testing/spectest/minimal/bellatrix/rewards/rewards_test.go index 9021fddda..e3df2759c 100644 --- a/testing/spectest/minimal/bellatrix/rewards/rewards_test.go +++ b/testing/spectest/minimal/bellatrix/rewards/rewards_test.go @@ -3,7 +3,7 @@ package rewards import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/rewards" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/rewards" ) func TestMinimal_Bellatrix_Rewards(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/sanity/blocks_test.go b/testing/spectest/minimal/bellatrix/sanity/blocks_test.go index f6775536c..0af4ba15e 100644 --- a/testing/spectest/minimal/bellatrix/sanity/blocks_test.go +++ b/testing/spectest/minimal/bellatrix/sanity/blocks_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/sanity" ) func TestMinimal_Bellatrix_Sanity_Blocks(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/sanity/slots_test.go b/testing/spectest/minimal/bellatrix/sanity/slots_test.go index 691623b54..f7bcec5ac 100644 --- a/testing/spectest/minimal/bellatrix/sanity/slots_test.go +++ b/testing/spectest/minimal/bellatrix/sanity/slots_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/sanity" ) func TestMinimal_Bellatrix_Sanity_Slots(t *testing.T) { diff --git a/testing/spectest/minimal/bellatrix/ssz_static/ssz_static_test.go b/testing/spectest/minimal/bellatrix/ssz_static/ssz_static_test.go index d1c844cfa..9dda27ac4 100644 --- a/testing/spectest/minimal/bellatrix/ssz_static/ssz_static_test.go +++ b/testing/spectest/minimal/bellatrix/ssz_static/ssz_static_test.go @@ -3,7 +3,7 @@ package ssz_static import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/ssz_static" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/ssz_static" ) func TestMinimal_Bellatrix_SSZStatic(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/epoch_processing/effective_balance_updates_test.go b/testing/spectest/minimal/phase0/epoch_processing/effective_balance_updates_test.go index 1e46d40cb..2a308e202 100644 --- a/testing/spectest/minimal/phase0/epoch_processing/effective_balance_updates_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/effective_balance_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_EffectiveBalanceUpdates(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/epoch_processing/epoch_processing_test.go b/testing/spectest/minimal/phase0/epoch_processing/epoch_processing_test.go index 2dd71d156..86f183741 100644 --- a/testing/spectest/minimal/phase0/epoch_processing/epoch_processing_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/epoch_processing_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func TestMain(m *testing.M) { diff --git a/testing/spectest/minimal/phase0/epoch_processing/eth1_data_reset_test.go b/testing/spectest/minimal/phase0/epoch_processing/eth1_data_reset_test.go index 78cc357e9..c12751482 100644 --- a/testing/spectest/minimal/phase0/epoch_processing/eth1_data_reset_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/eth1_data_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_Eth1DataReset(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/epoch_processing/historical_roots_update_test.go b/testing/spectest/minimal/phase0/epoch_processing/historical_roots_update_test.go index fb1dba2eb..125e3a1d1 100644 --- a/testing/spectest/minimal/phase0/epoch_processing/historical_roots_update_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/historical_roots_update_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_HistoricalRootsUpdate(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/epoch_processing/justification_and_finalization_test.go b/testing/spectest/minimal/phase0/epoch_processing/justification_and_finalization_test.go index 5d18dfbd0..073380446 100644 --- a/testing/spectest/minimal/phase0/epoch_processing/justification_and_finalization_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/justification_and_finalization_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_JustificationAndFinalization(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/epoch_processing/participation_record_updates_test.go b/testing/spectest/minimal/phase0/epoch_processing/participation_record_updates_test.go index d61a29f91..dc330ab50 100644 --- a/testing/spectest/minimal/phase0/epoch_processing/participation_record_updates_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/participation_record_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_ParticipationRecordUpdates(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/epoch_processing/randao_mixes_reset_test.go b/testing/spectest/minimal/phase0/epoch_processing/randao_mixes_reset_test.go index 38b44c773..be0324a4e 100644 --- a/testing/spectest/minimal/phase0/epoch_processing/randao_mixes_reset_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/randao_mixes_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_RandaoMixesReset(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/epoch_processing/registry_updates_test.go b/testing/spectest/minimal/phase0/epoch_processing/registry_updates_test.go index da18fadba..5db3e3982 100644 --- a/testing/spectest/minimal/phase0/epoch_processing/registry_updates_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/registry_updates_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_ResetRegistryUpdates(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/epoch_processing/rewards_and_penalties_test.go b/testing/spectest/minimal/phase0/epoch_processing/rewards_and_penalties_test.go index 18fbc4578..cf90f5e6f 100644 --- a/testing/spectest/minimal/phase0/epoch_processing/rewards_and_penalties_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/rewards_and_penalties_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_RewardsAndPenalties(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/epoch_processing/slashings_reset_test.go b/testing/spectest/minimal/phase0/epoch_processing/slashings_reset_test.go index 63f6f6a9a..b34047b1e 100644 --- a/testing/spectest/minimal/phase0/epoch_processing/slashings_reset_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/slashings_reset_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_SlashingsReset(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/epoch_processing/slashings_test.go b/testing/spectest/minimal/phase0/epoch_processing/slashings_test.go index 62fea1d67..875bd8cf2 100644 --- a/testing/spectest/minimal/phase0/epoch_processing/slashings_test.go +++ b/testing/spectest/minimal/phase0/epoch_processing/slashings_test.go @@ -3,7 +3,7 @@ package epoch_processing import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing" ) func TestMinimal_Phase0_EpochProcessing_Slashings(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/finality/finality_test.go b/testing/spectest/minimal/phase0/finality/finality_test.go index b4b1b0b93..fff17dd66 100644 --- a/testing/spectest/minimal/phase0/finality/finality_test.go +++ b/testing/spectest/minimal/phase0/finality/finality_test.go @@ -3,7 +3,7 @@ package finality import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/finality" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/finality" ) func TestMinimal_Phase0_Finality(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/forkchoice/forkchoice_test.go b/testing/spectest/minimal/phase0/forkchoice/forkchoice_test.go index 0588a5688..d554b564c 100644 --- a/testing/spectest/minimal/phase0/forkchoice/forkchoice_test.go +++ b/testing/spectest/minimal/phase0/forkchoice/forkchoice_test.go @@ -3,9 +3,9 @@ package forkchoice import ( "testing" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/common/forkchoice" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/forkchoice" ) func TestMinimal_Altair_Forkchoice(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/operations/attestation_test.go b/testing/spectest/minimal/phase0/operations/attestation_test.go index 56b14e729..d890a63ff 100644 --- a/testing/spectest/minimal/phase0/operations/attestation_test.go +++ b/testing/spectest/minimal/phase0/operations/attestation_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations" ) func TestMinimal_Phase0_Operations_Attestation(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/operations/attester_slashing_test.go b/testing/spectest/minimal/phase0/operations/attester_slashing_test.go index d618bec1c..510ab942d 100644 --- a/testing/spectest/minimal/phase0/operations/attester_slashing_test.go +++ b/testing/spectest/minimal/phase0/operations/attester_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations" ) func TestMinimal_Phase0_Operations_AttesterSlashing(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/operations/block_header_test.go b/testing/spectest/minimal/phase0/operations/block_header_test.go index b9852c6ec..9844ef5d9 100644 --- a/testing/spectest/minimal/phase0/operations/block_header_test.go +++ b/testing/spectest/minimal/phase0/operations/block_header_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations" ) func TestMinimal_Phase0_Operations_BlockHeader(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/operations/deposit_test.go b/testing/spectest/minimal/phase0/operations/deposit_test.go index 54a72a018..2b34472c2 100644 --- a/testing/spectest/minimal/phase0/operations/deposit_test.go +++ b/testing/spectest/minimal/phase0/operations/deposit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations" ) func TestMinimal_Phase0_Operations_Deposit(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/operations/proposer_slashing_test.go b/testing/spectest/minimal/phase0/operations/proposer_slashing_test.go index 0d0fe50d7..87126b173 100644 --- a/testing/spectest/minimal/phase0/operations/proposer_slashing_test.go +++ b/testing/spectest/minimal/phase0/operations/proposer_slashing_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations" ) func TestMinimal_Phase0_Operations_ProposerSlashing(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/operations/voluntary_exit_test.go b/testing/spectest/minimal/phase0/operations/voluntary_exit_test.go index 786f4813d..5aeda8b4a 100644 --- a/testing/spectest/minimal/phase0/operations/voluntary_exit_test.go +++ b/testing/spectest/minimal/phase0/operations/voluntary_exit_test.go @@ -3,7 +3,7 @@ package operations import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations" ) func TestMinimal_Phase0_Operations_VoluntaryExit(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/random/random_test.go b/testing/spectest/minimal/phase0/random/random_test.go index 6355ed95c..e9cce05ac 100644 --- a/testing/spectest/minimal/phase0/random/random_test.go +++ b/testing/spectest/minimal/phase0/random/random_test.go @@ -3,7 +3,7 @@ package random import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/sanity" ) func TestMinimal_Phase0_Random(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/rewards/rewards_test.go b/testing/spectest/minimal/phase0/rewards/rewards_test.go index 392dc56e3..9462b180b 100644 --- a/testing/spectest/minimal/phase0/rewards/rewards_test.go +++ b/testing/spectest/minimal/phase0/rewards/rewards_test.go @@ -3,7 +3,7 @@ package rewards import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/rewards" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/rewards" ) func TestMinimal_Phase0_Rewards(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/sanity/blocks_test.go b/testing/spectest/minimal/phase0/sanity/blocks_test.go index 44fa5f834..5fec609d3 100644 --- a/testing/spectest/minimal/phase0/sanity/blocks_test.go +++ b/testing/spectest/minimal/phase0/sanity/blocks_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/sanity" ) func TestMinimal_Phase0_Sanity_Blocks(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/sanity/slots_test.go b/testing/spectest/minimal/phase0/sanity/slots_test.go index 1802ea05b..b2f3e22f0 100644 --- a/testing/spectest/minimal/phase0/sanity/slots_test.go +++ b/testing/spectest/minimal/phase0/sanity/slots_test.go @@ -3,7 +3,7 @@ package sanity import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/sanity" ) func TestMinimal_Phase0_Sanity_Slots(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/shuffling/core/shuffle/shuffle_test.go b/testing/spectest/minimal/phase0/shuffling/core/shuffle/shuffle_test.go index b88176eaf..273e945a2 100644 --- a/testing/spectest/minimal/phase0/shuffling/core/shuffle/shuffle_test.go +++ b/testing/spectest/minimal/phase0/shuffling/core/shuffle/shuffle_test.go @@ -3,7 +3,7 @@ package shuffle import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/shuffling/core/shuffle" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/shuffling/core/shuffle" ) func TestMinimal_Phase0_Shuffling_Core_Shuffle(t *testing.T) { diff --git a/testing/spectest/minimal/phase0/ssz_static/ssz_static_test.go b/testing/spectest/minimal/phase0/ssz_static/ssz_static_test.go index 4c36685c6..a97b4091f 100644 --- a/testing/spectest/minimal/phase0/ssz_static/ssz_static_test.go +++ b/testing/spectest/minimal/phase0/ssz_static/ssz_static_test.go @@ -3,7 +3,7 @@ package ssz_static import ( "testing" - "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/ssz_static" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/ssz_static" ) func TestMinimal_Phase0_SSZStatic(t *testing.T) { diff --git a/testing/spectest/shared/altair/epoch_processing/BUILD.bazel b/testing/spectest/shared/altair/epoch_processing/BUILD.bazel index 13394f49b..0d2047153 100644 --- a/testing/spectest/shared/altair/epoch_processing/BUILD.bazel +++ b/testing/spectest/shared/altair/epoch_processing/BUILD.bazel @@ -17,7 +17,7 @@ go_library( "slashings.go", "slashings_reset.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/epoch_processing", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/epoch_processing", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/altair:go_default_library", diff --git a/testing/spectest/shared/altair/epoch_processing/effective_balance_updates.go b/testing/spectest/shared/altair/epoch_processing/effective_balance_updates.go index 294459802..ad6d34079 100644 --- a/testing/spectest/shared/altair/epoch_processing/effective_balance_updates.go +++ b/testing/spectest/shared/altair/epoch_processing/effective_balance_updates.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunEffectiveBalanceUpdatesTests executes "epoch_processing/effective_balance_updates" tests. diff --git a/testing/spectest/shared/altair/epoch_processing/eth1_data_reset.go b/testing/spectest/shared/altair/epoch_processing/eth1_data_reset.go index 995062baa..89f53d4a2 100644 --- a/testing/spectest/shared/altair/epoch_processing/eth1_data_reset.go +++ b/testing/spectest/shared/altair/epoch_processing/eth1_data_reset.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunEth1DataResetTests executes "epoch_processing/eth1_data_reset" tests. diff --git a/testing/spectest/shared/altair/epoch_processing/helpers.go b/testing/spectest/shared/altair/epoch_processing/helpers.go index 97a792fd9..f89356ace 100644 --- a/testing/spectest/shared/altair/epoch_processing/helpers.go +++ b/testing/spectest/shared/altair/epoch_processing/helpers.go @@ -8,11 +8,11 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/altair/epoch_processing/historical_roots_update.go b/testing/spectest/shared/altair/epoch_processing/historical_roots_update.go index d842d0415..2023325e4 100644 --- a/testing/spectest/shared/altair/epoch_processing/historical_roots_update.go +++ b/testing/spectest/shared/altair/epoch_processing/historical_roots_update.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunHistoricalRootsUpdateTests executes "epoch_processing/historical_roots_update" tests. diff --git a/testing/spectest/shared/altair/epoch_processing/inactivity_updates.go b/testing/spectest/shared/altair/epoch_processing/inactivity_updates.go index 44d7ad8d6..8fa8e1511 100644 --- a/testing/spectest/shared/altair/epoch_processing/inactivity_updates.go +++ b/testing/spectest/shared/altair/epoch_processing/inactivity_updates.go @@ -5,11 +5,11 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunInactivityUpdatesTest executes "epoch_processing/inactivity_updates" tests. diff --git a/testing/spectest/shared/altair/epoch_processing/justification_and_finalization.go b/testing/spectest/shared/altair/epoch_processing/justification_and_finalization.go index 1333351f2..a4f69895d 100644 --- a/testing/spectest/shared/altair/epoch_processing/justification_and_finalization.go +++ b/testing/spectest/shared/altair/epoch_processing/justification_and_finalization.go @@ -5,11 +5,11 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunJustificationAndFinalizationTests executes "epoch_processing/justification_and_finalization" tests. diff --git a/testing/spectest/shared/altair/epoch_processing/participation_flag_updates.go b/testing/spectest/shared/altair/epoch_processing/participation_flag_updates.go index f616b4734..6b8fa2662 100644 --- a/testing/spectest/shared/altair/epoch_processing/participation_flag_updates.go +++ b/testing/spectest/shared/altair/epoch_processing/participation_flag_updates.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunParticipationFlagUpdatesTests executes "epoch_processing/participation_flag_updates" tests. diff --git a/testing/spectest/shared/altair/epoch_processing/randao_mixes_reset.go b/testing/spectest/shared/altair/epoch_processing/randao_mixes_reset.go index 589a13e0c..c98ad1fec 100644 --- a/testing/spectest/shared/altair/epoch_processing/randao_mixes_reset.go +++ b/testing/spectest/shared/altair/epoch_processing/randao_mixes_reset.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunRandaoMixesResetTests executes "epoch_processing/randao_mixes_reset" tests. diff --git a/testing/spectest/shared/altair/epoch_processing/registry_updates.go b/testing/spectest/shared/altair/epoch_processing/registry_updates.go index bbd24af5a..40c81c776 100644 --- a/testing/spectest/shared/altair/epoch_processing/registry_updates.go +++ b/testing/spectest/shared/altair/epoch_processing/registry_updates.go @@ -5,11 +5,11 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunRegistryUpdatesTests executes "epoch_processing/registry_updates" tests. diff --git a/testing/spectest/shared/altair/epoch_processing/rewards_and_penalties.go b/testing/spectest/shared/altair/epoch_processing/rewards_and_penalties.go index 48a95a0dd..3ee1b184e 100644 --- a/testing/spectest/shared/altair/epoch_processing/rewards_and_penalties.go +++ b/testing/spectest/shared/altair/epoch_processing/rewards_and_penalties.go @@ -5,11 +5,11 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunRewardsAndPenaltiesTests executes "epoch_processing/rewards_and_penalties" tests. diff --git a/testing/spectest/shared/altair/epoch_processing/slashings.go b/testing/spectest/shared/altair/epoch_processing/slashings.go index 0e1fab9ab..b043c1cb0 100644 --- a/testing/spectest/shared/altair/epoch_processing/slashings.go +++ b/testing/spectest/shared/altair/epoch_processing/slashings.go @@ -4,12 +4,12 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunSlashingsTests executes "epoch_processing/slashings" tests. diff --git a/testing/spectest/shared/altair/epoch_processing/slashings_reset.go b/testing/spectest/shared/altair/epoch_processing/slashings_reset.go index 197f534b0..c054f6308 100644 --- a/testing/spectest/shared/altair/epoch_processing/slashings_reset.go +++ b/testing/spectest/shared/altair/epoch_processing/slashings_reset.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunSlashingsResetTests executes "epoch_processing/slashings_reset" tests. diff --git a/testing/spectest/shared/altair/finality/BUILD.bazel b/testing/spectest/shared/altair/finality/BUILD.bazel index 8738a5463..3054cb83f 100644 --- a/testing/spectest/shared/altair/finality/BUILD.bazel +++ b/testing/spectest/shared/altair/finality/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["finality.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/finality", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/finality", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/helpers:go_default_library", diff --git a/testing/spectest/shared/altair/finality/finality.go b/testing/spectest/shared/altair/finality/finality.go index 5cc29c67a..0f1bf575e 100644 --- a/testing/spectest/shared/altair/finality/finality.go +++ b/testing/spectest/shared/altair/finality/finality.go @@ -6,15 +6,15 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/testing/spectest/shared/altair/fork/BUILD.bazel b/testing/spectest/shared/altair/fork/BUILD.bazel index 7ef096de8..80f54d042 100644 --- a/testing/spectest/shared/altair/fork/BUILD.bazel +++ b/testing/spectest/shared/altair/fork/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "transition.go", "upgrade_to_altair.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/fork", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/fork", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/altair:go_default_library", diff --git a/testing/spectest/shared/altair/fork/transition.go b/testing/spectest/shared/altair/fork/transition.go index 2a2269cca..e9f4e72ad 100644 --- a/testing/spectest/shared/altair/fork/transition.go +++ b/testing/spectest/shared/altair/fork/transition.go @@ -6,17 +6,17 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/testing/spectest/shared/altair/fork/upgrade_to_altair.go b/testing/spectest/shared/altair/fork/upgrade_to_altair.go index 31c5e5d7f..3bc05459c 100644 --- a/testing/spectest/shared/altair/fork/upgrade_to_altair.go +++ b/testing/spectest/shared/altair/fork/upgrade_to_altair.go @@ -6,14 +6,14 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - statealtair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + statealtair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/testing/spectest/shared/altair/operations/BUILD.bazel b/testing/spectest/shared/altair/operations/BUILD.bazel index 0b73d8905..28b3725e7 100644 --- a/testing/spectest/shared/altair/operations/BUILD.bazel +++ b/testing/spectest/shared/altair/operations/BUILD.bazel @@ -13,7 +13,7 @@ go_library( "sync_committee.go", "voluntary_exit.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/operations", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/operations", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/altair:go_default_library", diff --git a/testing/spectest/shared/altair/operations/attestation.go b/testing/spectest/shared/altair/operations/attestation.go index d6540ffef..1370efd3d 100644 --- a/testing/spectest/shared/altair/operations/attestation.go +++ b/testing/spectest/shared/altair/operations/attestation.go @@ -7,14 +7,14 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - b "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + b "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func RunAttestationTest(t *testing.T, config string) { diff --git a/testing/spectest/shared/altair/operations/attester_slashing.go b/testing/spectest/shared/altair/operations/attester_slashing.go index 6801a95ee..7f8c39477 100644 --- a/testing/spectest/shared/altair/operations/attester_slashing.go +++ b/testing/spectest/shared/altair/operations/attester_slashing.go @@ -6,14 +6,14 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func RunAttesterSlashingTest(t *testing.T, config string) { diff --git a/testing/spectest/shared/altair/operations/block_header.go b/testing/spectest/shared/altair/operations/block_header.go index e701374ca..df7ba5643 100644 --- a/testing/spectest/shared/altair/operations/block_header.go +++ b/testing/spectest/shared/altair/operations/block_header.go @@ -9,12 +9,12 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/altair/operations/deposit.go b/testing/spectest/shared/altair/operations/deposit.go index 1f84cbb19..dd506c1b8 100644 --- a/testing/spectest/shared/altair/operations/deposit.go +++ b/testing/spectest/shared/altair/operations/deposit.go @@ -6,13 +6,13 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func RunDepositTest(t *testing.T, config string) { diff --git a/testing/spectest/shared/altair/operations/helpers.go b/testing/spectest/shared/altair/operations/helpers.go index cf8a52592..d4fd5c8e0 100644 --- a/testing/spectest/shared/altair/operations/helpers.go +++ b/testing/spectest/shared/altair/operations/helpers.go @@ -9,14 +9,14 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/altair/operations/proposer_slashing.go b/testing/spectest/shared/altair/operations/proposer_slashing.go index a81991034..b06daa734 100644 --- a/testing/spectest/shared/altair/operations/proposer_slashing.go +++ b/testing/spectest/shared/altair/operations/proposer_slashing.go @@ -6,14 +6,14 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func RunProposerSlashingTest(t *testing.T, config string) { diff --git a/testing/spectest/shared/altair/operations/sync_committee.go b/testing/spectest/shared/altair/operations/sync_committee.go index ba66fd1a6..90a244a49 100644 --- a/testing/spectest/shared/altair/operations/sync_committee.go +++ b/testing/spectest/shared/altair/operations/sync_committee.go @@ -6,13 +6,13 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func RunSyncCommitteeTest(t *testing.T, config string) { diff --git a/testing/spectest/shared/altair/operations/voluntary_exit.go b/testing/spectest/shared/altair/operations/voluntary_exit.go index 04664508d..79e429323 100644 --- a/testing/spectest/shared/altair/operations/voluntary_exit.go +++ b/testing/spectest/shared/altair/operations/voluntary_exit.go @@ -6,13 +6,13 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func RunVoluntaryExitTest(t *testing.T, config string) { diff --git a/testing/spectest/shared/altair/rewards/BUILD.bazel b/testing/spectest/shared/altair/rewards/BUILD.bazel index 4def4684b..bcb528e49 100644 --- a/testing/spectest/shared/altair/rewards/BUILD.bazel +++ b/testing/spectest/shared/altair/rewards/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["rewards_penalties.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/rewards", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/rewards", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/altair:go_default_library", diff --git a/testing/spectest/shared/altair/rewards/rewards_penalties.go b/testing/spectest/shared/altair/rewards/rewards_penalties.go index 678b3badb..5deb07d84 100644 --- a/testing/spectest/shared/altair/rewards/rewards_penalties.go +++ b/testing/spectest/shared/altair/rewards/rewards_penalties.go @@ -10,13 +10,13 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // Delta contains list of rewards and penalties. diff --git a/testing/spectest/shared/altair/sanity/BUILD.bazel b/testing/spectest/shared/altair/sanity/BUILD.bazel index 21916b746..f8d40bf43 100644 --- a/testing/spectest/shared/altair/sanity/BUILD.bazel +++ b/testing/spectest/shared/altair/sanity/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "block_processing.yaml.go", "slot_processing.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/sanity", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/sanity", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/helpers:go_default_library", diff --git a/testing/spectest/shared/altair/sanity/block_processing.go b/testing/spectest/shared/altair/sanity/block_processing.go index 1c8257828..0d4b44438 100644 --- a/testing/spectest/shared/altair/sanity/block_processing.go +++ b/testing/spectest/shared/altair/sanity/block_processing.go @@ -11,15 +11,15 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/d4l3k/messagediff" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/testing/spectest/shared/altair/sanity/slot_processing.go b/testing/spectest/shared/altair/sanity/slot_processing.go index 74103eeba..6f158ab7d 100644 --- a/testing/spectest/shared/altair/sanity/slot_processing.go +++ b/testing/spectest/shared/altair/sanity/slot_processing.go @@ -6,12 +6,12 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/altair/ssz_static/BUILD.bazel b/testing/spectest/shared/altair/ssz_static/BUILD.bazel index f25460863..733365e54 100644 --- a/testing/spectest/shared/altair/ssz_static/BUILD.bazel +++ b/testing/spectest/shared/altair/ssz_static/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["ssz_static.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/altair/ssz_static", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/altair/ssz_static", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/state/v2:go_default_library", diff --git a/testing/spectest/shared/altair/ssz_static/ssz_static.go b/testing/spectest/shared/altair/ssz_static/ssz_static.go index ee19572fe..e719ae70a 100644 --- a/testing/spectest/shared/altair/ssz_static/ssz_static.go +++ b/testing/spectest/shared/altair/ssz_static/ssz_static.go @@ -6,10 +6,10 @@ import ( "testing" fssz "github.com/prysmaticlabs/fastssz" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - common "github.com/prysmaticlabs/prysm/testing/spectest/shared/common/ssz_static" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + common "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/ssz_static" ) // RunSSZStaticTests executes "ssz_static" tests. diff --git a/testing/spectest/shared/bellatrix/epoch_processing/BUILD.bazel b/testing/spectest/shared/bellatrix/epoch_processing/BUILD.bazel index e894e7c14..e59febd06 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/BUILD.bazel +++ b/testing/spectest/shared/bellatrix/epoch_processing/BUILD.bazel @@ -17,7 +17,7 @@ go_library( "slashings.go", "slashings_reset.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/epoch_processing", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/epoch_processing", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/altair:go_default_library", diff --git a/testing/spectest/shared/bellatrix/epoch_processing/effective_balance_updates.go b/testing/spectest/shared/bellatrix/epoch_processing/effective_balance_updates.go index 3bd765171..10c901129 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/effective_balance_updates.go +++ b/testing/spectest/shared/bellatrix/epoch_processing/effective_balance_updates.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunEffectiveBalanceUpdatesTests executes "epoch_processing/effective_balance_updates" tests. diff --git a/testing/spectest/shared/bellatrix/epoch_processing/eth1_data_reset.go b/testing/spectest/shared/bellatrix/epoch_processing/eth1_data_reset.go index 88cc759de..bd1d381fe 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/eth1_data_reset.go +++ b/testing/spectest/shared/bellatrix/epoch_processing/eth1_data_reset.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunEth1DataResetTests executes "epoch_processing/eth1_data_reset" tests. diff --git a/testing/spectest/shared/bellatrix/epoch_processing/helpers.go b/testing/spectest/shared/bellatrix/epoch_processing/helpers.go index 55e254205..f99c63351 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/helpers.go +++ b/testing/spectest/shared/bellatrix/epoch_processing/helpers.go @@ -8,11 +8,11 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/bellatrix/epoch_processing/historical_roots_update.go b/testing/spectest/shared/bellatrix/epoch_processing/historical_roots_update.go index 272df844c..3c3e601c8 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/historical_roots_update.go +++ b/testing/spectest/shared/bellatrix/epoch_processing/historical_roots_update.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunHistoricalRootsUpdateTests executes "epoch_processing/historical_roots_update" tests. diff --git a/testing/spectest/shared/bellatrix/epoch_processing/inactivity_updates.go b/testing/spectest/shared/bellatrix/epoch_processing/inactivity_updates.go index b1b089d23..303166dbf 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/inactivity_updates.go +++ b/testing/spectest/shared/bellatrix/epoch_processing/inactivity_updates.go @@ -5,11 +5,11 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunInactivityUpdatesTest executes "epoch_processing/inactivity_updates" tests. diff --git a/testing/spectest/shared/bellatrix/epoch_processing/justification_and_finalization.go b/testing/spectest/shared/bellatrix/epoch_processing/justification_and_finalization.go index d700a2f21..f643140f7 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/justification_and_finalization.go +++ b/testing/spectest/shared/bellatrix/epoch_processing/justification_and_finalization.go @@ -5,11 +5,11 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunJustificationAndFinalizationTests executes "epoch_processing/justification_and_finalization" tests. diff --git a/testing/spectest/shared/bellatrix/epoch_processing/participation_flag_updates.go b/testing/spectest/shared/bellatrix/epoch_processing/participation_flag_updates.go index 8eb8bdae2..794b8553e 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/participation_flag_updates.go +++ b/testing/spectest/shared/bellatrix/epoch_processing/participation_flag_updates.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunParticipationFlagUpdatesTests executes "epoch_processing/participation_flag_updates" tests. diff --git a/testing/spectest/shared/bellatrix/epoch_processing/randao_mixes_reset.go b/testing/spectest/shared/bellatrix/epoch_processing/randao_mixes_reset.go index e6a0166ad..ecd1ce2af 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/randao_mixes_reset.go +++ b/testing/spectest/shared/bellatrix/epoch_processing/randao_mixes_reset.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunRandaoMixesResetTests executes "epoch_processing/randao_mixes_reset" tests. diff --git a/testing/spectest/shared/bellatrix/epoch_processing/registry_updates.go b/testing/spectest/shared/bellatrix/epoch_processing/registry_updates.go index 4fa182666..745a49eb9 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/registry_updates.go +++ b/testing/spectest/shared/bellatrix/epoch_processing/registry_updates.go @@ -5,11 +5,11 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunRegistryUpdatesTests executes "epoch_processing/registry_updates" tests. diff --git a/testing/spectest/shared/bellatrix/epoch_processing/rewards_and_penalties.go b/testing/spectest/shared/bellatrix/epoch_processing/rewards_and_penalties.go index 1de2b4faf..44bcb2d33 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/rewards_and_penalties.go +++ b/testing/spectest/shared/bellatrix/epoch_processing/rewards_and_penalties.go @@ -5,11 +5,11 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunRewardsAndPenaltiesTests executes "epoch_processing/rewards_and_penalties" tests. diff --git a/testing/spectest/shared/bellatrix/epoch_processing/slashings.go b/testing/spectest/shared/bellatrix/epoch_processing/slashings.go index 73487a3c1..105c24648 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/slashings.go +++ b/testing/spectest/shared/bellatrix/epoch_processing/slashings.go @@ -4,12 +4,12 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunSlashingsTests executes "epoch_processing/slashings" tests. diff --git a/testing/spectest/shared/bellatrix/epoch_processing/slashings_reset.go b/testing/spectest/shared/bellatrix/epoch_processing/slashings_reset.go index d64edf2d0..d4d415f12 100644 --- a/testing/spectest/shared/bellatrix/epoch_processing/slashings_reset.go +++ b/testing/spectest/shared/bellatrix/epoch_processing/slashings_reset.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunSlashingsResetTests executes "epoch_processing/slashings_reset" tests. diff --git a/testing/spectest/shared/bellatrix/finality/BUILD.bazel b/testing/spectest/shared/bellatrix/finality/BUILD.bazel index 6c5127788..627d4cb8e 100644 --- a/testing/spectest/shared/bellatrix/finality/BUILD.bazel +++ b/testing/spectest/shared/bellatrix/finality/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["finality.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/finality", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/finality", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/helpers:go_default_library", diff --git a/testing/spectest/shared/bellatrix/finality/finality.go b/testing/spectest/shared/bellatrix/finality/finality.go index 2d6bb3b24..a34e65b98 100644 --- a/testing/spectest/shared/bellatrix/finality/finality.go +++ b/testing/spectest/shared/bellatrix/finality/finality.go @@ -6,15 +6,15 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/testing/spectest/shared/bellatrix/fork/BUILD.bazel b/testing/spectest/shared/bellatrix/fork/BUILD.bazel index b7b809ecf..6b71cbfc8 100644 --- a/testing/spectest/shared/bellatrix/fork/BUILD.bazel +++ b/testing/spectest/shared/bellatrix/fork/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "transition.go", "upgrade_to_bellatrix.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/fork", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/fork", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/execution:go_default_library", diff --git a/testing/spectest/shared/bellatrix/fork/transition.go b/testing/spectest/shared/bellatrix/fork/transition.go index 380fff2a7..743a639b8 100644 --- a/testing/spectest/shared/bellatrix/fork/transition.go +++ b/testing/spectest/shared/bellatrix/fork/transition.go @@ -6,17 +6,17 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) type ForkConfig struct { diff --git a/testing/spectest/shared/bellatrix/fork/upgrade_to_bellatrix.go b/testing/spectest/shared/bellatrix/fork/upgrade_to_bellatrix.go index 7e4df1a33..bf033f576 100644 --- a/testing/spectest/shared/bellatrix/fork/upgrade_to_bellatrix.go +++ b/testing/spectest/shared/bellatrix/fork/upgrade_to_bellatrix.go @@ -5,14 +5,14 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/execution" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/execution" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/testing/spectest/shared/bellatrix/operations/BUILD.bazel b/testing/spectest/shared/bellatrix/operations/BUILD.bazel index 84ab84679..1e467d5cc 100644 --- a/testing/spectest/shared/bellatrix/operations/BUILD.bazel +++ b/testing/spectest/shared/bellatrix/operations/BUILD.bazel @@ -13,7 +13,7 @@ go_library( "sync_committee.go", "voluntary_exit.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/operations", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/operations", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/altair:go_default_library", diff --git a/testing/spectest/shared/bellatrix/operations/attestation.go b/testing/spectest/shared/bellatrix/operations/attestation.go index ef663312a..900e516ab 100644 --- a/testing/spectest/shared/bellatrix/operations/attestation.go +++ b/testing/spectest/shared/bellatrix/operations/attestation.go @@ -7,14 +7,14 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - b "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + b "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func RunAttestationTest(t *testing.T, config string) { diff --git a/testing/spectest/shared/bellatrix/operations/attester_slashing.go b/testing/spectest/shared/bellatrix/operations/attester_slashing.go index 6cefa7154..0eb7e2343 100644 --- a/testing/spectest/shared/bellatrix/operations/attester_slashing.go +++ b/testing/spectest/shared/bellatrix/operations/attester_slashing.go @@ -6,14 +6,14 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func RunAttesterSlashingTest(t *testing.T, config string) { diff --git a/testing/spectest/shared/bellatrix/operations/block_header.go b/testing/spectest/shared/bellatrix/operations/block_header.go index 32f6da663..a9ae97ea8 100644 --- a/testing/spectest/shared/bellatrix/operations/block_header.go +++ b/testing/spectest/shared/bellatrix/operations/block_header.go @@ -9,12 +9,12 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/bellatrix/operations/deposit.go b/testing/spectest/shared/bellatrix/operations/deposit.go index 0cb9c3e3e..61712ce74 100644 --- a/testing/spectest/shared/bellatrix/operations/deposit.go +++ b/testing/spectest/shared/bellatrix/operations/deposit.go @@ -6,13 +6,13 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func RunDepositTest(t *testing.T, config string) { diff --git a/testing/spectest/shared/bellatrix/operations/helpers.go b/testing/spectest/shared/bellatrix/operations/helpers.go index e4402994e..a299a1b84 100644 --- a/testing/spectest/shared/bellatrix/operations/helpers.go +++ b/testing/spectest/shared/bellatrix/operations/helpers.go @@ -9,14 +9,14 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/bellatrix/operations/proposer_slashing.go b/testing/spectest/shared/bellatrix/operations/proposer_slashing.go index 8411f29c0..d381d1d51 100644 --- a/testing/spectest/shared/bellatrix/operations/proposer_slashing.go +++ b/testing/spectest/shared/bellatrix/operations/proposer_slashing.go @@ -6,14 +6,14 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func RunProposerSlashingTest(t *testing.T, config string) { diff --git a/testing/spectest/shared/bellatrix/operations/sync_committee.go b/testing/spectest/shared/bellatrix/operations/sync_committee.go index 1c039acd9..c854e57aa 100644 --- a/testing/spectest/shared/bellatrix/operations/sync_committee.go +++ b/testing/spectest/shared/bellatrix/operations/sync_committee.go @@ -6,13 +6,13 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func RunSyncCommitteeTest(t *testing.T, config string) { diff --git a/testing/spectest/shared/bellatrix/operations/voluntary_exit.go b/testing/spectest/shared/bellatrix/operations/voluntary_exit.go index 6a9ebe593..14acc06d2 100644 --- a/testing/spectest/shared/bellatrix/operations/voluntary_exit.go +++ b/testing/spectest/shared/bellatrix/operations/voluntary_exit.go @@ -6,13 +6,13 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func RunVoluntaryExitTest(t *testing.T, config string) { diff --git a/testing/spectest/shared/bellatrix/rewards/BUILD.bazel b/testing/spectest/shared/bellatrix/rewards/BUILD.bazel index 2eda6a39f..ebd6de393 100644 --- a/testing/spectest/shared/bellatrix/rewards/BUILD.bazel +++ b/testing/spectest/shared/bellatrix/rewards/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["rewards_penalties.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/rewards", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/rewards", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/altair:go_default_library", diff --git a/testing/spectest/shared/bellatrix/rewards/rewards_penalties.go b/testing/spectest/shared/bellatrix/rewards/rewards_penalties.go index 4bf20d04e..31054e718 100644 --- a/testing/spectest/shared/bellatrix/rewards/rewards_penalties.go +++ b/testing/spectest/shared/bellatrix/rewards/rewards_penalties.go @@ -10,13 +10,13 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // Delta contains list of rewards and penalties. diff --git a/testing/spectest/shared/bellatrix/sanity/BUILD.bazel b/testing/spectest/shared/bellatrix/sanity/BUILD.bazel index 1daa3386e..8a2a7679e 100644 --- a/testing/spectest/shared/bellatrix/sanity/BUILD.bazel +++ b/testing/spectest/shared/bellatrix/sanity/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "block_processing.yaml.go", "slot_processing.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/sanity", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/sanity", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/helpers:go_default_library", diff --git a/testing/spectest/shared/bellatrix/sanity/block_processing.go b/testing/spectest/shared/bellatrix/sanity/block_processing.go index 08bf3140e..221b86d82 100644 --- a/testing/spectest/shared/bellatrix/sanity/block_processing.go +++ b/testing/spectest/shared/bellatrix/sanity/block_processing.go @@ -11,15 +11,15 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/d4l3k/messagediff" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/testing/spectest/shared/bellatrix/sanity/slot_processing.go b/testing/spectest/shared/bellatrix/sanity/slot_processing.go index 2ebe0ee94..40def129f 100644 --- a/testing/spectest/shared/bellatrix/sanity/slot_processing.go +++ b/testing/spectest/shared/bellatrix/sanity/slot_processing.go @@ -6,12 +6,12 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/bellatrix/ssz_static/BUILD.bazel b/testing/spectest/shared/bellatrix/ssz_static/BUILD.bazel index c78ee49ad..4f7c935d1 100644 --- a/testing/spectest/shared/bellatrix/ssz_static/BUILD.bazel +++ b/testing/spectest/shared/bellatrix/ssz_static/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["ssz_static.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/bellatrix/ssz_static", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/bellatrix/ssz_static", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/state/v3:go_default_library", diff --git a/testing/spectest/shared/bellatrix/ssz_static/ssz_static.go b/testing/spectest/shared/bellatrix/ssz_static/ssz_static.go index a3ab643f9..11de3a290 100644 --- a/testing/spectest/shared/bellatrix/ssz_static/ssz_static.go +++ b/testing/spectest/shared/bellatrix/ssz_static/ssz_static.go @@ -6,11 +6,11 @@ import ( "testing" fssz "github.com/prysmaticlabs/fastssz" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - common "github.com/prysmaticlabs/prysm/testing/spectest/shared/common/ssz_static" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + common "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/ssz_static" ) // RunSSZStaticTests executes "ssz_static" tests. diff --git a/testing/spectest/shared/common/forkchoice/BUILD.bazel b/testing/spectest/shared/common/forkchoice/BUILD.bazel index 221c14e1b..f238e4287 100644 --- a/testing/spectest/shared/common/forkchoice/BUILD.bazel +++ b/testing/spectest/shared/common/forkchoice/BUILD.bazel @@ -9,7 +9,7 @@ go_library( "service.go", "type.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/common/forkchoice", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/forkchoice", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/blockchain:go_default_library", diff --git a/testing/spectest/shared/common/forkchoice/builder.go b/testing/spectest/shared/common/forkchoice/builder.go index 923e033c3..490d45d4c 100644 --- a/testing/spectest/shared/common/forkchoice/builder.go +++ b/testing/spectest/shared/common/forkchoice/builder.go @@ -7,14 +7,14 @@ import ( "time" "github.com/ethereum/go-ethereum/common" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) type Builder struct { diff --git a/testing/spectest/shared/common/forkchoice/builder_test.go b/testing/spectest/shared/common/forkchoice/builder_test.go index c8fd0de20..433b58f35 100644 --- a/testing/spectest/shared/common/forkchoice/builder_test.go +++ b/testing/spectest/shared/common/forkchoice/builder_test.go @@ -3,10 +3,10 @@ package forkchoice import ( "testing" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func TestBuilderTick(t *testing.T) { diff --git a/testing/spectest/shared/common/forkchoice/runner.go b/testing/spectest/shared/common/forkchoice/runner.go index 8963b23fa..38997fce4 100644 --- a/testing/spectest/shared/common/forkchoice/runner.go +++ b/testing/spectest/shared/common/forkchoice/runner.go @@ -6,19 +6,19 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func init() { diff --git a/testing/spectest/shared/common/forkchoice/service.go b/testing/spectest/shared/common/forkchoice/service.go index a8c26d4ff..98c596711 100644 --- a/testing/spectest/shared/common/forkchoice/service.go +++ b/testing/spectest/shared/common/forkchoice/service.go @@ -8,21 +8,21 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" gethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" - mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/cache" - "github.com/prysmaticlabs/prysm/beacon-chain/cache/depositcache" - coreTime "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - testDB "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" - "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray" - "github.com/prysmaticlabs/prysm/beacon-chain/operations/attestations" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - pb "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain" + mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/cache/depositcache" + coreTime "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + testDB "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/forkchoice/protoarray" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/operations/attestations" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + pb "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func startChainService(t testing.TB, st state.BeaconState, block interfaces.SignedBeaconBlock, engineMock *engineMock) *blockchain.Service { diff --git a/testing/spectest/shared/common/ssz_static/BUILD.bazel b/testing/spectest/shared/common/ssz_static/BUILD.bazel index 55e434973..1d49402ef 100644 --- a/testing/spectest/shared/common/ssz_static/BUILD.bazel +++ b/testing/spectest/shared/common/ssz_static/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "ssz_static.go", "types.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/common/ssz_static", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/ssz_static", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//testing/require:go_default_library", diff --git a/testing/spectest/shared/common/ssz_static/ssz_static.go b/testing/spectest/shared/common/ssz_static/ssz_static.go index 93cd1d673..33d3ebeb4 100644 --- a/testing/spectest/shared/common/ssz_static/ssz_static.go +++ b/testing/spectest/shared/common/ssz_static/ssz_static.go @@ -8,9 +8,9 @@ import ( "github.com/golang/snappy" fssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // RunSSZStaticTests executes "ssz_static" tests for the given fork of phase using the provided diff --git a/testing/spectest/shared/common/ssz_static/ssz_static_example_test.go b/testing/spectest/shared/common/ssz_static/ssz_static_example_test.go index 96002f5ef..e58ed7172 100644 --- a/testing/spectest/shared/common/ssz_static/ssz_static_example_test.go +++ b/testing/spectest/shared/common/ssz_static/ssz_static_example_test.go @@ -7,10 +7,10 @@ import ( "github.com/pkg/errors" fssz "github.com/prysmaticlabs/fastssz" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - common "github.com/prysmaticlabs/prysm/testing/spectest/shared/common/ssz_static" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + common "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/ssz_static" ) func ExampleRunSSZStaticTests() { diff --git a/testing/spectest/shared/phase0/epoch_processing/BUILD.bazel b/testing/spectest/shared/phase0/epoch_processing/BUILD.bazel index 6569928e5..e18159789 100644 --- a/testing/spectest/shared/phase0/epoch_processing/BUILD.bazel +++ b/testing/spectest/shared/phase0/epoch_processing/BUILD.bazel @@ -16,7 +16,7 @@ go_library( "slashings.go", "slashings_reset.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/epoch_processing", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/epoch_processing", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/epoch:go_default_library", diff --git a/testing/spectest/shared/phase0/epoch_processing/effective_balance_updates.go b/testing/spectest/shared/phase0/epoch_processing/effective_balance_updates.go index 2015bcf19..b19942e46 100644 --- a/testing/spectest/shared/phase0/epoch_processing/effective_balance_updates.go +++ b/testing/spectest/shared/phase0/epoch_processing/effective_balance_updates.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunEffectiveBalanceUpdatesTests executes "epoch_processing/effective_balance_updates" tests. diff --git a/testing/spectest/shared/phase0/epoch_processing/eth1_data_reset.go b/testing/spectest/shared/phase0/epoch_processing/eth1_data_reset.go index 4bd284155..d59802e7f 100644 --- a/testing/spectest/shared/phase0/epoch_processing/eth1_data_reset.go +++ b/testing/spectest/shared/phase0/epoch_processing/eth1_data_reset.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunEth1DataResetTests executes "epoch_processing/eth1_data_reset" tests. diff --git a/testing/spectest/shared/phase0/epoch_processing/helpers.go b/testing/spectest/shared/phase0/epoch_processing/helpers.go index 0d9920e55..54c9f19aa 100644 --- a/testing/spectest/shared/phase0/epoch_processing/helpers.go +++ b/testing/spectest/shared/phase0/epoch_processing/helpers.go @@ -8,11 +8,11 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" ) diff --git a/testing/spectest/shared/phase0/epoch_processing/historical_roots_update.go b/testing/spectest/shared/phase0/epoch_processing/historical_roots_update.go index bf31a4ff6..43fb2315b 100644 --- a/testing/spectest/shared/phase0/epoch_processing/historical_roots_update.go +++ b/testing/spectest/shared/phase0/epoch_processing/historical_roots_update.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunHistoricalRootsUpdateTests executes "epoch_processing/historical_roots_update" tests. diff --git a/testing/spectest/shared/phase0/epoch_processing/justification_and_finalization.go b/testing/spectest/shared/phase0/epoch_processing/justification_and_finalization.go index a50ef87a9..55081d32a 100644 --- a/testing/spectest/shared/phase0/epoch_processing/justification_and_finalization.go +++ b/testing/spectest/shared/phase0/epoch_processing/justification_and_finalization.go @@ -5,10 +5,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunJustificationAndFinalizationTests executes "epoch_processing/justification_and_finalization" tests. diff --git a/testing/spectest/shared/phase0/epoch_processing/participation_record_updates.go b/testing/spectest/shared/phase0/epoch_processing/participation_record_updates.go index 306c37b12..dbe98bce4 100644 --- a/testing/spectest/shared/phase0/epoch_processing/participation_record_updates.go +++ b/testing/spectest/shared/phase0/epoch_processing/participation_record_updates.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunParticipationRecordUpdatesTests executes "epoch_processing/participation_record_updates" tests. diff --git a/testing/spectest/shared/phase0/epoch_processing/randao_mixes_reset.go b/testing/spectest/shared/phase0/epoch_processing/randao_mixes_reset.go index c10a15317..1361b97ee 100644 --- a/testing/spectest/shared/phase0/epoch_processing/randao_mixes_reset.go +++ b/testing/spectest/shared/phase0/epoch_processing/randao_mixes_reset.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunRandaoMixesResetTests executes "epoch_processing/randao_mixes_reset" tests. diff --git a/testing/spectest/shared/phase0/epoch_processing/registry_updates.go b/testing/spectest/shared/phase0/epoch_processing/registry_updates.go index 37884f929..76e90219b 100644 --- a/testing/spectest/shared/phase0/epoch_processing/registry_updates.go +++ b/testing/spectest/shared/phase0/epoch_processing/registry_updates.go @@ -5,11 +5,11 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunRegistryUpdatesTests executes "epoch_processing/registry_updates" tests. diff --git a/testing/spectest/shared/phase0/epoch_processing/rewards_and_penalties.go b/testing/spectest/shared/phase0/epoch_processing/rewards_and_penalties.go index c07779b5b..d97934bd1 100644 --- a/testing/spectest/shared/phase0/epoch_processing/rewards_and_penalties.go +++ b/testing/spectest/shared/phase0/epoch_processing/rewards_and_penalties.go @@ -5,11 +5,11 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunRewardsAndPenaltiesTests executes "epoch_processing/rewards_and_penalties" tests. diff --git a/testing/spectest/shared/phase0/epoch_processing/slashings.go b/testing/spectest/shared/phase0/epoch_processing/slashings.go index 3155d87a5..e5dd4fcea 100644 --- a/testing/spectest/shared/phase0/epoch_processing/slashings.go +++ b/testing/spectest/shared/phase0/epoch_processing/slashings.go @@ -5,13 +5,13 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunSlashingsTests executes "epoch_processing/slashings" tests. diff --git a/testing/spectest/shared/phase0/epoch_processing/slashings_reset.go b/testing/spectest/shared/phase0/epoch_processing/slashings_reset.go index e05bd880a..c66b0d17a 100644 --- a/testing/spectest/shared/phase0/epoch_processing/slashings_reset.go +++ b/testing/spectest/shared/phase0/epoch_processing/slashings_reset.go @@ -4,10 +4,10 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" ) // RunSlashingsResetTests executes "epoch_processing/slashings_reset" tests. diff --git a/testing/spectest/shared/phase0/finality/BUILD.bazel b/testing/spectest/shared/phase0/finality/BUILD.bazel index cb8daabd4..ec48477ef 100644 --- a/testing/spectest/shared/phase0/finality/BUILD.bazel +++ b/testing/spectest/shared/phase0/finality/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["runner.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/finality", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/finality", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/helpers:go_default_library", diff --git a/testing/spectest/shared/phase0/finality/runner.go b/testing/spectest/shared/phase0/finality/runner.go index 315dde498..17bd3025e 100644 --- a/testing/spectest/shared/phase0/finality/runner.go +++ b/testing/spectest/shared/phase0/finality/runner.go @@ -6,15 +6,15 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/phase0/operations/BUILD.bazel b/testing/spectest/shared/phase0/operations/BUILD.bazel index 7e895945c..0a44f9e68 100644 --- a/testing/spectest/shared/phase0/operations/BUILD.bazel +++ b/testing/spectest/shared/phase0/operations/BUILD.bazel @@ -12,7 +12,7 @@ go_library( "proposer_slashing.go", "voluntary_exit.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/operations", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/operations", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/blocks:go_default_library", diff --git a/testing/spectest/shared/phase0/operations/attestation.go b/testing/spectest/shared/phase0/operations/attestation.go index 2636f7dd7..73f49393f 100644 --- a/testing/spectest/shared/phase0/operations/attestation.go +++ b/testing/spectest/shared/phase0/operations/attestation.go @@ -7,13 +7,13 @@ import ( "github.com/golang/snappy" "github.com/pkg/errors" - b "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + b "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // RunAttestationTest executes "operations/attestation" tests. diff --git a/testing/spectest/shared/phase0/operations/attester_slashing.go b/testing/spectest/shared/phase0/operations/attester_slashing.go index 289617675..5455e435b 100644 --- a/testing/spectest/shared/phase0/operations/attester_slashing.go +++ b/testing/spectest/shared/phase0/operations/attester_slashing.go @@ -6,14 +6,14 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - v "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + v "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // RunAttesterSlashingTest executes "operations/attester_slashing" tests. diff --git a/testing/spectest/shared/phase0/operations/block_header.go b/testing/spectest/shared/phase0/operations/block_header.go index 87963b17d..c680c4ea1 100644 --- a/testing/spectest/shared/phase0/operations/block_header.go +++ b/testing/spectest/shared/phase0/operations/block_header.go @@ -9,12 +9,12 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/phase0/operations/deposit.go b/testing/spectest/shared/phase0/operations/deposit.go index bf0da96d2..c16078c5e 100644 --- a/testing/spectest/shared/phase0/operations/deposit.go +++ b/testing/spectest/shared/phase0/operations/deposit.go @@ -6,13 +6,13 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // RunDepositTest executes "operations/deposit" tests. diff --git a/testing/spectest/shared/phase0/operations/helpers.go b/testing/spectest/shared/phase0/operations/helpers.go index e5358e097..993e871bb 100644 --- a/testing/spectest/shared/phase0/operations/helpers.go +++ b/testing/spectest/shared/phase0/operations/helpers.go @@ -9,14 +9,14 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/phase0/operations/proposer_slashing.go b/testing/spectest/shared/phase0/operations/proposer_slashing.go index c277b7d5d..fbb248c62 100644 --- a/testing/spectest/shared/phase0/operations/proposer_slashing.go +++ b/testing/spectest/shared/phase0/operations/proposer_slashing.go @@ -6,14 +6,14 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - v "github.com/prysmaticlabs/prysm/beacon-chain/core/validators" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + v "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // RunProposerSlashingTest executes "operations/proposer_slashing" tests. diff --git a/testing/spectest/shared/phase0/operations/voluntary_exit.go b/testing/spectest/shared/phase0/operations/voluntary_exit.go index 59eb25f97..d473f412f 100644 --- a/testing/spectest/shared/phase0/operations/voluntary_exit.go +++ b/testing/spectest/shared/phase0/operations/voluntary_exit.go @@ -6,13 +6,13 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // RunVoluntaryExitTest executes "operations/voluntary_exit" tests. diff --git a/testing/spectest/shared/phase0/rewards/BUILD.bazel b/testing/spectest/shared/phase0/rewards/BUILD.bazel index 83e40043e..d8ab2f746 100644 --- a/testing/spectest/shared/phase0/rewards/BUILD.bazel +++ b/testing/spectest/shared/phase0/rewards/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["rewards_penalties.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/rewards", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/rewards", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/epoch/precompute:go_default_library", diff --git a/testing/spectest/shared/phase0/rewards/rewards_penalties.go b/testing/spectest/shared/phase0/rewards/rewards_penalties.go index bdd604d91..de10e92a8 100644 --- a/testing/spectest/shared/phase0/rewards/rewards_penalties.go +++ b/testing/spectest/shared/phase0/rewards/rewards_penalties.go @@ -9,13 +9,13 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/epoch/precompute" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/epoch/precompute" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // Delta contains list of rewards and penalties. diff --git a/testing/spectest/shared/phase0/sanity/BUILD.bazel b/testing/spectest/shared/phase0/sanity/BUILD.bazel index 0033e8b24..d85681c63 100644 --- a/testing/spectest/shared/phase0/sanity/BUILD.bazel +++ b/testing/spectest/shared/phase0/sanity/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "block_processing.yaml.go", "slot_processing.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/sanity", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/sanity", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/helpers:go_default_library", diff --git a/testing/spectest/shared/phase0/sanity/block_processing.go b/testing/spectest/shared/phase0/sanity/block_processing.go index c0ac71bd1..35ab64843 100644 --- a/testing/spectest/shared/phase0/sanity/block_processing.go +++ b/testing/spectest/shared/phase0/sanity/block_processing.go @@ -10,15 +10,15 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/phase0/sanity/slot_processing.go b/testing/spectest/shared/phase0/sanity/slot_processing.go index e9d0fbd3d..efb003639 100644 --- a/testing/spectest/shared/phase0/sanity/slot_processing.go +++ b/testing/spectest/shared/phase0/sanity/slot_processing.go @@ -6,12 +6,12 @@ import ( "testing" "github.com/golang/snappy" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" "google.golang.org/protobuf/proto" "gopkg.in/d4l3k/messagediff.v1" ) diff --git a/testing/spectest/shared/phase0/shuffling/core/shuffle/BUILD.bazel b/testing/spectest/shared/phase0/shuffling/core/shuffle/BUILD.bazel index 509c78e94..a7d0749a0 100644 --- a/testing/spectest/shared/phase0/shuffling/core/shuffle/BUILD.bazel +++ b/testing/spectest/shared/phase0/shuffling/core/shuffle/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "shuffle.go", "shuffle_test_format.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/shuffling/core/shuffle", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/shuffling/core/shuffle", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/core/helpers:go_default_library", diff --git a/testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle.go b/testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle.go index 36027d34d..addd8502e 100644 --- a/testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle.go +++ b/testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle.go @@ -9,11 +9,11 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/go-yaml/yaml" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/spectest/utils" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) // RunShuffleTests executes "shuffling/core/shuffle" tests. diff --git a/testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle_test_format.go b/testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle_test_format.go index cf149e1f3..df3844b90 100644 --- a/testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle_test_format.go +++ b/testing/spectest/shared/phase0/shuffling/core/shuffle/shuffle_test_format.go @@ -1,6 +1,6 @@ package shuffle -import types "github.com/prysmaticlabs/prysm/consensus-types/primitives" +import types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" // ShuffleTestCase -- type ShuffleTestCase struct { diff --git a/testing/spectest/shared/phase0/ssz_static/BUILD.bazel b/testing/spectest/shared/phase0/ssz_static/BUILD.bazel index 33ab83d02..6932f0777 100644 --- a/testing/spectest/shared/phase0/ssz_static/BUILD.bazel +++ b/testing/spectest/shared/phase0/ssz_static/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["ssz_static.go"], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/shared/phase0/ssz_static", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/phase0/ssz_static", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//beacon-chain/state/v1:go_default_library", diff --git a/testing/spectest/shared/phase0/ssz_static/ssz_static.go b/testing/spectest/shared/phase0/ssz_static/ssz_static.go index 78f622019..9d389c988 100644 --- a/testing/spectest/shared/phase0/ssz_static/ssz_static.go +++ b/testing/spectest/shared/phase0/ssz_static/ssz_static.go @@ -6,10 +6,10 @@ import ( "testing" fssz "github.com/prysmaticlabs/fastssz" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - common "github.com/prysmaticlabs/prysm/testing/spectest/shared/common/ssz_static" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + common "github.com/prysmaticlabs/prysm/v3/testing/spectest/shared/common/ssz_static" ) // RunSSZStaticTests executes "ssz_static" tests. diff --git a/testing/spectest/utils/BUILD.bazel b/testing/spectest/utils/BUILD.bazel index a690b0e01..087bf8d68 100644 --- a/testing/spectest/utils/BUILD.bazel +++ b/testing/spectest/utils/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "config.go", "utils.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/spectest/utils", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/spectest/utils", visibility = ["//testing/spectest:__subpackages__"], deps = [ "//config/params:go_default_library", diff --git a/testing/spectest/utils/config.go b/testing/spectest/utils/config.go index dccf7e909..a3b6e7af8 100644 --- a/testing/spectest/utils/config.go +++ b/testing/spectest/utils/config.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) // SetConfig sets the global params for spec tests depending on the option chosen. diff --git a/testing/spectest/utils/config_test.go b/testing/spectest/utils/config_test.go index 734b03702..cf2ff11e4 100644 --- a/testing/spectest/utils/config_test.go +++ b/testing/spectest/utils/config_test.go @@ -3,9 +3,9 @@ package utils import ( "testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestConfig(t *testing.T) { diff --git a/testing/spectest/utils/utils.go b/testing/spectest/utils/utils.go index d8fb06cc4..5e90fcff9 100644 --- a/testing/spectest/utils/utils.go +++ b/testing/spectest/utils/utils.go @@ -8,7 +8,7 @@ import ( "github.com/bazelbuild/rules_go/go/tools/bazel" "github.com/ghodss/yaml" jsoniter "github.com/json-iterator/go" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) var json = jsoniter.Config{ diff --git a/testing/util/BUILD.bazel b/testing/util/BUILD.bazel index 7a671e0e5..09f1ca211 100644 --- a/testing/util/BUILD.bazel +++ b/testing/util/BUILD.bazel @@ -18,7 +18,7 @@ go_library( "sync_committee.go", "wait_timeout.go", ], - importpath = "github.com/prysmaticlabs/prysm/testing/util", + importpath = "github.com/prysmaticlabs/prysm/v3/testing/util", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/altair:go_default_library", diff --git a/testing/util/altair.go b/testing/util/altair.go index f80e2ef5e..acd3634d1 100644 --- a/testing/util/altair.go +++ b/testing/util/altair.go @@ -7,22 +7,22 @@ import ( "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - stateAltair "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - consensusblocks "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + stateAltair "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + consensusblocks "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // DeterministicGenesisStateAltair returns a genesis state in hard fork 1 format made using the deterministic deposits. diff --git a/testing/util/attestation.go b/testing/util/attestation.go index 4c58ca5d2..a448dc54f 100644 --- a/testing/util/attestation.go +++ b/testing/util/attestation.go @@ -7,22 +7,22 @@ import ( "math" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/rand" - attv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + attv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/time/slots" log "github.com/sirupsen/logrus" ) diff --git a/testing/util/attestation_test.go b/testing/util/attestation_test.go index 4ac887496..0538b1313 100644 --- a/testing/util/attestation_test.go +++ b/testing/util/attestation_test.go @@ -3,11 +3,11 @@ package util import ( "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestHydrateAttestation(t *testing.T) { diff --git a/testing/util/bellatrix.go b/testing/util/bellatrix.go index f86795ac1..160a24027 100644 --- a/testing/util/bellatrix.go +++ b/testing/util/bellatrix.go @@ -7,19 +7,19 @@ import ( "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // GenerateFullBlockBellatrix generates a fully valid Bellatrix block with the requested parameters. diff --git a/testing/util/bellatrix_state.go b/testing/util/bellatrix_state.go index 55d4d7875..aa0921907 100644 --- a/testing/util/bellatrix_state.go +++ b/testing/util/bellatrix_state.go @@ -6,15 +6,15 @@ import ( "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/beacon-chain/state/stateutil" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stateutil" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // DeterministicGenesisStateBellatrix returns a genesis state in Bellatrix format made using the deterministic deposits. diff --git a/testing/util/bellatrix_state_test.go b/testing/util/bellatrix_state_test.go index 21e55d842..b43643452 100644 --- a/testing/util/bellatrix_state_test.go +++ b/testing/util/bellatrix_state_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestDeterministicGenesisStateBellatrix(t *testing.T) { diff --git a/testing/util/block.go b/testing/util/block.go index f6bb96aa6..1a2e68b63 100644 --- a/testing/util/block.go +++ b/testing/util/block.go @@ -5,25 +5,25 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/db/iface" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - v1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - v2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assertions" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/iface" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + v1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + v2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assertions" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) // BlockGenConfig is used to define the requested conditions diff --git a/testing/util/block_test.go b/testing/util/block_test.go index e8cab3df7..f4c66315a 100644 --- a/testing/util/block_test.go +++ b/testing/util/block_test.go @@ -4,17 +4,17 @@ import ( "context" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition/stateutils" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbv1 "github.com/prysmaticlabs/prysm/proto/eth/v1" - ethpbv2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - ethpbalpha "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition/stateutils" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbv1 "github.com/prysmaticlabs/prysm/v3/proto/eth/v1" + ethpbv2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + ethpbalpha "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestGenerateFullBlock_PassesStateTransition(t *testing.T) { diff --git a/testing/util/deposits.go b/testing/util/deposits.go index e45c77932..ce231abcc 100644 --- a/testing/util/deposits.go +++ b/testing/util/deposits.go @@ -6,16 +6,16 @@ import ( "testing" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/container/trie" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/container/trie" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" ) var lock sync.Mutex diff --git a/testing/util/deposits_test.go b/testing/util/deposits_test.go index b2354947b..97d9c8462 100644 --- a/testing/util/deposits_test.go +++ b/testing/util/deposits_test.go @@ -6,9 +6,9 @@ import ( "encoding/hex" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" "google.golang.org/protobuf/proto" ) diff --git a/testing/util/helpers.go b/testing/util/helpers.go index b183e843b..0d5cd8526 100644 --- a/testing/util/helpers.go +++ b/testing/util/helpers.go @@ -6,18 +6,18 @@ import ( "testing" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/rand" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // RandaoReveal returns a signature of the requested epoch using the beacon proposer private key. diff --git a/testing/util/helpers_test.go b/testing/util/helpers_test.go index aded96a41..f39db8a53 100644 --- a/testing/util/helpers_test.go +++ b/testing/util/helpers_test.go @@ -6,15 +6,15 @@ import ( "encoding/binary" "testing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func TestBlockSignature(t *testing.T) { diff --git a/testing/util/merge.go b/testing/util/merge.go index 6af3174d1..bd47370bd 100644 --- a/testing/util/merge.go +++ b/testing/util/merge.go @@ -1,8 +1,8 @@ package util import ( - v2 "github.com/prysmaticlabs/prysm/proto/eth/v2" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + v2 "github.com/prysmaticlabs/prysm/v3/proto/eth/v2" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // NewBeaconBlockBellatrix creates a beacon block with minimum marshalable fields. diff --git a/testing/util/state.go b/testing/util/state.go index ed3c0a08e..2cbbe9357 100644 --- a/testing/util/state.go +++ b/testing/util/state.go @@ -7,18 +7,18 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/prysmaticlabs/go-bitfield" - b "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - "github.com/prysmaticlabs/prysm/beacon-chain/db/iface" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - v2 "github.com/prysmaticlabs/prysm/beacon-chain/state/v2" - v3 "github.com/prysmaticlabs/prysm/beacon-chain/state/v3" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - enginev1 "github.com/prysmaticlabs/prysm/proto/engine/v1" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + b "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/iface" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + v2 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v2" + v3 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v3" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + enginev1 "github.com/prysmaticlabs/prysm/v3/proto/engine/v1" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) // FillRootsNaturalOpt is meant to be used as an option when calling NewBeaconState. diff --git a/testing/util/state_test.go b/testing/util/state_test.go index c201996d9..a22ca6780 100644 --- a/testing/util/state_test.go +++ b/testing/util/state_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestNewBeaconState(t *testing.T) { diff --git a/testing/util/sync_aggregate.go b/testing/util/sync_aggregate.go index 3ca50b689..9795ae7e3 100644 --- a/testing/util/sync_aggregate.go +++ b/testing/util/sync_aggregate.go @@ -3,14 +3,14 @@ package util import ( "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - p2pType "github.com/prysmaticlabs/prysm/beacon-chain/p2p/types" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + p2pType "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p/types" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) func generateSyncAggregate(st state.BeaconState, privs []bls.SecretKey, parentRoot [32]byte) (*ethpb.SyncAggregate, error) { diff --git a/testing/util/sync_committee.go b/testing/util/sync_committee.go index ca03f93df..ea7d8f4d0 100644 --- a/testing/util/sync_committee.go +++ b/testing/util/sync_committee.go @@ -1,10 +1,10 @@ package util import ( - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // HydrateSyncCommittee hydrates the provided sync committee message. diff --git a/time/BUILD.bazel b/time/BUILD.bazel index fa51cdfe2..12240f4ed 100644 --- a/time/BUILD.bazel +++ b/time/BUILD.bazel @@ -3,6 +3,6 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["utils.go"], - importpath = "github.com/prysmaticlabs/prysm/time", + importpath = "github.com/prysmaticlabs/prysm/v3/time", visibility = ["//visibility:public"], ) diff --git a/time/mclock/BUILD.bazel b/time/mclock/BUILD.bazel index 0a947cf91..53efdd7cb 100644 --- a/time/mclock/BUILD.bazel +++ b/time/mclock/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["mclock.go"], - importpath = "github.com/prysmaticlabs/prysm/time/mclock", + importpath = "github.com/prysmaticlabs/prysm/v3/time/mclock", visibility = ["//visibility:public"], deps = ["@com_github_aristanetworks_goarista//monotime:go_default_library"], ) diff --git a/time/slots/BUILD.bazel b/time/slots/BUILD.bazel index 26c0a3e92..a6f41193e 100644 --- a/time/slots/BUILD.bazel +++ b/time/slots/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "slotticker.go", "slottime.go", ], - importpath = "github.com/prysmaticlabs/prysm/time/slots", + importpath = "github.com/prysmaticlabs/prysm/v3/time/slots", visibility = ["//visibility:public"], deps = [ "//config/params:go_default_library", diff --git a/time/slots/countdown.go b/time/slots/countdown.go index 34758c9ee..3c4965516 100644 --- a/time/slots/countdown.go +++ b/time/slots/countdown.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/prysmaticlabs/prysm/config/params" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/config/params" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" "github.com/sirupsen/logrus" ) diff --git a/time/slots/countdown_test.go b/time/slots/countdown_test.go index 9b6a7a77f..af8570204 100644 --- a/time/slots/countdown_test.go +++ b/time/slots/countdown_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" "github.com/sirupsen/logrus" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/time/slots/slotticker.go b/time/slots/slotticker.go index 093f8a4d1..f0afaa208 100644 --- a/time/slots/slotticker.go +++ b/time/slots/slotticker.go @@ -4,8 +4,8 @@ package slots import ( "time" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - prysmTime "github.com/prysmaticlabs/prysm/time" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" ) // The Ticker interface defines a type which can expose a diff --git a/time/slots/slotticker_test.go b/time/slots/slotticker_test.go index 7b7f3fcfd..5a230e648 100644 --- a/time/slots/slotticker_test.go +++ b/time/slots/slotticker_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) var _ Ticker = (*SlotTicker)(nil) diff --git a/time/slots/slottime.go b/time/slots/slottime.go index 847b4af9c..5d16d3e23 100644 --- a/time/slots/slottime.go +++ b/time/slots/slottime.go @@ -6,10 +6,10 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - mathutil "github.com/prysmaticlabs/prysm/math" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + mathutil "github.com/prysmaticlabs/prysm/v3/math" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" ) // MaxSlotBuffer specifies the max buffer given to slots from diff --git a/time/slots/slottime_test.go b/time/slots/slottime_test.go index 93ed58a42..be9368890 100644 --- a/time/slots/slottime_test.go +++ b/time/slots/slottime_test.go @@ -5,11 +5,11 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" ) func TestSlotsSinceGenesis(t *testing.T) { diff --git a/time/slots/testing/BUILD.bazel b/time/slots/testing/BUILD.bazel index d250cc78c..563ee3908 100644 --- a/time/slots/testing/BUILD.bazel +++ b/time/slots/testing/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["mock.go"], - importpath = "github.com/prysmaticlabs/prysm/time/slots/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/time/slots/testing", visibility = ["//visibility:public"], deps = ["//consensus-types/primitives:go_default_library"], ) diff --git a/time/slots/testing/mock.go b/time/slots/testing/mock.go index a990ac602..117ae238a 100644 --- a/time/slots/testing/mock.go +++ b/time/slots/testing/mock.go @@ -1,7 +1,7 @@ // Package testing includes useful mocks for slot tickers in unit tests. package testing -import types "github.com/prysmaticlabs/prysm/consensus-types/primitives" +import types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" // MockTicker defines a useful struct for mocking the Ticker interface // from the slotutil package. diff --git a/time/slots/testing/mock_test.go b/time/slots/testing/mock_test.go index 0cc5c073a..e4253a38f 100644 --- a/time/slots/testing/mock_test.go +++ b/time/slots/testing/mock_test.go @@ -1,7 +1,7 @@ package testing import ( - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) var _ slots.Ticker = (*MockTicker)(nil) diff --git a/tools/analyzers/comparesame/BUILD.bazel b/tools/analyzers/comparesame/BUILD.bazel index 043c61177..3828b1657 100644 --- a/tools/analyzers/comparesame/BUILD.bazel +++ b/tools/analyzers/comparesame/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/comparesame", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/comparesame", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/comparesame/analyzer_test.go b/tools/analyzers/comparesame/analyzer_test.go index e14648abd..12e804261 100644 --- a/tools/analyzers/comparesame/analyzer_test.go +++ b/tools/analyzers/comparesame/analyzer_test.go @@ -3,7 +3,7 @@ package comparesame import ( "testing" - "github.com/prysmaticlabs/prysm/build/bazel" + "github.com/prysmaticlabs/prysm/v3/build/bazel" "golang.org/x/tools/go/analysis/analysistest" ) diff --git a/tools/analyzers/cryptorand/BUILD.bazel b/tools/analyzers/cryptorand/BUILD.bazel index 1afcb2fdc..10f39fffb 100644 --- a/tools/analyzers/cryptorand/BUILD.bazel +++ b/tools/analyzers/cryptorand/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/cryptorand", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/cryptorand", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/cryptorand/analyzer_test.go b/tools/analyzers/cryptorand/analyzer_test.go index 5a13d87af..69e365987 100644 --- a/tools/analyzers/cryptorand/analyzer_test.go +++ b/tools/analyzers/cryptorand/analyzer_test.go @@ -3,7 +3,7 @@ package cryptorand import ( "testing" - "github.com/prysmaticlabs/prysm/build/bazel" + "github.com/prysmaticlabs/prysm/v3/build/bazel" "golang.org/x/tools/go/analysis/analysistest" ) diff --git a/tools/analyzers/errcheck/BUILD.bazel b/tools/analyzers/errcheck/BUILD.bazel index 469c8f48c..59937affb 100644 --- a/tools/analyzers/errcheck/BUILD.bazel +++ b/tools/analyzers/errcheck/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/errcheck", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/errcheck", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/errcheck/embedded_walker_test.go b/tools/analyzers/errcheck/embedded_walker_test.go index 8808f7712..b62ee8acd 100644 --- a/tools/analyzers/errcheck/embedded_walker_test.go +++ b/tools/analyzers/errcheck/embedded_walker_test.go @@ -7,8 +7,8 @@ import ( "go/types" "testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) const commonSrc = ` diff --git a/tools/analyzers/featureconfig/BUILD.bazel b/tools/analyzers/featureconfig/BUILD.bazel index 1764ab79a..94b259334 100644 --- a/tools/analyzers/featureconfig/BUILD.bazel +++ b/tools/analyzers/featureconfig/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/featureconfig", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/featureconfig", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/gocognit/BUILD.bazel b/tools/analyzers/gocognit/BUILD.bazel index 5c4089d36..6be8ca42f 100644 --- a/tools/analyzers/gocognit/BUILD.bazel +++ b/tools/analyzers/gocognit/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/gocognit", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/gocognit", visibility = ["//visibility:public"], deps = [ "@com_github_uudashr_gocognit//:go_default_library", diff --git a/tools/analyzers/ineffassign/BUILD.bazel b/tools/analyzers/ineffassign/BUILD.bazel index 27b24c6d9..92539697f 100644 --- a/tools/analyzers/ineffassign/BUILD.bazel +++ b/tools/analyzers/ineffassign/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "analyzer.go", "ineffassign.go", ], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/ineffassign", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/ineffassign", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/ineffassign/analyzer_test.go b/tools/analyzers/ineffassign/analyzer_test.go index 0c7928a2d..5cd15e60f 100644 --- a/tools/analyzers/ineffassign/analyzer_test.go +++ b/tools/analyzers/ineffassign/analyzer_test.go @@ -3,7 +3,7 @@ package ineffassign import ( "testing" - "github.com/prysmaticlabs/prysm/build/bazel" + "github.com/prysmaticlabs/prysm/v3/build/bazel" "golang.org/x/tools/go/analysis/analysistest" ) diff --git a/tools/analyzers/interfacechecker/BUILD.bazel b/tools/analyzers/interfacechecker/BUILD.bazel index 5f6e85c64..89cfd2046 100644 --- a/tools/analyzers/interfacechecker/BUILD.bazel +++ b/tools/analyzers/interfacechecker/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/interfacechecker", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/interfacechecker", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/logruswitherror/BUILD.bazel b/tools/analyzers/logruswitherror/BUILD.bazel index cf6512e66..880354f60 100644 --- a/tools/analyzers/logruswitherror/BUILD.bazel +++ b/tools/analyzers/logruswitherror/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/logruswitherror", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/logruswitherror", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/logruswitherror/analyzer_test.go b/tools/analyzers/logruswitherror/analyzer_test.go index a2e204620..8e5629051 100644 --- a/tools/analyzers/logruswitherror/analyzer_test.go +++ b/tools/analyzers/logruswitherror/analyzer_test.go @@ -3,7 +3,7 @@ package logruswitherror import ( "testing" - "github.com/prysmaticlabs/prysm/build/bazel" + "github.com/prysmaticlabs/prysm/v3/build/bazel" "golang.org/x/tools/go/analysis/analysistest" ) diff --git a/tools/analyzers/maligned/BUILD.bazel b/tools/analyzers/maligned/BUILD.bazel index 061acefa9..f9fcfa732 100644 --- a/tools/analyzers/maligned/BUILD.bazel +++ b/tools/analyzers/maligned/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "analyzer.go", "maligned.go", ], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/maligned", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/maligned", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/nop/BUILD.bazel b/tools/analyzers/nop/BUILD.bazel index d447e773e..25c257add 100644 --- a/tools/analyzers/nop/BUILD.bazel +++ b/tools/analyzers/nop/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/nop", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/nop", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/nop/analyzer_test.go b/tools/analyzers/nop/analyzer_test.go index dd01a66ee..a1e912cee 100644 --- a/tools/analyzers/nop/analyzer_test.go +++ b/tools/analyzers/nop/analyzer_test.go @@ -3,7 +3,7 @@ package nop import ( "testing" - "github.com/prysmaticlabs/prysm/build/bazel" + "github.com/prysmaticlabs/prysm/v3/build/bazel" "golang.org/x/tools/go/analysis/analysistest" ) diff --git a/tools/analyzers/properpermissions/BUILD.bazel b/tools/analyzers/properpermissions/BUILD.bazel index 8010c6524..cbe178bc8 100644 --- a/tools/analyzers/properpermissions/BUILD.bazel +++ b/tools/analyzers/properpermissions/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/properpermissions", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/properpermissions", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/properpermissions/analyzer_test.go b/tools/analyzers/properpermissions/analyzer_test.go index a167ce031..09236f972 100644 --- a/tools/analyzers/properpermissions/analyzer_test.go +++ b/tools/analyzers/properpermissions/analyzer_test.go @@ -3,7 +3,7 @@ package properpermissions import ( "testing" - "github.com/prysmaticlabs/prysm/build/bazel" + "github.com/prysmaticlabs/prysm/v3/build/bazel" "golang.org/x/tools/go/analysis/analysistest" ) diff --git a/tools/analyzers/recursivelock/BUILD.bazel b/tools/analyzers/recursivelock/BUILD.bazel index 36c994df4..3fbe41b68 100644 --- a/tools/analyzers/recursivelock/BUILD.bazel +++ b/tools/analyzers/recursivelock/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/recursivelock", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/recursivelock", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/recursivelock/analyzer_test.go b/tools/analyzers/recursivelock/analyzer_test.go index 833386c01..b3f2f5dea 100644 --- a/tools/analyzers/recursivelock/analyzer_test.go +++ b/tools/analyzers/recursivelock/analyzer_test.go @@ -3,7 +3,7 @@ package recursivelock import ( "testing" - "github.com/prysmaticlabs/prysm/build/bazel" + "github.com/prysmaticlabs/prysm/v3/build/bazel" "golang.org/x/tools/go/analysis/analysistest" ) diff --git a/tools/analyzers/shadowpredecl/BUILD.bazel b/tools/analyzers/shadowpredecl/BUILD.bazel index 53efbae4f..d48ba47fd 100644 --- a/tools/analyzers/shadowpredecl/BUILD.bazel +++ b/tools/analyzers/shadowpredecl/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/shadowpredecl", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/shadowpredecl", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/shadowpredecl/analyzer_test.go b/tools/analyzers/shadowpredecl/analyzer_test.go index 87d4dde00..c427217ca 100644 --- a/tools/analyzers/shadowpredecl/analyzer_test.go +++ b/tools/analyzers/shadowpredecl/analyzer_test.go @@ -3,7 +3,7 @@ package shadowpredecl import ( "testing" - "github.com/prysmaticlabs/prysm/build/bazel" + "github.com/prysmaticlabs/prysm/v3/build/bazel" "golang.org/x/tools/go/analysis/analysistest" ) diff --git a/tools/analyzers/slicedirect/BUILD.bazel b/tools/analyzers/slicedirect/BUILD.bazel index 0f940aff7..1e02c027c 100644 --- a/tools/analyzers/slicedirect/BUILD.bazel +++ b/tools/analyzers/slicedirect/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/slicedirect", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/slicedirect", visibility = ["//visibility:public"], deps = [ "@org_golang_x_tools//go/analysis:go_default_library", diff --git a/tools/analyzers/slicedirect/analyzer_test.go b/tools/analyzers/slicedirect/analyzer_test.go index 84196e935..8f31c92ff 100644 --- a/tools/analyzers/slicedirect/analyzer_test.go +++ b/tools/analyzers/slicedirect/analyzer_test.go @@ -3,7 +3,7 @@ package slicedirect import ( "testing" - "github.com/prysmaticlabs/prysm/build/bazel" + "github.com/prysmaticlabs/prysm/v3/build/bazel" "golang.org/x/tools/go/analysis/analysistest" ) diff --git a/tools/analyzers/uintcast/BUILD.bazel b/tools/analyzers/uintcast/BUILD.bazel index 90166f26a..377585a46 100644 --- a/tools/analyzers/uintcast/BUILD.bazel +++ b/tools/analyzers/uintcast/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["analyzer.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/uintcast", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/analyzers/uintcast", visibility = ["//visibility:public"], deps = [ "@com_github_gostaticanalysis_comment//:go_default_library", diff --git a/tools/analyzers/uintcast/analyzer_test.go b/tools/analyzers/uintcast/analyzer_test.go index f37b3c8be..bb456ba12 100644 --- a/tools/analyzers/uintcast/analyzer_test.go +++ b/tools/analyzers/uintcast/analyzer_test.go @@ -3,8 +3,8 @@ package uintcast_test import ( "testing" - "github.com/prysmaticlabs/prysm/build/bazel" - "github.com/prysmaticlabs/prysm/tools/analyzers/uintcast" + "github.com/prysmaticlabs/prysm/v3/build/bazel" + "github.com/prysmaticlabs/prysm/v3/tools/analyzers/uintcast" "golang.org/x/tools/go/analysis/analysistest" ) diff --git a/tools/beacon-fuzz/BUILD.bazel b/tools/beacon-fuzz/BUILD.bazel index 72fc4db76..5e53ba418 100644 --- a/tools/beacon-fuzz/BUILD.bazel +++ b/tools/beacon-fuzz/BUILD.bazel @@ -8,7 +8,7 @@ go_library( deps = [ "//io/file:go_default_library", ], - importpath = "github.com/prysmaticlabs/prysm/tools/beacon-fuzz", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/beacon-fuzz", visibility = ["//visibility:private"], ) diff --git a/tools/beacon-fuzz/main.go b/tools/beacon-fuzz/main.go index 189a81048..21dd77cf9 100644 --- a/tools/beacon-fuzz/main.go +++ b/tools/beacon-fuzz/main.go @@ -9,7 +9,7 @@ import ( "strconv" "text/template" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/io/file" ) var ( diff --git a/tools/benchmark-files-gen/BUILD.bazel b/tools/benchmark-files-gen/BUILD.bazel index 7f2706700..a0b9c88d2 100644 --- a/tools/benchmark-files-gen/BUILD.bazel +++ b/tools/benchmark-files-gen/BUILD.bazel @@ -5,7 +5,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["main.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/benchmark-files-gen", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/benchmark-files-gen", visibility = ["//visibility:private"], deps = [ "//beacon-chain/core/helpers:go_default_library", diff --git a/tools/benchmark-files-gen/main.go b/tools/benchmark-files-gen/main.go index b8727396e..56ef41b4a 100644 --- a/tools/benchmark-files-gen/main.go +++ b/tools/benchmark-files-gen/main.go @@ -7,20 +7,20 @@ import ( "path" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/helpers" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/beacon-chain/core/time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/io/file" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/testing/benchmark" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/helpers" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/time" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/io/file" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/testing/benchmark" + "github.com/prysmaticlabs/prysm/v3/testing/util" log "github.com/sirupsen/logrus" ) diff --git a/tools/blocktree/BUILD.bazel b/tools/blocktree/BUILD.bazel index 84e4bb6e8..88b940ed6 100644 --- a/tools/blocktree/BUILD.bazel +++ b/tools/blocktree/BUILD.bazel @@ -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/tools/blocktree", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/blocktree", visibility = ["//visibility:private"], deps = [ "//beacon-chain/db:go_default_library", diff --git a/tools/blocktree/main.go b/tools/blocktree/main.go index 4b5e8df65..f8610b7b0 100644 --- a/tools/blocktree/main.go +++ b/tools/blocktree/main.go @@ -16,11 +16,11 @@ import ( "strconv" "github.com/emicklei/dot" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/db/filters" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) var ( diff --git a/tools/bootnode/BUILD.bazel b/tools/bootnode/BUILD.bazel index da4f2d2e2..95049e560 100644 --- a/tools/bootnode/BUILD.bazel +++ b/tools/bootnode/BUILD.bazel @@ -7,7 +7,7 @@ load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push") go_library( name = "go_default_library", srcs = ["bootnode.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/bootnode", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/bootnode", visibility = ["//visibility:private"], deps = [ "//async:go_default_library", diff --git a/tools/bootnode/bootnode.go b/tools/bootnode/bootnode.go index 2899ce177..88b3dc113 100644 --- a/tools/bootnode/bootnode.go +++ b/tools/bootnode/bootnode.go @@ -32,16 +32,16 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/params" - ecdsaprysm "github.com/prysmaticlabs/prysm/crypto/ecdsa" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/io/logs" - "github.com/prysmaticlabs/prysm/network" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - _ "github.com/prysmaticlabs/prysm/runtime/maxprocs" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/params" + ecdsaprysm "github.com/prysmaticlabs/prysm/v3/crypto/ecdsa" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/io/logs" + "github.com/prysmaticlabs/prysm/v3/network" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + _ "github.com/prysmaticlabs/prysm/v3/runtime/maxprocs" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "github.com/sirupsen/logrus" ) diff --git a/tools/bootnode/bootnode_test.go b/tools/bootnode/bootnode_test.go index 7fd274951..1586b00e6 100644 --- a/tools/bootnode/bootnode_test.go +++ b/tools/bootnode/bootnode_test.go @@ -11,11 +11,11 @@ import ( "github.com/ethereum/go-ethereum/p2p/discover" "github.com/ethereum/go-ethereum/p2p/enode" "github.com/libp2p/go-libp2p-core/crypto" - ecdsaprysm "github.com/prysmaticlabs/prysm/crypto/ecdsa" - "github.com/prysmaticlabs/prysm/network" - _ "github.com/prysmaticlabs/prysm/runtime/maxprocs" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + ecdsaprysm "github.com/prysmaticlabs/prysm/v3/crypto/ecdsa" + "github.com/prysmaticlabs/prysm/v3/network" + _ "github.com/prysmaticlabs/prysm/v3/runtime/maxprocs" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/sirupsen/logrus" ) diff --git a/tools/enr-calculator/BUILD.bazel b/tools/enr-calculator/BUILD.bazel index 4aa1a49a0..38677f301 100644 --- a/tools/enr-calculator/BUILD.bazel +++ b/tools/enr-calculator/BUILD.bazel @@ -7,7 +7,7 @@ load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push") go_library( name = "go_default_library", srcs = ["main.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/enr-calculator", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/enr-calculator", visibility = ["//visibility:private"], deps = [ "//crypto/ecdsa:go_default_library", diff --git a/tools/enr-calculator/main.go b/tools/enr-calculator/main.go index 16f65ea4d..893967143 100644 --- a/tools/enr-calculator/main.go +++ b/tools/enr-calculator/main.go @@ -10,9 +10,9 @@ import ( "github.com/ethereum/go-ethereum/p2p/enode" "github.com/ethereum/go-ethereum/p2p/enr" "github.com/libp2p/go-libp2p-core/crypto" - ecdsaprysm "github.com/prysmaticlabs/prysm/crypto/ecdsa" - "github.com/prysmaticlabs/prysm/io/file" - _ "github.com/prysmaticlabs/prysm/runtime/maxprocs" + ecdsaprysm "github.com/prysmaticlabs/prysm/v3/crypto/ecdsa" + "github.com/prysmaticlabs/prysm/v3/io/file" + _ "github.com/prysmaticlabs/prysm/v3/runtime/maxprocs" log "github.com/sirupsen/logrus" ) diff --git a/tools/eth1exporter/BUILD.bazel b/tools/eth1exporter/BUILD.bazel index ba6132e5c..2ba0a4743 100644 --- a/tools/eth1exporter/BUILD.bazel +++ b/tools/eth1exporter/BUILD.bazel @@ -7,7 +7,7 @@ load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push") go_library( name = "go_default_library", srcs = ["main.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/eth1exporter", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/eth1exporter", visibility = ["//visibility:private"], deps = [ "//runtime/maxprocs:go_default_library", diff --git a/tools/eth1exporter/main.go b/tools/eth1exporter/main.go index 602d99d3b..5b020d82e 100644 --- a/tools/eth1exporter/main.go +++ b/tools/eth1exporter/main.go @@ -17,7 +17,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/ethclient" "github.com/ethereum/go-ethereum/params" - _ "github.com/prysmaticlabs/prysm/runtime/maxprocs" + _ "github.com/prysmaticlabs/prysm/v3/runtime/maxprocs" "github.com/sirupsen/logrus" ) diff --git a/tools/eth1voting/BUILD.bazel b/tools/eth1voting/BUILD.bazel index afd46f296..3c7c7bc05 100644 --- a/tools/eth1voting/BUILD.bazel +++ b/tools/eth1voting/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "main.go", "votes.go", ], - importpath = "github.com/prysmaticlabs/prysm/tools/eth1voting", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/eth1voting", visibility = ["//visibility:private"], deps = [ "//config/params:go_default_library", diff --git a/tools/eth1voting/main.go b/tools/eth1voting/main.go index 42880dd01..e4cb32832 100644 --- a/tools/eth1voting/main.go +++ b/tools/eth1voting/main.go @@ -6,12 +6,12 @@ import ( "fmt" "time" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - v1alpha1 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + v1alpha1 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "golang.org/x/sync/errgroup" "google.golang.org/grpc" ) diff --git a/tools/eth1voting/votes.go b/tools/eth1voting/votes.go index f773ac61a..ddfe36c84 100644 --- a/tools/eth1voting/votes.go +++ b/tools/eth1voting/votes.go @@ -4,9 +4,9 @@ import ( "fmt" "sync" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - v1alpha1 "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + v1alpha1 "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) type votes struct { diff --git a/tools/exploredb/BUILD.bazel b/tools/exploredb/BUILD.bazel index f078d41db..5ccf72319 100644 --- a/tools/exploredb/BUILD.bazel +++ b/tools/exploredb/BUILD.bazel @@ -4,7 +4,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["main.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/exploredb", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/exploredb", visibility = ["//visibility:private"], deps = [ "//beacon-chain/db/kv:go_default_library", diff --git a/tools/exploredb/main.go b/tools/exploredb/main.go index 79febe140..fd579a4a8 100644 --- a/tools/exploredb/main.go +++ b/tools/exploredb/main.go @@ -18,12 +18,12 @@ import ( "time" "github.com/dustin/go-humanize" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" - "github.com/prysmaticlabs/prysm/beacon-chain/state" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/state" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" log "github.com/sirupsen/logrus" "github.com/status-im/keycard-go/hexutils" bolt "go.etcd.io/bbolt" diff --git a/tools/extractor/BUILD.bazel b/tools/extractor/BUILD.bazel index 67ddf4fd6..d43a794da 100644 --- a/tools/extractor/BUILD.bazel +++ b/tools/extractor/BUILD.bazel @@ -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/tools/extractor", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/extractor", visibility = ["//visibility:public"], deps = [ "//beacon-chain/core/transition/interop:go_default_library", diff --git a/tools/extractor/main.go b/tools/extractor/main.go index e0079cc69..77afe224c 100644 --- a/tools/extractor/main.go +++ b/tools/extractor/main.go @@ -5,11 +5,11 @@ import ( "flag" "fmt" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition/interop" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" - "github.com/prysmaticlabs/prysm/config/features" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition/interop" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" + "github.com/prysmaticlabs/prysm/v3/config/features" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) var ( diff --git a/tools/forkchecker/BUILD.bazel b/tools/forkchecker/BUILD.bazel index 6f09094ec..de90ab86c 100644 --- a/tools/forkchecker/BUILD.bazel +++ b/tools/forkchecker/BUILD.bazel @@ -4,7 +4,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary") go_library( name = "go_default_library", srcs = ["forkchecker.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/forkchecker", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/forkchecker", visibility = ["//visibility:private"], deps = [ "//config/params:go_default_library", diff --git a/tools/forkchecker/forkchecker.go b/tools/forkchecker/forkchecker.go index 370506f45..946fce115 100644 --- a/tools/forkchecker/forkchecker.go +++ b/tools/forkchecker/forkchecker.go @@ -16,9 +16,9 @@ import ( "reflect" "time" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" diff --git a/tools/genesis-state-gen/BUILD.bazel b/tools/genesis-state-gen/BUILD.bazel index 639bdab9c..ad00b9db8 100644 --- a/tools/genesis-state-gen/BUILD.bazel +++ b/tools/genesis-state-gen/BUILD.bazel @@ -7,7 +7,7 @@ load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push") go_library( name = "go_default_library", srcs = ["main.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/genesis-state-gen", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/genesis-state-gen", visibility = ["//visibility:private"], deps = [ "//config/params:go_default_library", diff --git a/tools/genesis-state-gen/main.go b/tools/genesis-state-gen/main.go index 7ae636298..6a397a007 100644 --- a/tools/genesis-state-gen/main.go +++ b/tools/genesis-state-gen/main.go @@ -10,10 +10,10 @@ import ( "strings" "github.com/ghodss/yaml" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" log "github.com/sirupsen/logrus" ) diff --git a/tools/genesis-state-gen/main_test.go b/tools/genesis-state-gen/main_test.go index 9f17174e5..729bbcffe 100644 --- a/tools/genesis-state-gen/main_test.go +++ b/tools/genesis-state-gen/main_test.go @@ -6,10 +6,10 @@ import ( "fmt" "testing" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func Test_genesisStateFromJSONValidators(t *testing.T) { diff --git a/tools/gocovmerge/BUILD.bazel b/tools/gocovmerge/BUILD.bazel index cf1736e3b..7f89033e9 100644 --- a/tools/gocovmerge/BUILD.bazel +++ b/tools/gocovmerge/BUILD.bazel @@ -4,7 +4,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["main.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/gocovmerge", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/gocovmerge", visibility = ["//visibility:private"], deps = [ "@com_github_sirupsen_logrus//:go_default_library", diff --git a/tools/http-request-sink/BUILD.bazel b/tools/http-request-sink/BUILD.bazel index 8a19b0d2c..e99ee53d1 100644 --- a/tools/http-request-sink/BUILD.bazel +++ b/tools/http-request-sink/BUILD.bazel @@ -7,7 +7,7 @@ load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push") go_library( name = "go_default_library", srcs = ["main.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/http-request-sink", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/http-request-sink", visibility = ["//visibility:private"], deps = ["//config/params:go_default_library"], ) diff --git a/tools/http-request-sink/main.go b/tools/http-request-sink/main.go index 7854e08bf..7101ff33c 100644 --- a/tools/http-request-sink/main.go +++ b/tools/http-request-sink/main.go @@ -14,7 +14,7 @@ import ( "path/filepath" "strconv" - "github.com/prysmaticlabs/prysm/config/params" + "github.com/prysmaticlabs/prysm/v3/config/params" ) func main() { diff --git a/tools/http-request-sink/main_test.go b/tools/http-request-sink/main_test.go index 115564ebb..42af96643 100644 --- a/tools/http-request-sink/main_test.go +++ b/tools/http-request-sink/main_test.go @@ -9,8 +9,8 @@ import ( "path/filepath" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) type sampleRPCRequest struct { diff --git a/tools/interop/convert-keys/BUILD.bazel b/tools/interop/convert-keys/BUILD.bazel index 47352cc63..fc0e6cf17 100644 --- a/tools/interop/convert-keys/BUILD.bazel +++ b/tools/interop/convert-keys/BUILD.bazel @@ -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/tools/interop/convert-keys", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/interop/convert-keys", visibility = ["//visibility:public"], deps = [ "//tools/unencrypted-keys-gen/keygen:go_default_library", diff --git a/tools/interop/convert-keys/main.go b/tools/interop/convert-keys/main.go index bb4b88041..6156f5e06 100644 --- a/tools/interop/convert-keys/main.go +++ b/tools/interop/convert-keys/main.go @@ -9,7 +9,7 @@ import ( "fmt" "os" - "github.com/prysmaticlabs/prysm/tools/unencrypted-keys-gen/keygen" + "github.com/prysmaticlabs/prysm/v3/tools/unencrypted-keys-gen/keygen" log "github.com/sirupsen/logrus" "gopkg.in/yaml.v2" ) diff --git a/tools/interop/export-genesis/BUILD.bazel b/tools/interop/export-genesis/BUILD.bazel index abb027bcc..2caa3e63d 100644 --- a/tools/interop/export-genesis/BUILD.bazel +++ b/tools/interop/export-genesis/BUILD.bazel @@ -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/tools/interop/export-genesis", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/interop/export-genesis", visibility = ["//visibility:private"], deps = [ "//beacon-chain/db:go_default_library", diff --git a/tools/interop/export-genesis/main.go b/tools/interop/export-genesis/main.go index d2ce9a153..5a27cec96 100644 --- a/tools/interop/export-genesis/main.go +++ b/tools/interop/export-genesis/main.go @@ -5,9 +5,9 @@ import ( "fmt" "os" - "github.com/prysmaticlabs/prysm/beacon-chain/db" - "github.com/prysmaticlabs/prysm/beacon-chain/db/kv" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/kv" + "github.com/prysmaticlabs/prysm/v3/io/file" ) // A basic tool to extract genesis.ssz from existing beaconchain.db. diff --git a/tools/interop/split-keys/BUILD.bazel b/tools/interop/split-keys/BUILD.bazel index 742f4c831..45686208d 100644 --- a/tools/interop/split-keys/BUILD.bazel +++ b/tools/interop/split-keys/BUILD.bazel @@ -4,7 +4,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["main.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/interop/split-keys", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/interop/split-keys", visibility = ["//visibility:private"], deps = [ "//io/file:go_default_library", diff --git a/tools/interop/split-keys/main.go b/tools/interop/split-keys/main.go index 53f562bb4..0df9cccea 100644 --- a/tools/interop/split-keys/main.go +++ b/tools/interop/split-keys/main.go @@ -20,11 +20,11 @@ import ( "os" "path" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" "github.com/tyler-smith/go-bip39" util "github.com/wealdtech/go-eth2-util" ) diff --git a/tools/interop/split-keys/main_test.go b/tools/interop/split-keys/main_test.go index 0c51f3c74..8fab62de0 100644 --- a/tools/interop/split-keys/main_test.go +++ b/tools/interop/split-keys/main_test.go @@ -9,10 +9,10 @@ import ( "strings" "testing" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" ) const testMnemonic = "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" diff --git a/tools/keystores/BUILD.bazel b/tools/keystores/BUILD.bazel index 375cb8814..cfb0db504 100644 --- a/tools/keystores/BUILD.bazel +++ b/tools/keystores/BUILD.bazel @@ -4,7 +4,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["main.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/keystores", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/keystores", visibility = ["//visibility:private"], deps = [ "//crypto/bls:go_default_library", diff --git a/tools/keystores/main.go b/tools/keystores/main.go index 4fe4e980c..3dfb94a91 100644 --- a/tools/keystores/main.go +++ b/tools/keystores/main.go @@ -16,10 +16,10 @@ import ( "github.com/google/uuid" "github.com/logrusorgru/aurora" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/io/prompt" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/io/prompt" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" "github.com/urfave/cli/v2" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/tools/keystores/main_test.go b/tools/keystores/main_test.go index b315725d8..0d365fddb 100644 --- a/tools/keystores/main_test.go +++ b/tools/keystores/main_test.go @@ -11,11 +11,11 @@ import ( "testing" "github.com/google/uuid" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" "github.com/urfave/cli/v2" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/tools/pcli/BUILD.bazel b/tools/pcli/BUILD.bazel index f79ce8cde..44afb9bbd 100644 --- a/tools/pcli/BUILD.bazel +++ b/tools/pcli/BUILD.bazel @@ -7,7 +7,7 @@ load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push") go_library( name = "go_default_library", srcs = ["main.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/pcli", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/pcli", visibility = ["//visibility:private"], deps = [ "//beacon-chain/core/transition:go_default_library", diff --git a/tools/pcli/main.go b/tools/pcli/main.go index 90770bf80..f0eec590a 100644 --- a/tools/pcli/main.go +++ b/tools/pcli/main.go @@ -10,13 +10,13 @@ import ( "github.com/kr/pretty" fssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/beacon-chain/core/transition" - v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/encoding/ssz/equality" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - prefixed "github.com/prysmaticlabs/prysm/runtime/logging/logrus-prefixed-formatter" - "github.com/prysmaticlabs/prysm/runtime/version" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition" + v1 "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/v1" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/encoding/ssz/equality" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + prefixed "github.com/prysmaticlabs/prysm/v3/runtime/logging/logrus-prefixed-formatter" + "github.com/prysmaticlabs/prysm/v3/runtime/version" log "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" "gopkg.in/d4l3k/messagediff.v1" diff --git a/tools/replay-http/BUILD.bazel b/tools/replay-http/BUILD.bazel index 135137922..289b99311 100644 --- a/tools/replay-http/BUILD.bazel +++ b/tools/replay-http/BUILD.bazel @@ -4,7 +4,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["main.go"], - importpath = "github.com/prysmaticlabs/prysm/tools/replay-http", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/replay-http", visibility = ["//visibility:private"], deps = ["@com_github_sirupsen_logrus//:go_default_library"], ) diff --git a/tools/specs-checker/BUILD.bazel b/tools/specs-checker/BUILD.bazel index 691d1dc96..7af9c7d84 100644 --- a/tools/specs-checker/BUILD.bazel +++ b/tools/specs-checker/BUILD.bazel @@ -16,7 +16,7 @@ go_library( "data/ssz/merkle-proofs.md", "data/extra.md", ], - importpath = "github.com/prysmaticlabs/prysm/tools/specs-checker", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/specs-checker", visibility = ["//visibility:public"], deps = ["@com_github_urfave_cli_v2//:go_default_library"], ) diff --git a/tools/unencrypted-keys-gen/BUILD.bazel b/tools/unencrypted-keys-gen/BUILD.bazel index 65306730f..0707e65c8 100644 --- a/tools/unencrypted-keys-gen/BUILD.bazel +++ b/tools/unencrypted-keys-gen/BUILD.bazel @@ -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/tools/unencrypted-keys-gen", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/unencrypted-keys-gen", visibility = [ "//tools/interop/convert-keys:__pkg__", ], diff --git a/tools/unencrypted-keys-gen/keygen/BUILD.bazel b/tools/unencrypted-keys-gen/keygen/BUILD.bazel index a65c6c4f1..2fff639de 100644 --- a/tools/unencrypted-keys-gen/keygen/BUILD.bazel +++ b/tools/unencrypted-keys-gen/keygen/BUILD.bazel @@ -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/tools/unencrypted-keys-gen/keygen", + importpath = "github.com/prysmaticlabs/prysm/v3/tools/unencrypted-keys-gen/keygen", visibility = ["//visibility:public"], deps = ["@com_github_sirupsen_logrus//:go_default_library"], ) diff --git a/tools/unencrypted-keys-gen/main.go b/tools/unencrypted-keys-gen/main.go index 65c901e8f..f82dab15a 100644 --- a/tools/unencrypted-keys-gen/main.go +++ b/tools/unencrypted-keys-gen/main.go @@ -5,9 +5,9 @@ import ( "log" "os" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/tools/unencrypted-keys-gen/keygen" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/tools/unencrypted-keys-gen/keygen" ) var ( diff --git a/tools/unencrypted-keys-gen/main_test.go b/tools/unencrypted-keys-gen/main_test.go index 9d1fd0a71..36c9e8840 100644 --- a/tools/unencrypted-keys-gen/main_test.go +++ b/tools/unencrypted-keys-gen/main_test.go @@ -5,9 +5,9 @@ import ( "encoding/json" "testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/tools/unencrypted-keys-gen/keygen" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/tools/unencrypted-keys-gen/keygen" ) func TestSavesUnencryptedKeys(t *testing.T) { diff --git a/validator/accounts/BUILD.bazel b/validator/accounts/BUILD.bazel index ccd18da1b..7e227ae4b 100644 --- a/validator/accounts/BUILD.bazel +++ b/validator/accounts/BUILD.bazel @@ -18,7 +18,7 @@ go_library( "wallet_edit.go", "wallet_recover.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/accounts", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/accounts", visibility = [ "//cmd/validator:__subpackages__", "//validator:__pkg__", diff --git a/validator/accounts/accounts.go b/validator/accounts/accounts.go index 76d1698ea..38605f0f8 100644 --- a/validator/accounts/accounts.go +++ b/validator/accounts/accounts.go @@ -1,7 +1,7 @@ package accounts import ( - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" ) var ( diff --git a/validator/accounts/accounts_backup.go b/validator/accounts/accounts_backup.go index 3b9244a03..a5c0d826a 100644 --- a/validator/accounts/accounts_backup.go +++ b/validator/accounts/accounts_backup.go @@ -10,8 +10,8 @@ import ( "github.com/logrusorgru/aurora" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" ) var ( diff --git a/validator/accounts/accounts_delete.go b/validator/accounts/accounts_delete.go index 54cb5e12b..ab1e14a01 100644 --- a/validator/accounts/accounts_delete.go +++ b/validator/accounts/accounts_delete.go @@ -7,9 +7,9 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/io/prompt" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/io/prompt" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" ) // Delete the accounts that the user requests to be deleted from the wallet. diff --git a/validator/accounts/accounts_exit.go b/validator/accounts/accounts_exit.go index 8ec3e80fb..781e4631e 100644 --- a/validator/accounts/accounts_exit.go +++ b/validator/accounts/accounts_exit.go @@ -8,13 +8,13 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/validator/client" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/blocks" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/validator/client" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/validator/accounts/accounts_exit_test.go b/validator/accounts/accounts_exit_test.go index f8cfeda95..5860eb337 100644 --- a/validator/accounts/accounts_exit_test.go +++ b/validator/accounts/accounts_exit_test.go @@ -3,10 +3,10 @@ package accounts import ( "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/sirupsen/logrus/hooks/test" ) diff --git a/validator/accounts/accounts_helper.go b/validator/accounts/accounts_helper.go index 4fa87f87b..9ad082d68 100644 --- a/validator/accounts/accounts_helper.go +++ b/validator/accounts/accounts_helper.go @@ -10,13 +10,13 @@ import ( "github.com/logrusorgru/aurora" "github.com/manifoldco/promptui" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/io/prompt" - "github.com/prysmaticlabs/prysm/validator/accounts/petnames" - "github.com/prysmaticlabs/prysm/validator/accounts/userprompt" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/io/prompt" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/petnames" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/userprompt" "github.com/urfave/cli/v2" ) diff --git a/validator/accounts/accounts_import.go b/validator/accounts/accounts_import.go index 339935353..d0d0b4f0a 100644 --- a/validator/accounts/accounts_import.go +++ b/validator/accounts/accounts_import.go @@ -14,13 +14,13 @@ import ( "github.com/google/uuid" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/io/prompt" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/io/prompt" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/validator/accounts/accounts_import_test.go b/validator/accounts/accounts_import_test.go index ddf9d2531..5e80868f5 100644 --- a/validator/accounts/accounts_import_test.go +++ b/validator/accounts/accounts_import_test.go @@ -8,16 +8,16 @@ import ( "sort" "testing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" ) func TestImportAccounts_NoPassword(t *testing.T) { diff --git a/validator/accounts/accounts_list.go b/validator/accounts/accounts_list.go index 85aeccc4c..2c6b921fd 100644 --- a/validator/accounts/accounts_list.go +++ b/validator/accounts/accounts_list.go @@ -6,9 +6,9 @@ import ( "math" "github.com/pkg/errors" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" ) // List pretty-prints accounts in the wallet. diff --git a/validator/accounts/accounts_list_test.go b/validator/accounts/accounts_list_test.go index c3ba6f81e..b13899adf 100644 --- a/validator/accounts/accounts_list_test.go +++ b/validator/accounts/accounts_list_test.go @@ -12,24 +12,24 @@ import ( "github.com/golang/mock/gomock" "github.com/google/uuid" - "github.com/prysmaticlabs/prysm/async/event" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts/petnames" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" - constant "github.com/prysmaticlabs/prysm/validator/testing" + "github.com/prysmaticlabs/prysm/v3/async/event" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/petnames" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" + constant "github.com/prysmaticlabs/prysm/v3/validator/testing" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/validator/accounts/cli_manager.go b/validator/accounts/cli_manager.go index c4f60f7b5..321687de3 100644 --- a/validator/accounts/cli_manager.go +++ b/validator/accounts/cli_manager.go @@ -4,12 +4,12 @@ import ( "context" "github.com/pkg/errors" - grpcutil "github.com/prysmaticlabs/prysm/api/grpc" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" + grpcutil "github.com/prysmaticlabs/prysm/v3/api/grpc" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" "google.golang.org/grpc" ) diff --git a/validator/accounts/cli_options.go b/validator/accounts/cli_options.go index dc8588e4f..1c8ee5572 100644 --- a/validator/accounts/cli_options.go +++ b/validator/accounts/cli_options.go @@ -1,10 +1,10 @@ package accounts import ( - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" "google.golang.org/grpc" ) diff --git a/validator/accounts/iface/BUILD.bazel b/validator/accounts/iface/BUILD.bazel index 128bc12eb..e1e4f25ae 100644 --- a/validator/accounts/iface/BUILD.bazel +++ b/validator/accounts/iface/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["wallet.go"], - importpath = "github.com/prysmaticlabs/prysm/validator/accounts/iface", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface", visibility = [ "//cmd:__subpackages__", "//validator:__pkg__", diff --git a/validator/accounts/iface/wallet.go b/validator/accounts/iface/wallet.go index 18669b94c..be99aacd4 100644 --- a/validator/accounts/iface/wallet.go +++ b/validator/accounts/iface/wallet.go @@ -3,8 +3,8 @@ package iface import ( "context" - "github.com/prysmaticlabs/prysm/validator/keymanager" - remoteweb3signer "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + remoteweb3signer "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer" ) // InitKeymanagerConfig defines configuration options for initializing a keymanager. diff --git a/validator/accounts/petnames/BUILD.bazel b/validator/accounts/petnames/BUILD.bazel index d282de844..47fedfda6 100644 --- a/validator/accounts/petnames/BUILD.bazel +++ b/validator/accounts/petnames/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["names.go"], - importpath = "github.com/prysmaticlabs/prysm/validator/accounts/petnames", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/accounts/petnames", visibility = [ "//cmd/validator:__subpackages__", "//validator:__subpackages__", diff --git a/validator/accounts/petnames/names.go b/validator/accounts/petnames/names.go index dfa0117b8..baf5b2cd7 100644 --- a/validator/accounts/petnames/names.go +++ b/validator/accounts/petnames/names.go @@ -3,8 +3,8 @@ package petnames import ( "strings" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" ) var ( diff --git a/validator/accounts/testing/BUILD.bazel b/validator/accounts/testing/BUILD.bazel index 25c6b36ef..c4bf5bd64 100644 --- a/validator/accounts/testing/BUILD.bazel +++ b/validator/accounts/testing/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = 1, srcs = ["mock.go"], - importpath = "github.com/prysmaticlabs/prysm/validator/accounts/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/accounts/testing", visibility = [ "//validator:__pkg__", "//validator:__subpackages__", diff --git a/validator/accounts/testing/mock.go b/validator/accounts/testing/mock.go index 85219e6f2..00beb43a5 100644 --- a/validator/accounts/testing/mock.go +++ b/validator/accounts/testing/mock.go @@ -7,11 +7,11 @@ import ( "sync" "time" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - iface2 "github.com/prysmaticlabs/prysm/validator/client/iface" - "github.com/prysmaticlabs/prysm/validator/keymanager" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + iface2 "github.com/prysmaticlabs/prysm/v3/validator/client/iface" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" ) // Wallet contains an in-memory, simulated wallet implementation. diff --git a/validator/accounts/userprompt/BUILD.bazel b/validator/accounts/userprompt/BUILD.bazel index e0d27b062..c314d3271 100644 --- a/validator/accounts/userprompt/BUILD.bazel +++ b/validator/accounts/userprompt/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "log.go", "prompt.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/accounts/userprompt", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/accounts/userprompt", visibility = [ "//cmd:__subpackages__", "//validator:__subpackages__", diff --git a/validator/accounts/userprompt/prompt.go b/validator/accounts/userprompt/prompt.go index e4be99e38..2ca5af54f 100644 --- a/validator/accounts/userprompt/prompt.go +++ b/validator/accounts/userprompt/prompt.go @@ -8,10 +8,10 @@ import ( "github.com/logrusorgru/aurora" "github.com/manifoldco/promptui" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/io/prompt" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/io/prompt" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" "github.com/urfave/cli/v2" ) diff --git a/validator/accounts/wallet/BUILD.bazel b/validator/accounts/wallet/BUILD.bazel index e3837e5eb..72072c177 100644 --- a/validator/accounts/wallet/BUILD.bazel +++ b/validator/accounts/wallet/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "log.go", "wallet.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/accounts/wallet", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet", visibility = [ "//cmd:__subpackages__", "//tools:__subpackages__", diff --git a/validator/accounts/wallet/wallet.go b/validator/accounts/wallet/wallet.go index 0210848a1..8e5def67e 100644 --- a/validator/accounts/wallet/wallet.go +++ b/validator/accounts/wallet/wallet.go @@ -9,17 +9,17 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/io/prompt" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - accountsprompt "github.com/prysmaticlabs/prysm/validator/accounts/userprompt" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" - remoteweb3signer "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/io/prompt" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + accountsprompt "github.com/prysmaticlabs/prysm/v3/validator/accounts/userprompt" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" + remoteweb3signer "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" ) diff --git a/validator/accounts/wallet/wallet_test.go b/validator/accounts/wallet/wallet_test.go index ac7d0e2bf..491aa55b4 100644 --- a/validator/accounts/wallet/wallet_test.go +++ b/validator/accounts/wallet/wallet_test.go @@ -8,12 +8,12 @@ import ( "testing" "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - remoteweb3signer "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + remoteweb3signer "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer" "github.com/sirupsen/logrus" ) diff --git a/validator/accounts/wallet_create.go b/validator/accounts/wallet_create.go index e9bbd59b0..cc3c55e9d 100644 --- a/validator/accounts/wallet_create.go +++ b/validator/accounts/wallet_create.go @@ -9,16 +9,16 @@ import ( "github.com/manifoldco/promptui" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/io/prompt" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - "github.com/prysmaticlabs/prysm/validator/accounts/userprompt" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" - remoteweb3signer "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/io/prompt" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/userprompt" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" + remoteweb3signer "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer" "github.com/urfave/cli/v2" ) diff --git a/validator/accounts/wallet_create_test.go b/validator/accounts/wallet_create_test.go index 7c763c040..faa41ee89 100644 --- a/validator/accounts/wallet_create_test.go +++ b/validator/accounts/wallet_create_test.go @@ -10,14 +10,14 @@ import ( "testing" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" "github.com/sirupsen/logrus" logTest "github.com/sirupsen/logrus/hooks/test" "github.com/urfave/cli/v2" diff --git a/validator/accounts/wallet_edit.go b/validator/accounts/wallet_edit.go index cb55f4bfa..d0c28c918 100644 --- a/validator/accounts/wallet_edit.go +++ b/validator/accounts/wallet_edit.go @@ -4,7 +4,7 @@ import ( "context" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" ) // WalletEdit changes a user's on-disk wallet configuration: remote gRPC diff --git a/validator/accounts/wallet_recover.go b/validator/accounts/wallet_recover.go index 611eb6c1a..22092ce7c 100644 --- a/validator/accounts/wallet_recover.go +++ b/validator/accounts/wallet_recover.go @@ -9,12 +9,12 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/io/prompt" - "github.com/prysmaticlabs/prysm/validator/accounts/userprompt" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/io/prompt" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/userprompt" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" "github.com/tyler-smith/go-bip39" "github.com/tyler-smith/go-bip39/wordlists" "github.com/urfave/cli/v2" diff --git a/validator/accounts/wallet_recover_fuzz_test.go b/validator/accounts/wallet_recover_fuzz_test.go index 3e3daf812..18afafb62 100644 --- a/validator/accounts/wallet_recover_fuzz_test.go +++ b/validator/accounts/wallet_recover_fuzz_test.go @@ -5,7 +5,7 @@ package accounts_test import ( "testing" - "github.com/prysmaticlabs/prysm/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" ) func FuzzValidateMnemonic(f *testing.F) { diff --git a/validator/accounts/wallet_recover_test.go b/validator/accounts/wallet_recover_test.go index beb409249..71e696882 100644 --- a/validator/accounts/wallet_recover_test.go +++ b/validator/accounts/wallet_recover_test.go @@ -9,13 +9,13 @@ import ( "testing" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" "github.com/urfave/cli/v2" ) diff --git a/validator/client/BUILD.bazel b/validator/client/BUILD.bazel index d9160ba79..19a463ae5 100644 --- a/validator/client/BUILD.bazel +++ b/validator/client/BUILD.bazel @@ -19,7 +19,7 @@ go_library( "validator.go", "wait_for_activation.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/client", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/client", visibility = [ "//cmd:__subpackages__", "//validator:__subpackages__", diff --git a/validator/client/aggregate.go b/validator/client/aggregate.go index af00c094e..b5e3e5031 100644 --- a/validator/client/aggregate.go +++ b/validator/client/aggregate.go @@ -5,16 +5,16 @@ import ( "fmt" "time" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" "go.opencensus.io/trace" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/validator/client/aggregate_test.go b/validator/client/aggregate_test.go index 161a5e1c3..0d450fe5f 100644 --- a/validator/client/aggregate_test.go +++ b/validator/client/aggregate_test.go @@ -7,16 +7,16 @@ import ( "github.com/golang/mock/gomock" "github.com/prysmaticlabs/go-bitfield" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/validator/client/attest.go b/validator/client/attest.go index ea85ab887..aec981d94 100644 --- a/validator/client/attest.go +++ b/validator/client/attest.go @@ -9,21 +9,21 @@ import ( "time" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/time/slots" - "github.com/prysmaticlabs/prysm/validator/client/iface" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/time/slots" + "github.com/prysmaticlabs/prysm/v3/validator/client/iface" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/validator/client/attest_protect.go b/validator/client/attest_protect.go index f32ee4cc3..8c14d9aa7 100644 --- a/validator/client/attest_protect.go +++ b/validator/client/attest_protect.go @@ -6,11 +6,11 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/slashings" - "github.com/prysmaticlabs/prysm/validator/db/kv" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/slashings" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" "go.opencensus.io/trace" ) diff --git a/validator/client/attest_protect_test.go b/validator/client/attest_protect_test.go index 05b3086d1..95d9267bb 100644 --- a/validator/client/attest_protect_test.go +++ b/validator/client/attest_protect_test.go @@ -5,12 +5,12 @@ import ( "testing" "github.com/golang/mock/gomock" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func Test_slashableAttestationCheck(t *testing.T) { diff --git a/validator/client/attest_test.go b/validator/client/attest_test.go index b389349c1..d29ea0d4c 100644 --- a/validator/client/attest_test.go +++ b/validator/client/attest_test.go @@ -11,21 +11,21 @@ import ( "github.com/golang/mock/gomock" "github.com/prysmaticlabs/go-bitfield" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - prysmTime "github.com/prysmaticlabs/prysm/time" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" logTest "github.com/sirupsen/logrus/hooks/test" "google.golang.org/grpc" "gopkg.in/d4l3k/messagediff.v1" diff --git a/validator/client/iface/BUILD.bazel b/validator/client/iface/BUILD.bazel index 9923a63ce..5243ee53e 100644 --- a/validator/client/iface/BUILD.bazel +++ b/validator/client/iface/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["validator.go"], - importpath = "github.com/prysmaticlabs/prysm/validator/client/iface", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/client/iface", visibility = ["//validator:__subpackages__"], deps = [ "//config/fieldparams:go_default_library", diff --git a/validator/client/iface/validator.go b/validator/client/iface/validator.go index 755f20841..baf0f52ae 100644 --- a/validator/client/iface/validator.go +++ b/validator/client/iface/validator.go @@ -5,12 +5,12 @@ import ( "errors" "time" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/validator/keymanager" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" ) // ErrConnectionIssue represents a connection problem. diff --git a/validator/client/key_reload.go b/validator/client/key_reload.go index 92cccca07..d7c5325c4 100644 --- a/validator/client/key_reload.go +++ b/validator/client/key_reload.go @@ -3,8 +3,8 @@ package client import ( "context" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "go.opencensus.io/trace" ) diff --git a/validator/client/key_reload_test.go b/validator/client/key_reload_test.go index 493ae808b..9edf99eb3 100644 --- a/validator/client/key_reload_test.go +++ b/validator/client/key_reload_test.go @@ -6,13 +6,13 @@ import ( "github.com/golang/mock/gomock" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/client/testutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/client/testutil" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/validator/client/log.go b/validator/client/log.go index 2966da2f7..743a0e42b 100644 --- a/validator/client/log.go +++ b/validator/client/log.go @@ -4,9 +4,9 @@ import ( "fmt" "sync/atomic" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "github.com/sirupsen/logrus" ) diff --git a/validator/client/metrics.go b/validator/client/metrics.go index 40026331c..80cfd0f99 100644 --- a/validator/client/metrics.go +++ b/validator/client/metrics.go @@ -6,12 +6,12 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" ) diff --git a/validator/client/metrics_test.go b/validator/client/metrics_test.go index fc1c0c358..36fcd08fb 100644 --- a/validator/client/metrics_test.go +++ b/validator/client/metrics_test.go @@ -3,13 +3,13 @@ package client import ( "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/time/slots" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/time/slots" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/validator/client/propose.go b/validator/client/propose.go index 4f3d0db47..c05f48688 100644 --- a/validator/client/propose.go +++ b/validator/client/propose.go @@ -7,21 +7,21 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/runtime/version" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/validator/client/iface" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/validator/client/iface" "github.com/sirupsen/logrus" "go.opencensus.io/trace" "google.golang.org/protobuf/types/known/emptypb" diff --git a/validator/client/propose_protect.go b/validator/client/propose_protect.go index b169f12d9..d980cf098 100644 --- a/validator/client/propose_protect.go +++ b/validator/client/propose_protect.go @@ -5,10 +5,10 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" "github.com/sirupsen/logrus" ) diff --git a/validator/client/propose_protect_test.go b/validator/client/propose_protect_test.go index f465b5ba0..746abf242 100644 --- a/validator/client/propose_protect_test.go +++ b/validator/client/propose_protect_test.go @@ -5,15 +5,15 @@ import ( "testing" "github.com/golang/mock/gomock" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" ) func Test_slashableProposalCheck_PreventsLowerThanMinProposal(t *testing.T) { diff --git a/validator/client/propose_test.go b/validator/client/propose_test.go index ed8947400..bf15799a0 100644 --- a/validator/client/propose_test.go +++ b/validator/client/propose_test.go @@ -9,24 +9,24 @@ import ( "time" "github.com/golang/mock/gomock" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - blocktest "github.com/prysmaticlabs/prysm/consensus-types/blocks/testing" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - testing2 "github.com/prysmaticlabs/prysm/validator/db/testing" - "github.com/prysmaticlabs/prysm/validator/graffiti" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + blocktest "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks/testing" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + testing2 "github.com/prysmaticlabs/prysm/v3/validator/db/testing" + "github.com/prysmaticlabs/prysm/v3/validator/graffiti" logTest "github.com/sirupsen/logrus/hooks/test" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/validator/client/registration.go b/validator/client/registration.go index d746ca44c..4e5fe686e 100644 --- a/validator/client/registration.go +++ b/validator/client/registration.go @@ -6,13 +6,13 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/beacon-chain/builder" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/validator/client/iface" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/builder" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/validator/client/iface" "go.opencensus.io/trace" ) diff --git a/validator/client/registration_test.go b/validator/client/registration_test.go index 799aa32fe..4d0cf652b 100644 --- a/validator/client/registration_test.go +++ b/validator/client/registration_test.go @@ -8,12 +8,12 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/golang/mock/gomock" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestSubmitValidatorRegistrations(t *testing.T) { diff --git a/validator/client/runner.go b/validator/client/runner.go index e91169d42..8926e2e8d 100644 --- a/validator/client/runner.go +++ b/validator/client/runner.go @@ -7,14 +7,14 @@ import ( "time" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/time/slots" - "github.com/prysmaticlabs/prysm/validator/client/iface" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/time/slots" + "github.com/prysmaticlabs/prysm/v3/validator/client/iface" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" "go.opencensus.io/trace" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/validator/client/runner_test.go b/validator/client/runner_test.go index 2e0519946..dbcd957dd 100644 --- a/validator/client/runner_test.go +++ b/validator/client/runner_test.go @@ -6,15 +6,15 @@ import ( "time" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/client/iface" - "github.com/prysmaticlabs/prysm/validator/client/testutil" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote/mock" + "github.com/prysmaticlabs/prysm/v3/async/event" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/client/iface" + "github.com/prysmaticlabs/prysm/v3/validator/client/testutil" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote/mock" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/validator/client/service.go b/validator/client/service.go index 76fed99ef..ba5c097be 100644 --- a/validator/client/service.go +++ b/validator/client/service.go @@ -11,22 +11,22 @@ import ( grpcopentracing "github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing" grpcprometheus "github.com/grpc-ecosystem/go-grpc-prometheus" "github.com/pkg/errors" - grpcutil "github.com/prysmaticlabs/prysm/api/grpc" - "github.com/prysmaticlabs/prysm/async/event" - lruwrpr "github.com/prysmaticlabs/prysm/cache/lru" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - validatorserviceconfig "github.com/prysmaticlabs/prysm/config/validator/service" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/client/iface" - "github.com/prysmaticlabs/prysm/validator/db" - "github.com/prysmaticlabs/prysm/validator/graffiti" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" - remoteweb3signer "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer" + grpcutil "github.com/prysmaticlabs/prysm/v3/api/grpc" + "github.com/prysmaticlabs/prysm/v3/async/event" + lruwrpr "github.com/prysmaticlabs/prysm/v3/cache/lru" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + validatorserviceconfig "github.com/prysmaticlabs/prysm/v3/config/validator/service" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/client/iface" + "github.com/prysmaticlabs/prysm/v3/validator/db" + "github.com/prysmaticlabs/prysm/v3/validator/graffiti" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" + remoteweb3signer "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer" "go.opencensus.io/plugin/ocgrpc" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/validator/client/service_test.go b/validator/client/service_test.go index 5eb285f8c..faaa60684 100644 --- a/validator/client/service_test.go +++ b/validator/client/service_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/runtime" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/runtime" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" "google.golang.org/grpc/metadata" ) diff --git a/validator/client/slashing_protection_interchange_test.go b/validator/client/slashing_protection_interchange_test.go index c75f0cb2e..b003966bc 100644 --- a/validator/client/slashing_protection_interchange_test.go +++ b/validator/client/slashing_protection_interchange_test.go @@ -9,13 +9,13 @@ import ( "testing" "github.com/bazelbuild/rules_go/go/tools/bazel" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/io/file" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - history "github.com/prysmaticlabs/prysm/validator/slashing-protection-history" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/io/file" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + history "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history" ) type eip3076TestCase struct { diff --git a/validator/client/sync_committee.go b/validator/client/sync_committee.go index ee107a900..ddee00b30 100644 --- a/validator/client/sync_committee.go +++ b/validator/client/sync_committee.go @@ -7,16 +7,16 @@ import ( "time" emptypb "github.com/golang/protobuf/ptypes/empty" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/time/slots" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/time/slots" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/validator/client/sync_committee_test.go b/validator/client/sync_committee_test.go index 065ed2969..ef9710aa7 100644 --- a/validator/client/sync_committee_test.go +++ b/validator/client/sync_committee_test.go @@ -8,13 +8,13 @@ import ( "github.com/golang/mock/gomock" "github.com/pkg/errors" "github.com/prysmaticlabs/go-bitfield" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" diff --git a/validator/client/testutil/BUILD.bazel b/validator/client/testutil/BUILD.bazel index 3b0901528..a556f4b0e 100644 --- a/validator/client/testutil/BUILD.bazel +++ b/validator/client/testutil/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "helper.go", "mock_validator.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/client/testutil", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/client/testutil", visibility = ["//validator:__subpackages__"], deps = [ "//config/fieldparams:go_default_library", diff --git a/validator/client/testutil/helper.go b/validator/client/testutil/helper.go index 906e7343f..511ff9df7 100644 --- a/validator/client/testutil/helper.go +++ b/validator/client/testutil/helper.go @@ -1,9 +1,9 @@ package testutil import ( - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // ActiveKey represents a public key whose status is ACTIVE. diff --git a/validator/client/testutil/mock_validator.go b/validator/client/testutil/mock_validator.go index b6928d8e6..d9cc7dbab 100644 --- a/validator/client/testutil/mock_validator.go +++ b/validator/client/testutil/mock_validator.go @@ -5,12 +5,12 @@ import ( "context" "time" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - prysmTime "github.com/prysmaticlabs/prysm/time" - "github.com/prysmaticlabs/prysm/validator/client/iface" - "github.com/prysmaticlabs/prysm/validator/keymanager" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + prysmTime "github.com/prysmaticlabs/prysm/v3/time" + "github.com/prysmaticlabs/prysm/v3/validator/client/iface" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" log "github.com/sirupsen/logrus" ) diff --git a/validator/client/validator.go b/validator/client/validator.go index dc1bf2e8f..73b280ac3 100644 --- a/validator/client/validator.go +++ b/validator/client/validator.go @@ -20,28 +20,28 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" lru "github.com/hashicorp/golang-lru" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/core/altair" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - validatorserviceconfig "github.com/prysmaticlabs/prysm/config/validator/service" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" - accountsiface "github.com/prysmaticlabs/prysm/validator/accounts/iface" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/client/iface" - vdb "github.com/prysmaticlabs/prysm/validator/db" - "github.com/prysmaticlabs/prysm/validator/db/kv" - "github.com/prysmaticlabs/prysm/validator/graffiti" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" - remoteweb3signer "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/altair" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + validatorserviceconfig "github.com/prysmaticlabs/prysm/v3/config/validator/service" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" + accountsiface "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/client/iface" + vdb "github.com/prysmaticlabs/prysm/v3/validator/db" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" + "github.com/prysmaticlabs/prysm/v3/validator/graffiti" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" + remoteweb3signer "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer" "github.com/sirupsen/logrus" "go.opencensus.io/trace" "google.golang.org/grpc/codes" diff --git a/validator/client/validator_test.go b/validator/client/validator_test.go index adfebc468..c1400bef0 100644 --- a/validator/client/validator_test.go +++ b/validator/client/validator_test.go @@ -15,27 +15,27 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/golang/mock/gomock" "github.com/golang/protobuf/ptypes/empty" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - validatorserviceconfig "github.com/prysmaticlabs/prysm/config/validator/service" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/assert" - mock2 "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/client/iface" - dbTest "github.com/prysmaticlabs/prysm/validator/db/testing" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" - remoteweb3signer "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + validatorserviceconfig "github.com/prysmaticlabs/prysm/v3/config/validator/service" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + mock2 "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/client/iface" + dbTest "github.com/prysmaticlabs/prysm/v3/validator/db/testing" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" + remoteweb3signer "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer" "github.com/sirupsen/logrus" logTest "github.com/sirupsen/logrus/hooks/test" "google.golang.org/grpc" diff --git a/validator/client/wait_for_activation.go b/validator/client/wait_for_activation.go index 5fa92b1b7..f4e2e1655 100644 --- a/validator/client/wait_for_activation.go +++ b/validator/client/wait_for_activation.go @@ -6,14 +6,14 @@ import ( "time" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/math" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/math" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" "go.opencensus.io/trace" ) diff --git a/validator/client/wait_for_activation_test.go b/validator/client/wait_for_activation_test.go index 2c33f7fb9..7efcfb78a 100644 --- a/validator/client/wait_for_activation_test.go +++ b/validator/client/wait_for_activation_test.go @@ -8,20 +8,20 @@ import ( "github.com/golang/mock/gomock" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - slotutilmock "github.com/prysmaticlabs/prysm/time/slots/testing" - walletMock "github.com/prysmaticlabs/prysm/validator/accounts/testing" - "github.com/prysmaticlabs/prysm/validator/client/testutil" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" - remotekeymanagermock "github.com/prysmaticlabs/prysm/validator/keymanager/remote/mock" - constant "github.com/prysmaticlabs/prysm/validator/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + slotutilmock "github.com/prysmaticlabs/prysm/v3/time/slots/testing" + walletMock "github.com/prysmaticlabs/prysm/v3/validator/accounts/testing" + "github.com/prysmaticlabs/prysm/v3/validator/client/testutil" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" + remotekeymanagermock "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote/mock" + constant "github.com/prysmaticlabs/prysm/v3/validator/testing" logTest "github.com/sirupsen/logrus/hooks/test" "github.com/tyler-smith/go-bip39" util "github.com/wealdtech/go-eth2-util" diff --git a/validator/db/BUILD.bazel b/validator/db/BUILD.bazel index 9363b0272..0338e3b34 100644 --- a/validator/db/BUILD.bazel +++ b/validator/db/BUILD.bazel @@ -8,7 +8,7 @@ go_library( "migrate.go", "restore.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/db", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/db", visibility = [ "//cmd/validator:__subpackages__", "//validator:__subpackages__", diff --git a/validator/db/alias.go b/validator/db/alias.go index fd739d88a..314321cf6 100644 --- a/validator/db/alias.go +++ b/validator/db/alias.go @@ -1,6 +1,6 @@ package db -import "github.com/prysmaticlabs/prysm/validator/db/iface" +import "github.com/prysmaticlabs/prysm/v3/validator/db/iface" // Database defines the necessary methods for Prysm's validator client backend which may be implemented by any // key-value or relational database in practice. This is the full database interface which should diff --git a/validator/db/iface/BUILD.bazel b/validator/db/iface/BUILD.bazel index 3e9b5e82d..1ac63ee48 100644 --- a/validator/db/iface/BUILD.bazel +++ b/validator/db/iface/BUILD.bazel @@ -3,8 +3,8 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["interface.go"], - importpath = "github.com/prysmaticlabs/prysm/validator/db/iface", - # Other packages must use github.com/prysmaticlabs/prysm/validator/db.Database alias. + importpath = "github.com/prysmaticlabs/prysm/v3/validator/db/iface", + # Other packages must use github.com/prysmaticlabs/prysm/v3/validator/db.Database alias. visibility = ["//validator/db:__subpackages__"], deps = [ "//config/fieldparams:go_default_library", diff --git a/validator/db/iface/interface.go b/validator/db/iface/interface.go index f432674b8..acaf44821 100644 --- a/validator/db/iface/interface.go +++ b/validator/db/iface/interface.go @@ -5,11 +5,11 @@ import ( "context" "io" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/monitoring/backup" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/validator/db/kv" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/monitoring/backup" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" ) // Ensure the kv store implements the interface. diff --git a/validator/db/kv/BUILD.bazel b/validator/db/kv/BUILD.bazel index 4081f6367..d58f22762 100644 --- a/validator/db/kv/BUILD.bazel +++ b/validator/db/kv/BUILD.bazel @@ -18,7 +18,7 @@ go_library( "prune_attester_protection.go", "schema.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/db/kv", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/db/kv", visibility = [ "//cmd:__subpackages__", "//validator:__subpackages__", diff --git a/validator/db/kv/attester_protection.go b/validator/db/kv/attester_protection.go index fb8126c83..92966586b 100644 --- a/validator/db/kv/attester_protection.go +++ b/validator/db/kv/attester_protection.go @@ -7,12 +7,12 @@ import ( "time" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/slashings" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/slashings" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/validator/db/kv/attester_protection_test.go b/validator/db/kv/attester_protection_test.go index f2ccb0415..fb76f6dfe 100644 --- a/validator/db/kv/attester_protection_test.go +++ b/validator/db/kv/attester_protection_test.go @@ -7,12 +7,12 @@ import ( "sync" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" logTest "github.com/sirupsen/logrus/hooks/test" bolt "go.etcd.io/bbolt" ) diff --git a/validator/db/kv/backup.go b/validator/db/kv/backup.go index 950ceb7ff..eeb820a66 100644 --- a/validator/db/kv/backup.go +++ b/validator/db/kv/backup.go @@ -6,8 +6,8 @@ import ( "path" "time" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/validator/db/kv/backup_test.go b/validator/db/kv/backup_test.go index 8f7129a95..098b770ba 100644 --- a/validator/db/kv/backup_test.go +++ b/validator/db/kv/backup_test.go @@ -6,9 +6,9 @@ import ( "path/filepath" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStore_Backup(t *testing.T) { diff --git a/validator/db/kv/db.go b/validator/db/kv/db.go index a435a8ade..a3e1859af 100644 --- a/validator/db/kv/db.go +++ b/validator/db/kv/db.go @@ -10,12 +10,12 @@ import ( "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" prombolt "github.com/prysmaticlabs/prombbolt" - "github.com/prysmaticlabs/prysm/async/abool" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/io/file" + "github.com/prysmaticlabs/prysm/v3/async/abool" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/io/file" bolt "go.etcd.io/bbolt" ) diff --git a/validator/db/kv/deprecated_attester_protection.go b/validator/db/kv/deprecated_attester_protection.go index 918230c4e..5818e58c4 100644 --- a/validator/db/kv/deprecated_attester_protection.go +++ b/validator/db/kv/deprecated_attester_protection.go @@ -3,10 +3,10 @@ package kv import ( "fmt" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" ) const ( diff --git a/validator/db/kv/deprecated_attester_protection_test.go b/validator/db/kv/deprecated_attester_protection_test.go index 086b35ecf..c813b7172 100644 --- a/validator/db/kv/deprecated_attester_protection_test.go +++ b/validator/db/kv/deprecated_attester_protection_test.go @@ -3,11 +3,11 @@ package kv import ( "testing" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestNewAttestationHistoryArray(t *testing.T) { diff --git a/validator/db/kv/eip_blacklisted_keys.go b/validator/db/kv/eip_blacklisted_keys.go index 6a0aabf83..44a82043c 100644 --- a/validator/db/kv/eip_blacklisted_keys.go +++ b/validator/db/kv/eip_blacklisted_keys.go @@ -3,7 +3,7 @@ package kv import ( "context" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/validator/db/kv/eip_blacklisted_keys_test.go b/validator/db/kv/eip_blacklisted_keys_test.go index 4588047b9..c6c7e7555 100644 --- a/validator/db/kv/eip_blacklisted_keys_test.go +++ b/validator/db/kv/eip_blacklisted_keys_test.go @@ -5,9 +5,9 @@ import ( "fmt" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStore_EIPBlacklistedPublicKeys(t *testing.T) { diff --git a/validator/db/kv/genesis_test.go b/validator/db/kv/genesis_test.go index 2f6a0cd6d..94ce5e344 100644 --- a/validator/db/kv/genesis_test.go +++ b/validator/db/kv/genesis_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStore_GenesisValidatorsRoot_ReadAndWrite(t *testing.T) { diff --git a/validator/db/kv/graffiti.go b/validator/db/kv/graffiti.go index a899fbad5..020601fcf 100644 --- a/validator/db/kv/graffiti.go +++ b/validator/db/kv/graffiti.go @@ -4,7 +4,7 @@ import ( "bytes" "context" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" bolt "go.etcd.io/bbolt" ) diff --git a/validator/db/kv/graffiti_test.go b/validator/db/kv/graffiti_test.go index 75a415dfc..b4206b745 100644 --- a/validator/db/kv/graffiti_test.go +++ b/validator/db/kv/graffiti_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestStore_GraffitiOrderedIndex_ReadAndWrite(t *testing.T) { diff --git a/validator/db/kv/kv_test.go b/validator/db/kv/kv_test.go index 73ec17a3a..a2f183d06 100644 --- a/validator/db/kv/kv_test.go +++ b/validator/db/kv/kv_test.go @@ -5,8 +5,8 @@ import ( "io" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/sirupsen/logrus" ) diff --git a/validator/db/kv/migration_optimal_attester_protection.go b/validator/db/kv/migration_optimal_attester_protection.go index ff9003fe5..865226435 100644 --- a/validator/db/kv/migration_optimal_attester_protection.go +++ b/validator/db/kv/migration_optimal_attester_protection.go @@ -4,11 +4,11 @@ import ( "bytes" "context" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/progress" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/progress" bolt "go.etcd.io/bbolt" ) diff --git a/validator/db/kv/migration_optimal_attester_protection_test.go b/validator/db/kv/migration_optimal_attester_protection_test.go index 3042fc1b4..19e9d4450 100644 --- a/validator/db/kv/migration_optimal_attester_protection_test.go +++ b/validator/db/kv/migration_optimal_attester_protection_test.go @@ -5,10 +5,10 @@ import ( "fmt" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/require" bolt "go.etcd.io/bbolt" ) diff --git a/validator/db/kv/migration_source_target_epochs_bucket.go b/validator/db/kv/migration_source_target_epochs_bucket.go index 64baf9a12..e6e5ef442 100644 --- a/validator/db/kv/migration_source_target_epochs_bucket.go +++ b/validator/db/kv/migration_source_target_epochs_bucket.go @@ -4,7 +4,7 @@ import ( "bytes" "context" - "github.com/prysmaticlabs/prysm/monitoring/progress" + "github.com/prysmaticlabs/prysm/v3/monitoring/progress" bolt "go.etcd.io/bbolt" ) diff --git a/validator/db/kv/migration_source_target_epochs_bucket_test.go b/validator/db/kv/migration_source_target_epochs_bucket_test.go index 4c11305c8..14b68718c 100644 --- a/validator/db/kv/migration_source_target_epochs_bucket_test.go +++ b/validator/db/kv/migration_source_target_epochs_bucket_test.go @@ -7,9 +7,9 @@ import ( "reflect" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/require" bolt "go.etcd.io/bbolt" ) diff --git a/validator/db/kv/proposer_protection.go b/validator/db/kv/proposer_protection.go index 9f8c5cb1c..365bb5d81 100644 --- a/validator/db/kv/proposer_protection.go +++ b/validator/db/kv/proposer_protection.go @@ -5,11 +5,11 @@ import ( "fmt" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/time/slots" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/time/slots" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/validator/db/kv/proposer_protection_test.go b/validator/db/kv/proposer_protection_test.go index 2f39ad728..9fc1355bb 100644 --- a/validator/db/kv/proposer_protection_test.go +++ b/validator/db/kv/proposer_protection_test.go @@ -4,12 +4,12 @@ import ( "context" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestProposalHistoryForSlot_InitializesNewPubKeys(t *testing.T) { diff --git a/validator/db/kv/prune_attester_protection.go b/validator/db/kv/prune_attester_protection.go index 27748eb5f..7b155e34e 100644 --- a/validator/db/kv/prune_attester_protection.go +++ b/validator/db/kv/prune_attester_protection.go @@ -3,9 +3,9 @@ package kv import ( "context" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" bolt "go.etcd.io/bbolt" "go.opencensus.io/trace" ) diff --git a/validator/db/kv/prune_attester_protection_test.go b/validator/db/kv/prune_attester_protection_test.go index e22201670..f1ec9378e 100644 --- a/validator/db/kv/prune_attester_protection_test.go +++ b/validator/db/kv/prune_attester_protection_test.go @@ -5,11 +5,11 @@ import ( "fmt" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/require" bolt "go.etcd.io/bbolt" ) diff --git a/validator/db/migrate.go b/validator/db/migrate.go index aabcc0e2d..ff846758b 100644 --- a/validator/db/migrate.go +++ b/validator/db/migrate.go @@ -5,9 +5,9 @@ import ( "path" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/validator/db/kv" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" "github.com/urfave/cli/v2" ) diff --git a/validator/db/migrate_test.go b/validator/db/migrate_test.go index b796c2398..68c21db9a 100644 --- a/validator/db/migrate_test.go +++ b/validator/db/migrate_test.go @@ -4,10 +4,10 @@ import ( "flag" "testing" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - dbtest "github.com/prysmaticlabs/prysm/validator/db/testing" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + dbtest "github.com/prysmaticlabs/prysm/v3/validator/db/testing" "github.com/urfave/cli/v2" ) diff --git a/validator/db/restore.go b/validator/db/restore.go index f3f083313..8012244c7 100644 --- a/validator/db/restore.go +++ b/validator/db/restore.go @@ -6,10 +6,10 @@ import ( "strings" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/io/prompt" - "github.com/prysmaticlabs/prysm/validator/db/kv" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/io/prompt" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" "github.com/urfave/cli/v2" ) diff --git a/validator/db/restore_test.go b/validator/db/restore_test.go index 2ac08373b..6d910657f 100644 --- a/validator/db/restore_test.go +++ b/validator/db/restore_test.go @@ -7,11 +7,11 @@ import ( "path" "testing" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/db/kv" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" logTest "github.com/sirupsen/logrus/hooks/test" "github.com/urfave/cli/v2" ) diff --git a/validator/db/testing/BUILD.bazel b/validator/db/testing/BUILD.bazel index 787f2fcf7..b5e4bfcf5 100644 --- a/validator/db/testing/BUILD.bazel +++ b/validator/db/testing/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = ["setup_db.go"], - importpath = "github.com/prysmaticlabs/prysm/validator/db/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/db/testing", visibility = [ "//cmd:__subpackages__", "//validator:__subpackages__", diff --git a/validator/db/testing/setup_db.go b/validator/db/testing/setup_db.go index 7b33e3ad7..df364c600 100644 --- a/validator/db/testing/setup_db.go +++ b/validator/db/testing/setup_db.go @@ -4,9 +4,9 @@ import ( "context" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/validator/db/iface" - "github.com/prysmaticlabs/prysm/validator/db/kv" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/validator/db/iface" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" ) // SetupDB instantiates and returns a DB instance for the validator client. diff --git a/validator/db/testing/setup_db_test.go b/validator/db/testing/setup_db_test.go index 6bde03600..338fa1a2a 100644 --- a/validator/db/testing/setup_db_test.go +++ b/validator/db/testing/setup_db_test.go @@ -6,8 +6,8 @@ import ( "path/filepath" "testing" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/db/kv" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" ) func TestClearDB(t *testing.T) { diff --git a/validator/graffiti/BUILD.bazel b/validator/graffiti/BUILD.bazel index 77fe28be1..44ccb90f6 100644 --- a/validator/graffiti/BUILD.bazel +++ b/validator/graffiti/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "log.go", "parse_graffiti.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/graffiti", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/graffiti", visibility = ["//validator:__subpackages__"], deps = [ "//consensus-types/primitives:go_default_library", diff --git a/validator/graffiti/parse_graffiti.go b/validator/graffiti/parse_graffiti.go index 1734ba1b9..51f362112 100644 --- a/validator/graffiti/parse_graffiti.go +++ b/validator/graffiti/parse_graffiti.go @@ -5,8 +5,8 @@ import ( "os" "strings" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" "gopkg.in/yaml.v2" ) diff --git a/validator/graffiti/parse_graffiti_test.go b/validator/graffiti/parse_graffiti_test.go index 93a88a741..2c2ed352e 100644 --- a/validator/graffiti/parse_graffiti_test.go +++ b/validator/graffiti/parse_graffiti_test.go @@ -5,10 +5,10 @@ import ( "path/filepath" "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/hash" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/hash" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestParseGraffitiFile_Default(t *testing.T) { diff --git a/validator/keymanager/BUILD.bazel b/validator/keymanager/BUILD.bazel index f32aa9cd2..da0535bfe 100644 --- a/validator/keymanager/BUILD.bazel +++ b/validator/keymanager/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "constants.go", "types.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/keymanager", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/keymanager", visibility = [ "//cmd:__subpackages__", "//testing/endtoend/components:__subpackages__", diff --git a/validator/keymanager/derived/BUILD.bazel b/validator/keymanager/derived/BUILD.bazel index c3396e55f..9448f5202 100644 --- a/validator/keymanager/derived/BUILD.bazel +++ b/validator/keymanager/derived/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "log.go", "mnemonic.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/derived", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived", visibility = [ "//cmd/validator:__subpackages__", "//tools:__subpackages__", diff --git a/validator/keymanager/derived/eip_test.go b/validator/keymanager/derived/eip_test.go index 3fdeef379..2032720d8 100644 --- a/validator/keymanager/derived/eip_test.go +++ b/validator/keymanager/derived/eip_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" util "github.com/wealdtech/go-eth2-util" ) diff --git a/validator/keymanager/derived/keymanager.go b/validator/keymanager/derived/keymanager.go index 9219df627..694548f1e 100644 --- a/validator/keymanager/derived/keymanager.go +++ b/validator/keymanager/derived/keymanager.go @@ -6,14 +6,14 @@ import ( "github.com/logrusorgru/aurora" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" + "github.com/prysmaticlabs/prysm/v3/async/event" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" util "github.com/wealdtech/go-eth2-util" ) diff --git a/validator/keymanager/derived/keymanager_test.go b/validator/keymanager/derived/keymanager_test.go index 49f725e9a..2308a8945 100644 --- a/validator/keymanager/derived/keymanager_test.go +++ b/validator/keymanager/derived/keymanager_test.go @@ -5,14 +5,14 @@ import ( "fmt" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/rand" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - mock "github.com/prysmaticlabs/prysm/validator/accounts/testing" - constant "github.com/prysmaticlabs/prysm/validator/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/validator/accounts/testing" + constant "github.com/prysmaticlabs/prysm/v3/validator/testing" "github.com/tyler-smith/go-bip39" util "github.com/wealdtech/go-eth2-util" ) diff --git a/validator/keymanager/derived/mnemonic.go b/validator/keymanager/derived/mnemonic.go index afab26ea6..4fb76e7a9 100644 --- a/validator/keymanager/derived/mnemonic.go +++ b/validator/keymanager/derived/mnemonic.go @@ -5,8 +5,8 @@ import ( "os" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/io/prompt" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/io/prompt" "github.com/tyler-smith/go-bip39" ) diff --git a/validator/keymanager/derived/mnemonic_test.go b/validator/keymanager/derived/mnemonic_test.go index b8eb4636e..5a6ba0aec 100644 --- a/validator/keymanager/derived/mnemonic_test.go +++ b/validator/keymanager/derived/mnemonic_test.go @@ -3,8 +3,8 @@ package derived import ( "testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" "github.com/tyler-smith/go-bip39" ) diff --git a/validator/keymanager/local/BUILD.bazel b/validator/keymanager/local/BUILD.bazel index 422f4bd9b..d56689f74 100644 --- a/validator/keymanager/local/BUILD.bazel +++ b/validator/keymanager/local/BUILD.bazel @@ -12,7 +12,7 @@ go_library( "log.go", "refresh.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/local", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local", visibility = [ "//cmd/validator:__subpackages__", "//tools:__subpackages__", diff --git a/validator/keymanager/local/backup.go b/validator/keymanager/local/backup.go index 64497dcb2..cd7a85ba1 100644 --- a/validator/keymanager/local/backup.go +++ b/validator/keymanager/local/backup.go @@ -6,9 +6,9 @@ import ( "github.com/google/uuid" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/validator/keymanager/local/backup_test.go b/validator/keymanager/local/backup_test.go index 89bc341d7..5e621ca81 100644 --- a/validator/keymanager/local/backup_test.go +++ b/validator/keymanager/local/backup_test.go @@ -5,11 +5,11 @@ import ( "encoding/hex" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestLocalKeymanager_ExtractKeystores(t *testing.T) { diff --git a/validator/keymanager/local/delete.go b/validator/keymanager/local/delete.go index 99d237c6e..0ca0997da 100644 --- a/validator/keymanager/local/delete.go +++ b/validator/keymanager/local/delete.go @@ -7,9 +7,9 @@ import ( "fmt" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" "github.com/sirupsen/logrus" ) diff --git a/validator/keymanager/local/delete_test.go b/validator/keymanager/local/delete_test.go index 86403d801..e96878f56 100644 --- a/validator/keymanager/local/delete_test.go +++ b/validator/keymanager/local/delete_test.go @@ -7,12 +7,12 @@ import ( "strings" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - "github.com/prysmaticlabs/prysm/testing/require" - mock "github.com/prysmaticlabs/prysm/validator/accounts/testing" - "github.com/prysmaticlabs/prysm/validator/keymanager" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + "github.com/prysmaticlabs/prysm/v3/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/validator/accounts/testing" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" logTest "github.com/sirupsen/logrus/hooks/test" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/validator/keymanager/local/import.go b/validator/keymanager/local/import.go index 0812ee47a..8a3e1fc15 100644 --- a/validator/keymanager/local/import.go +++ b/validator/keymanager/local/import.go @@ -9,9 +9,9 @@ import ( "github.com/k0kubun/go-ansi" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" "github.com/schollz/progressbar/v3" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/validator/keymanager/local/import_test.go b/validator/keymanager/local/import_test.go index 94effd0b3..9f7cb0bed 100644 --- a/validator/keymanager/local/import_test.go +++ b/validator/keymanager/local/import_test.go @@ -7,12 +7,12 @@ import ( "testing" "github.com/google/uuid" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - mock "github.com/prysmaticlabs/prysm/validator/accounts/testing" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/validator/accounts/testing" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/validator/keymanager/local/keymanager.go b/validator/keymanager/local/keymanager.go index ed5264cfe..72af81add 100644 --- a/validator/keymanager/local/keymanager.go +++ b/validator/keymanager/local/keymanager.go @@ -10,15 +10,15 @@ import ( "github.com/google/uuid" "github.com/logrusorgru/aurora" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/runtime/interop" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - "github.com/prysmaticlabs/prysm/validator/accounts/petnames" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/async/event" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/runtime/interop" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/petnames" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" "go.opencensus.io/trace" ) diff --git a/validator/keymanager/local/keymanager_test.go b/validator/keymanager/local/keymanager_test.go index 7ae474445..c3c4134a5 100644 --- a/validator/keymanager/local/keymanager_test.go +++ b/validator/keymanager/local/keymanager_test.go @@ -6,14 +6,14 @@ import ( "strings" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - mock "github.com/prysmaticlabs/prysm/validator/accounts/testing" - "github.com/prysmaticlabs/prysm/validator/keymanager" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/validator/accounts/testing" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/validator/keymanager/local/refresh.go b/validator/keymanager/local/refresh.go index b1790d4c9..45315423c 100644 --- a/validator/keymanager/local/refresh.go +++ b/validator/keymanager/local/refresh.go @@ -8,13 +8,13 @@ import ( "github.com/fsnotify/fsnotify" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/async" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/validator/keymanager/local/refresh_test.go b/validator/keymanager/local/refresh_test.go index 2f7a7d0f0..c01b47593 100644 --- a/validator/keymanager/local/refresh_test.go +++ b/validator/keymanager/local/refresh_test.go @@ -6,12 +6,12 @@ import ( "testing" "github.com/google/uuid" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - mock "github.com/prysmaticlabs/prysm/validator/accounts/testing" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + mock "github.com/prysmaticlabs/prysm/v3/validator/accounts/testing" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/validator/keymanager/remote-utils/BUILD.bazel b/validator/keymanager/remote-utils/BUILD.bazel index 6466e982b..32d63560e 100644 --- a/validator/keymanager/remote-utils/BUILD.bazel +++ b/validator/keymanager/remote-utils/BUILD.bazel @@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["format.go"], - importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/remote-utils", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-utils", visibility = [ "//validator:__pkg__", "//validator:__subpackages__", diff --git a/validator/keymanager/remote-utils/format.go b/validator/keymanager/remote-utils/format.go index c78255066..6dc925b94 100644 --- a/validator/keymanager/remote-utils/format.go +++ b/validator/keymanager/remote-utils/format.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/logrusorgru/aurora" - "github.com/prysmaticlabs/prysm/validator/accounts/petnames" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/petnames" ) // DisplayRemotePublicKeys prints remote public keys to stdout. diff --git a/validator/keymanager/remote-web3signer/BUILD.bazel b/validator/keymanager/remote-web3signer/BUILD.bazel index c83c91e37..13234ee04 100644 --- a/validator/keymanager/remote-web3signer/BUILD.bazel +++ b/validator/keymanager/remote-web3signer/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "keymanager.go", "metrics.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer", visibility = [ "//cmd/validator:__subpackages__", "//validator:__subpackages__", diff --git a/validator/keymanager/remote-web3signer/internal/BUILD.bazel b/validator/keymanager/remote-web3signer/internal/BUILD.bazel index 29f3b7b31..da734f158 100644 --- a/validator/keymanager/remote-web3signer/internal/BUILD.bazel +++ b/validator/keymanager/remote-web3signer/internal/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "log.go", "metrics.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/internal", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/internal", visibility = ["//validator/keymanager/remote-web3signer:__subpackages__"], deps = [ "//config/fieldparams:go_default_library", diff --git a/validator/keymanager/remote-web3signer/internal/client.go b/validator/keymanager/remote-web3signer/internal/client.go index 5a13f9819..991ceca8f 100644 --- a/validator/keymanager/remote-web3signer/internal/client.go +++ b/validator/keymanager/remote-web3signer/internal/client.go @@ -15,10 +15,10 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/tracing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" "github.com/sirupsen/logrus" "go.opencensus.io/trace" ) diff --git a/validator/keymanager/remote-web3signer/internal/client_test.go b/validator/keymanager/remote-web3signer/internal/client_test.go index 793e5d27a..74b51513d 100644 --- a/validator/keymanager/remote-web3signer/internal/client_test.go +++ b/validator/keymanager/remote-web3signer/internal/client_test.go @@ -11,8 +11,8 @@ import ( "testing" "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/internal" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/internal" "github.com/stretchr/testify/assert" ) diff --git a/validator/keymanager/remote-web3signer/keymanager.go b/validator/keymanager/remote-web3signer/keymanager.go index 0355b0b2d..8046587c7 100644 --- a/validator/keymanager/remote-web3signer/keymanager.go +++ b/validator/keymanager/remote-web3signer/keymanager.go @@ -11,16 +11,16 @@ import ( "github.com/go-playground/validator/v10" "github.com/logrusorgru/aurora" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/validator/keymanager" - remoteutils "github.com/prysmaticlabs/prysm/validator/keymanager/remote-utils" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/internal" - web3signerv1 "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/v1" + "github.com/prysmaticlabs/prysm/v3/async/event" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + remoteutils "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-utils" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/internal" + web3signerv1 "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/v1" log "github.com/sirupsen/logrus" ) diff --git a/validator/keymanager/remote-web3signer/keymanager_test.go b/validator/keymanager/remote-web3signer/keymanager_test.go index 93253faae..f6fafe272 100644 --- a/validator/keymanager/remote-web3signer/keymanager_test.go +++ b/validator/keymanager/remote-web3signer/keymanager_test.go @@ -8,14 +8,14 @@ import ( "testing" "github.com/ethereum/go-ethereum/common/hexutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/internal" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/v1/mock" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/internal" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/v1/mock" "github.com/stretchr/testify/assert" ) diff --git a/validator/keymanager/remote-web3signer/v1/BUILD.bazel b/validator/keymanager/remote-web3signer/v1/BUILD.bazel index 221ac48cc..b0d75d8f4 100644 --- a/validator/keymanager/remote-web3signer/v1/BUILD.bazel +++ b/validator/keymanager/remote-web3signer/v1/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "requests.go", "web3signer_types.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/v1", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/v1", visibility = ["//visibility:public"], deps = [ "//consensus-types/blocks:go_default_library", diff --git a/validator/keymanager/remote-web3signer/v1/custom_mappers.go b/validator/keymanager/remote-web3signer/v1/custom_mappers.go index 296428c9e..76d0df26d 100644 --- a/validator/keymanager/remote-web3signer/v1/custom_mappers.go +++ b/validator/keymanager/remote-web3signer/v1/custom_mappers.go @@ -5,10 +5,10 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/pkg/errors" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/network/forks" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/time/slots" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/network/forks" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/time/slots" ) // MapForkInfo maps the eth2.ForkInfo proto to the Web3Signer spec. diff --git a/validator/keymanager/remote-web3signer/v1/custom_mappers_test.go b/validator/keymanager/remote-web3signer/v1/custom_mappers_test.go index 54dd2b8af..c898b8ee7 100644 --- a/validator/keymanager/remote-web3signer/v1/custom_mappers_test.go +++ b/validator/keymanager/remote-web3signer/v1/custom_mappers_test.go @@ -5,11 +5,11 @@ import ( "testing" "github.com/prysmaticlabs/go-bitfield" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - v1 "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/v1" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/v1/mock" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + v1 "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/v1" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/v1/mock" ) func TestMapAggregateAndProof(t *testing.T) { diff --git a/validator/keymanager/remote-web3signer/v1/mock/BUILD.bazel b/validator/keymanager/remote-web3signer/v1/mock/BUILD.bazel index 34a6de456..34dfcee0f 100644 --- a/validator/keymanager/remote-web3signer/v1/mock/BUILD.bazel +++ b/validator/keymanager/remote-web3signer/v1/mock/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["mocks.go"], - importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/v1/mock", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/v1/mock", visibility = ["//visibility:public"], deps = [ "//config/fieldparams:go_default_library", diff --git a/validator/keymanager/remote-web3signer/v1/mock/mocks.go b/validator/keymanager/remote-web3signer/v1/mock/mocks.go index fd829d176..cd61e6e6a 100644 --- a/validator/keymanager/remote-web3signer/v1/mock/mocks.go +++ b/validator/keymanager/remote-web3signer/v1/mock/mocks.go @@ -5,11 +5,11 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/prysmaticlabs/go-bitfield" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/util" - v1 "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/v1" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/util" + v1 "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/v1" ) ///////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/validator/keymanager/remote-web3signer/v1/requests.go b/validator/keymanager/remote-web3signer/v1/requests.go index d74e05342..0c2ae8be1 100644 --- a/validator/keymanager/remote-web3signer/v1/requests.go +++ b/validator/keymanager/remote-web3signer/v1/requests.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/consensus-types/blocks" - "github.com/prysmaticlabs/prysm/consensus-types/interfaces" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/consensus-types/blocks" + "github.com/prysmaticlabs/prysm/v3/consensus-types/interfaces" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" ) // GetBlockSignRequest maps the request for signing type BLOCK. diff --git a/validator/keymanager/remote-web3signer/v1/requests_test.go b/validator/keymanager/remote-web3signer/v1/requests_test.go index b5c83f8a1..4c7e91092 100644 --- a/validator/keymanager/remote-web3signer/v1/requests_test.go +++ b/validator/keymanager/remote-web3signer/v1/requests_test.go @@ -5,11 +5,11 @@ import ( "testing" "github.com/ethereum/go-ethereum/common/hexutil" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/require" - v1 "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/v1" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer/v1/mock" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/require" + v1 "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/v1" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer/v1/mock" ) func TestGetAggregateAndProofSignRequest(t *testing.T) { diff --git a/validator/keymanager/remote/BUILD.bazel b/validator/keymanager/remote/BUILD.bazel index a094470b1..e79c6dea1 100644 --- a/validator/keymanager/remote/BUILD.bazel +++ b/validator/keymanager/remote/BUILD.bazel @@ -7,7 +7,7 @@ go_library( "keymanager.go", "log.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/remote", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote", visibility = [ "//cmd/validator:__subpackages__", "//validator:__pkg__", diff --git a/validator/keymanager/remote/keymanager.go b/validator/keymanager/remote/keymanager.go index c5e5dbe71..aecc71d74 100644 --- a/validator/keymanager/remote/keymanager.go +++ b/validator/keymanager/remote/keymanager.go @@ -16,14 +16,14 @@ import ( "github.com/golang/protobuf/ptypes/empty" "github.com/logrusorgru/aurora" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/async/event" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/validator/keymanager" - remoteutils "github.com/prysmaticlabs/prysm/validator/keymanager/remote-utils" + "github.com/prysmaticlabs/prysm/v3/async/event" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + remoteutils "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-utils" "google.golang.org/grpc" "google.golang.org/grpc/credentials" ) diff --git a/validator/keymanager/remote/keymanager_test.go b/validator/keymanager/remote/keymanager_test.go index 9d85c70a6..ac8c33226 100644 --- a/validator/keymanager/remote/keymanager_test.go +++ b/validator/keymanager/remote/keymanager_test.go @@ -12,16 +12,16 @@ import ( "testing" "github.com/golang/mock/gomock" - "github.com/prysmaticlabs/prysm/async/event" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/async/event" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/validator/keymanager/remote/mock/BUILD.bazel b/validator/keymanager/remote/mock/BUILD.bazel index c4ba19d47..303bb41af 100644 --- a/validator/keymanager/remote/mock/BUILD.bazel +++ b/validator/keymanager/remote/mock/BUILD.bazel @@ -4,7 +4,7 @@ go_library( name = "go_default_library", testonly = True, srcs = ["mock_keymanager.go"], - importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/remote/mock", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote/mock", visibility = ["//visibility:public"], deps = [ "//async/event:go_default_library", diff --git a/validator/keymanager/remote/mock/mock_keymanager.go b/validator/keymanager/remote/mock/mock_keymanager.go index 744ff1830..ea44162b7 100644 --- a/validator/keymanager/remote/mock/mock_keymanager.go +++ b/validator/keymanager/remote/mock/mock_keymanager.go @@ -4,16 +4,16 @@ import ( "context" "errors" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/beacon-chain/core/signing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/util" - "github.com/prysmaticlabs/prysm/time/slots" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/signing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/util" + "github.com/prysmaticlabs/prysm/v3/time/slots" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" ) // MockKeymanager -- diff --git a/validator/keymanager/types.go b/validator/keymanager/types.go index 93d6f1778..fb1445ade 100644 --- a/validator/keymanager/types.go +++ b/validator/keymanager/types.go @@ -5,11 +5,11 @@ import ( "fmt" "strings" - "github.com/prysmaticlabs/prysm/async/event" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/crypto/bls" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/async/event" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" ) // IKeymanager defines a general keymanager interface for Prysm wallets. diff --git a/validator/keymanager/types_test.go b/validator/keymanager/types_test.go index 0c9e8f3b2..2fc47fcc6 100644 --- a/validator/keymanager/types_test.go +++ b/validator/keymanager/types_test.go @@ -5,13 +5,13 @@ import ( "strings" "testing" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" - "github.com/prysmaticlabs/prysm/validator/keymanager/remote" - remoteweb3signer "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote" + remoteweb3signer "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer" ) var ( diff --git a/validator/node/BUILD.bazel b/validator/node/BUILD.bazel index f38e6f89d..ba82c5eb2 100644 --- a/validator/node/BUILD.bazel +++ b/validator/node/BUILD.bazel @@ -31,7 +31,7 @@ go_library( "log.go", "node.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/node", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/node", visibility = [ "//cmd/validator:__subpackages__", "//validator:__subpackages__", diff --git a/validator/node/node.go b/validator/node/node.go index 229542e9b..9bd0dbbc2 100644 --- a/validator/node/node.go +++ b/validator/node/node.go @@ -22,37 +22,37 @@ import ( gwruntime "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/pkg/errors" fastssz "github.com/prysmaticlabs/fastssz" - "github.com/prysmaticlabs/prysm/api/gateway" - "github.com/prysmaticlabs/prysm/api/gateway/apimiddleware" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - "github.com/prysmaticlabs/prysm/config/features" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - validatorServiceConfig "github.com/prysmaticlabs/prysm/config/validator/service" - "github.com/prysmaticlabs/prysm/container/slice" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/monitoring/backup" - "github.com/prysmaticlabs/prysm/monitoring/prometheus" - tracing2 "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/runtime" - "github.com/prysmaticlabs/prysm/runtime/debug" - "github.com/prysmaticlabs/prysm/runtime/prereqs" - "github.com/prysmaticlabs/prysm/runtime/version" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/client" - "github.com/prysmaticlabs/prysm/validator/db/kv" - g "github.com/prysmaticlabs/prysm/validator/graffiti" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" - remoteweb3signer "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer" - "github.com/prysmaticlabs/prysm/validator/rpc" - validatormiddleware "github.com/prysmaticlabs/prysm/validator/rpc/apimiddleware" - "github.com/prysmaticlabs/prysm/validator/web" + "github.com/prysmaticlabs/prysm/v3/api/gateway" + "github.com/prysmaticlabs/prysm/v3/api/gateway/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + "github.com/prysmaticlabs/prysm/v3/config/features" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + validatorServiceConfig "github.com/prysmaticlabs/prysm/v3/config/validator/service" + "github.com/prysmaticlabs/prysm/v3/container/slice" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/monitoring/backup" + "github.com/prysmaticlabs/prysm/v3/monitoring/prometheus" + tracing2 "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/runtime" + "github.com/prysmaticlabs/prysm/v3/runtime/debug" + "github.com/prysmaticlabs/prysm/v3/runtime/prereqs" + "github.com/prysmaticlabs/prysm/v3/runtime/version" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/client" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" + g "github.com/prysmaticlabs/prysm/v3/validator/graffiti" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" + remoteweb3signer "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer" + "github.com/prysmaticlabs/prysm/v3/validator/rpc" + validatormiddleware "github.com/prysmaticlabs/prysm/v3/validator/rpc/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/validator/web" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" "google.golang.org/protobuf/encoding/protojson" diff --git a/validator/node/node_test.go b/validator/node/node_test.go index 01795cbfe..aa0fe73bc 100644 --- a/validator/node/node_test.go +++ b/validator/node/node_test.go @@ -12,17 +12,17 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - validatorserviceconfig "github.com/prysmaticlabs/prysm/config/validator/service" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" - remoteweb3signer "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + validatorserviceconfig "github.com/prysmaticlabs/prysm/v3/config/validator/service" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + remoteweb3signer "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer" logtest "github.com/sirupsen/logrus/hooks/test" "github.com/urfave/cli/v2" ) diff --git a/validator/rpc/BUILD.bazel b/validator/rpc/BUILD.bazel index 87ab934c3..e4ddc2859 100644 --- a/validator/rpc/BUILD.bazel +++ b/validator/rpc/BUILD.bazel @@ -14,7 +14,7 @@ go_library( "standard_api.go", "wallet.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/rpc", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/rpc", visibility = [ "//cmd/validator:__subpackages__", "//validator:__subpackages__", diff --git a/validator/rpc/accounts.go b/validator/rpc/accounts.go index 68723097f..a03fad0d4 100644 --- a/validator/rpc/accounts.go +++ b/validator/rpc/accounts.go @@ -7,15 +7,15 @@ import ( "encoding/json" "fmt" - "github.com/prysmaticlabs/prysm/api/pagination" - "github.com/prysmaticlabs/prysm/cmd" - "github.com/prysmaticlabs/prysm/crypto/bls" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/petnames" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" - "github.com/prysmaticlabs/prysm/validator/keymanager/local" + "github.com/prysmaticlabs/prysm/v3/api/pagination" + "github.com/prysmaticlabs/prysm/v3/cmd" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/petnames" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/local" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/validator/rpc/accounts_test.go b/validator/rpc/accounts_test.go index d887fe40c..be8ed5042 100644 --- a/validator/rpc/accounts_test.go +++ b/validator/rpc/accounts_test.go @@ -12,20 +12,20 @@ import ( "time" "github.com/golang/mock/gomock" - "github.com/prysmaticlabs/prysm/cmd/validator/flags" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/assert" - mock2 "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - mock "github.com/prysmaticlabs/prysm/validator/accounts/testing" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/client" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" - constant "github.com/prysmaticlabs/prysm/validator/testing" + "github.com/prysmaticlabs/prysm/v3/cmd/validator/flags" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + mock2 "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + mock "github.com/prysmaticlabs/prysm/v3/validator/accounts/testing" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/client" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" + constant "github.com/prysmaticlabs/prysm/v3/validator/testing" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/validator/rpc/apimiddleware/BUILD.bazel b/validator/rpc/apimiddleware/BUILD.bazel index 28c0e3289..368e8c991 100644 --- a/validator/rpc/apimiddleware/BUILD.bazel +++ b/validator/rpc/apimiddleware/BUILD.bazel @@ -6,7 +6,7 @@ go_library( "endpoint_factory.go", "structs.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/rpc/apimiddleware", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/rpc/apimiddleware", visibility = ["//visibility:public"], deps = [ "//api/gateway/apimiddleware:go_default_library", diff --git a/validator/rpc/apimiddleware/endpoint_factory.go b/validator/rpc/apimiddleware/endpoint_factory.go index f38bacfbf..05c7ee20c 100644 --- a/validator/rpc/apimiddleware/endpoint_factory.go +++ b/validator/rpc/apimiddleware/endpoint_factory.go @@ -2,7 +2,7 @@ package apimiddleware import ( "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/api/gateway/apimiddleware" + "github.com/prysmaticlabs/prysm/v3/api/gateway/apimiddleware" ) // ValidatorEndpointFactory creates endpoints used for running validator API calls through the API Middleware. diff --git a/validator/rpc/apimiddleware/structs_test.go b/validator/rpc/apimiddleware/structs_test.go index efdb142c2..43f4e1638 100644 --- a/validator/rpc/apimiddleware/structs_test.go +++ b/validator/rpc/apimiddleware/structs_test.go @@ -5,9 +5,9 @@ import ( "fmt" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/proto/eth/service" - "github.com/prysmaticlabs/prysm/testing/require" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + "github.com/prysmaticlabs/prysm/v3/testing/require" ) func TestListKeystores_JSONisEqual(t *testing.T) { diff --git a/validator/rpc/auth_token.go b/validator/rpc/auth_token.go index 799699518..b23ebe002 100644 --- a/validator/rpc/auth_token.go +++ b/validator/rpc/auth_token.go @@ -15,10 +15,10 @@ import ( "github.com/fsnotify/fsnotify" "github.com/golang-jwt/jwt/v4" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/io/file" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/io/file" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/emptypb" diff --git a/validator/rpc/auth_token_test.go b/validator/rpc/auth_token_test.go index 87ec8850b..dee1f26d7 100644 --- a/validator/rpc/auth_token_test.go +++ b/validator/rpc/auth_token_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" "google.golang.org/grpc" "google.golang.org/grpc/metadata" ) diff --git a/validator/rpc/beacon.go b/validator/rpc/beacon.go index fd0e64131..bca6f056e 100644 --- a/validator/rpc/beacon.go +++ b/validator/rpc/beacon.go @@ -10,10 +10,10 @@ import ( grpcopentracing "github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing" grpcprometheus "github.com/grpc-ecosystem/go-grpc-prometheus" "github.com/pkg/errors" - grpcutil "github.com/prysmaticlabs/prysm/api/grpc" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/validator/client" + grpcutil "github.com/prysmaticlabs/prysm/v3/api/grpc" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/validator/client" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/validator/rpc/beacon_test.go b/validator/rpc/beacon_test.go index e9cf0f06f..2708ac325 100644 --- a/validator/rpc/beacon_test.go +++ b/validator/rpc/beacon_test.go @@ -8,11 +8,11 @@ import ( "github.com/golang/mock/gomock" "github.com/golang/protobuf/ptypes/empty" "github.com/pkg/errors" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/assert" - mock2 "github.com/prysmaticlabs/prysm/testing/mock" - "github.com/prysmaticlabs/prysm/testing/require" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + mock2 "github.com/prysmaticlabs/prysm/v3/testing/mock" + "github.com/prysmaticlabs/prysm/v3/testing/require" "google.golang.org/grpc/metadata" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/validator/rpc/health.go b/validator/rpc/health.go index 31511664b..6c4cc7f7b 100644 --- a/validator/rpc/health.go +++ b/validator/rpc/health.go @@ -5,9 +5,9 @@ import ( "time" "github.com/pkg/errors" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/runtime/version" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/runtime/version" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/emptypb" diff --git a/validator/rpc/health_test.go b/validator/rpc/health_test.go index 757660bfb..20f0a923e 100644 --- a/validator/rpc/health_test.go +++ b/validator/rpc/health_test.go @@ -6,10 +6,10 @@ import ( "time" "github.com/golang/protobuf/ptypes/empty" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/client" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/client" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/validator/rpc/intercepter_test.go b/validator/rpc/intercepter_test.go index 2c03ab642..cfc0d47bb 100644 --- a/validator/rpc/intercepter_test.go +++ b/validator/rpc/intercepter_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/golang-jwt/jwt/v4" - "github.com/prysmaticlabs/prysm/testing/require" + "github.com/prysmaticlabs/prysm/v3/testing/require" "google.golang.org/grpc" "google.golang.org/grpc/metadata" ) diff --git a/validator/rpc/server.go b/validator/rpc/server.go index d7de92d03..4af15b6b3 100644 --- a/validator/rpc/server.go +++ b/validator/rpc/server.go @@ -11,15 +11,15 @@ import ( recovery "github.com/grpc-ecosystem/go-grpc-middleware/recovery" grpcopentracing "github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing" grpcprometheus "github.com/grpc-ecosystem/go-grpc-prometheus" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/io/logs" - "github.com/prysmaticlabs/prysm/monitoring/tracing" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/client" - "github.com/prysmaticlabs/prysm/validator/db" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/io/logs" + "github.com/prysmaticlabs/prysm/v3/monitoring/tracing" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/client" + "github.com/prysmaticlabs/prysm/v3/validator/db" "github.com/sirupsen/logrus" "go.opencensus.io/plugin/ocgrpc" "google.golang.org/grpc" diff --git a/validator/rpc/server_test.go b/validator/rpc/server_test.go index e931d864b..64755def3 100644 --- a/validator/rpc/server_test.go +++ b/validator/rpc/server_test.go @@ -1,7 +1,7 @@ package rpc import ( - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" ) var _ pb.AuthServer = (*Server)(nil) diff --git a/validator/rpc/slashing.go b/validator/rpc/slashing.go index 59e13ab02..eecf4ab09 100644 --- a/validator/rpc/slashing.go +++ b/validator/rpc/slashing.go @@ -7,8 +7,8 @@ import ( "github.com/golang/protobuf/ptypes/empty" "github.com/pkg/errors" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - slashing "github.com/prysmaticlabs/prysm/validator/slashing-protection-history" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + slashing "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/emptypb" diff --git a/validator/rpc/slashing_test.go b/validator/rpc/slashing_test.go index 3a980ac4c..cae718778 100644 --- a/validator/rpc/slashing_test.go +++ b/validator/rpc/slashing_test.go @@ -6,14 +6,14 @@ import ( "testing" "github.com/golang/protobuf/ptypes/empty" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/db/kv" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/slashing-protection-history/format" - mocks "github.com/prysmaticlabs/prysm/validator/testing" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history/format" + mocks "github.com/prysmaticlabs/prysm/v3/validator/testing" ) func TestImportSlashingProtection_Preconditions(t *testing.T) { diff --git a/validator/rpc/standard_api.go b/validator/rpc/standard_api.go index 865fc80db..0844067e6 100644 --- a/validator/rpc/standard_api.go +++ b/validator/rpc/standard_api.go @@ -9,15 +9,15 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/golang/protobuf/ptypes/empty" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - validatorServiceConfig "github.com/prysmaticlabs/prysm/config/validator/service" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" - slashingprotection "github.com/prysmaticlabs/prysm/validator/slashing-protection-history" - "github.com/prysmaticlabs/prysm/validator/slashing-protection-history/format" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + validatorServiceConfig "github.com/prysmaticlabs/prysm/v3/config/validator/service" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" + slashingprotection "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history" + "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history/format" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" diff --git a/validator/rpc/standard_api_test.go b/validator/rpc/standard_api_test.go index a6ceda974..f882e4ac4 100644 --- a/validator/rpc/standard_api_test.go +++ b/validator/rpc/standard_api_test.go @@ -12,26 +12,26 @@ import ( "github.com/golang/protobuf/ptypes/empty" "github.com/google/uuid" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - validatorserviceconfig "github.com/prysmaticlabs/prysm/config/validator/service" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - validatorpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - mock "github.com/prysmaticlabs/prysm/validator/accounts/testing" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/client" - "github.com/prysmaticlabs/prysm/validator/db/kv" - "github.com/prysmaticlabs/prysm/validator/keymanager" - "github.com/prysmaticlabs/prysm/validator/keymanager/derived" - remoteweb3signer "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer" - "github.com/prysmaticlabs/prysm/validator/slashing-protection-history/format" - mocks "github.com/prysmaticlabs/prysm/validator/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + validatorserviceconfig "github.com/prysmaticlabs/prysm/v3/config/validator/service" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + validatorpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + mock "github.com/prysmaticlabs/prysm/v3/validator/accounts/testing" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/client" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived" + remoteweb3signer "github.com/prysmaticlabs/prysm/v3/validator/keymanager/remote-web3signer" + "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history/format" + mocks "github.com/prysmaticlabs/prysm/v3/validator/testing" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" "google.golang.org/grpc" ) diff --git a/validator/rpc/wallet.go b/validator/rpc/wallet.go index af5f586f2..03d0e1da9 100644 --- a/validator/rpc/wallet.go +++ b/validator/rpc/wallet.go @@ -9,13 +9,13 @@ import ( "github.com/golang/protobuf/ptypes/empty" "github.com/pkg/errors" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/io/file" - "github.com/prysmaticlabs/prysm/io/prompt" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/io/file" + "github.com/prysmaticlabs/prysm/v3/io/prompt" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" "github.com/tyler-smith/go-bip39" "github.com/tyler-smith/go-bip39/wordlists" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" diff --git a/validator/rpc/wallet_test.go b/validator/rpc/wallet_test.go index faec901f0..afb9fa91c 100644 --- a/validator/rpc/wallet_test.go +++ b/validator/rpc/wallet_test.go @@ -9,21 +9,21 @@ import ( "github.com/golang/protobuf/ptypes/empty" "github.com/google/uuid" - "github.com/prysmaticlabs/prysm/async/event" - "github.com/prysmaticlabs/prysm/config/features" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/io/file" - ethpbservice "github.com/prysmaticlabs/prysm/proto/eth/service" - pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/validator-client" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/accounts" - "github.com/prysmaticlabs/prysm/validator/accounts/iface" - mock "github.com/prysmaticlabs/prysm/validator/accounts/testing" - "github.com/prysmaticlabs/prysm/validator/accounts/wallet" - "github.com/prysmaticlabs/prysm/validator/client" - "github.com/prysmaticlabs/prysm/validator/keymanager" + "github.com/prysmaticlabs/prysm/v3/async/event" + "github.com/prysmaticlabs/prysm/v3/config/features" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/io/file" + ethpbservice "github.com/prysmaticlabs/prysm/v3/proto/eth/service" + pb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/validator-client" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/accounts" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/iface" + mock "github.com/prysmaticlabs/prysm/v3/validator/accounts/testing" + "github.com/prysmaticlabs/prysm/v3/validator/accounts/wallet" + "github.com/prysmaticlabs/prysm/v3/validator/client" + "github.com/prysmaticlabs/prysm/v3/validator/keymanager" "github.com/tyler-smith/go-bip39" keystorev4 "github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4" ) diff --git a/validator/slashing-protection-history/BUILD.bazel b/validator/slashing-protection-history/BUILD.bazel index 2af9dc38e..69a115750 100644 --- a/validator/slashing-protection-history/BUILD.bazel +++ b/validator/slashing-protection-history/BUILD.bazel @@ -9,7 +9,7 @@ go_library( "import.go", "log.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/slashing-protection-history", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history", visibility = [ "//cmd:__subpackages__", "//validator:__subpackages__", diff --git a/validator/slashing-protection-history/export.go b/validator/slashing-protection-history/export.go index 5dc7e3b89..940178134 100644 --- a/validator/slashing-protection-history/export.go +++ b/validator/slashing-protection-history/export.go @@ -8,12 +8,12 @@ import ( "strings" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/monitoring/progress" - "github.com/prysmaticlabs/prysm/validator/db" - "github.com/prysmaticlabs/prysm/validator/slashing-protection-history/format" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/monitoring/progress" + "github.com/prysmaticlabs/prysm/v3/validator/db" + "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history/format" ) // ExportStandardProtectionJSON extracts all slashing protection data from a validator database diff --git a/validator/slashing-protection-history/export_test.go b/validator/slashing-protection-history/export_test.go index 8308131c0..e2acfa054 100644 --- a/validator/slashing-protection-history/export_test.go +++ b/validator/slashing-protection-history/export_test.go @@ -5,12 +5,12 @@ import ( "fmt" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - dbtest "github.com/prysmaticlabs/prysm/validator/db/testing" - "github.com/prysmaticlabs/prysm/validator/slashing-protection-history/format" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + dbtest "github.com/prysmaticlabs/prysm/v3/validator/db/testing" + "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history/format" ) func TestExportStandardProtectionJSON_EmptyGenesisRoot(t *testing.T) { diff --git a/validator/slashing-protection-history/format/BUILD.bazel b/validator/slashing-protection-history/format/BUILD.bazel index 42c4a58ce..df47060f8 100644 --- a/validator/slashing-protection-history/format/BUILD.bazel +++ b/validator/slashing-protection-history/format/BUILD.bazel @@ -3,6 +3,6 @@ load("@prysm//tools/go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["format.go"], - importpath = "github.com/prysmaticlabs/prysm/validator/slashing-protection-history/format", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history/format", visibility = ["//visibility:public"], ) diff --git a/validator/slashing-protection-history/helpers.go b/validator/slashing-protection-history/helpers.go index 14b9b24e6..af26b28f0 100644 --- a/validator/slashing-protection-history/helpers.go +++ b/validator/slashing-protection-history/helpers.go @@ -7,8 +7,8 @@ import ( "strings" "github.com/k0kubun/go-ansi" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" "github.com/schollz/progressbar/v3" ) diff --git a/validator/slashing-protection-history/helpers_test.go b/validator/slashing-protection-history/helpers_test.go index 9e893fa4f..383c17ea7 100644 --- a/validator/slashing-protection-history/helpers_test.go +++ b/validator/slashing-protection-history/helpers_test.go @@ -6,8 +6,8 @@ import ( "reflect" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" ) func Test_uint64FromString(t *testing.T) { diff --git a/validator/slashing-protection-history/import.go b/validator/slashing-protection-history/import.go index d16a6c2f3..ebe2380ad 100644 --- a/validator/slashing-protection-history/import.go +++ b/validator/slashing-protection-history/import.go @@ -8,14 +8,14 @@ import ( "io" "github.com/pkg/errors" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/slashings" - "github.com/prysmaticlabs/prysm/validator/db" - "github.com/prysmaticlabs/prysm/validator/db/kv" - "github.com/prysmaticlabs/prysm/validator/slashing-protection-history/format" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1/slashings" + "github.com/prysmaticlabs/prysm/v3/validator/db" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" + "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history/format" ) // ImportStandardProtectionJSON takes in EIP-3076 compliant JSON file used for slashing protection diff --git a/validator/slashing-protection-history/import_test.go b/validator/slashing-protection-history/import_test.go index b12de5fc5..ebb2a38b3 100644 --- a/validator/slashing-protection-history/import_test.go +++ b/validator/slashing-protection-history/import_test.go @@ -9,15 +9,15 @@ import ( "reflect" "testing" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/db/kv" - dbtest "github.com/prysmaticlabs/prysm/validator/db/testing" - "github.com/prysmaticlabs/prysm/validator/slashing-protection-history/format" - valtest "github.com/prysmaticlabs/prysm/validator/testing" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + ethpb "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" + dbtest "github.com/prysmaticlabs/prysm/v3/validator/db/testing" + "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history/format" + valtest "github.com/prysmaticlabs/prysm/v3/validator/testing" logTest "github.com/sirupsen/logrus/hooks/test" ) diff --git a/validator/slashing-protection-history/round_trip_test.go b/validator/slashing-protection-history/round_trip_test.go index 541f5f6c2..1987abbd7 100644 --- a/validator/slashing-protection-history/round_trip_test.go +++ b/validator/slashing-protection-history/round_trip_test.go @@ -7,14 +7,14 @@ import ( "fmt" "testing" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/testing/assert" - "github.com/prysmaticlabs/prysm/testing/require" - "github.com/prysmaticlabs/prysm/validator/db/kv" - dbtest "github.com/prysmaticlabs/prysm/validator/db/testing" - history "github.com/prysmaticlabs/prysm/validator/slashing-protection-history" - "github.com/prysmaticlabs/prysm/validator/slashing-protection-history/format" - slashtest "github.com/prysmaticlabs/prysm/validator/testing" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/require" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" + dbtest "github.com/prysmaticlabs/prysm/v3/validator/db/testing" + history "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history" + "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history/format" + slashtest "github.com/prysmaticlabs/prysm/v3/validator/testing" ) func TestImportExport_RoundTrip(t *testing.T) { diff --git a/validator/testing/BUILD.bazel b/validator/testing/BUILD.bazel index dfa0cb380..966e0d196 100644 --- a/validator/testing/BUILD.bazel +++ b/validator/testing/BUILD.bazel @@ -9,7 +9,7 @@ go_library( "mock_slasher.go", "protection_history.go", ], - importpath = "github.com/prysmaticlabs/prysm/validator/testing", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/testing", visibility = [ "//cmd:__subpackages__", "//validator:__subpackages__", diff --git a/validator/testing/mock_protector.go b/validator/testing/mock_protector.go index ff55463a7..5e7431eb4 100644 --- a/validator/testing/mock_protector.go +++ b/validator/testing/mock_protector.go @@ -3,7 +3,7 @@ package testing import ( "context" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" ) // MockProtector mocks the protector. diff --git a/validator/testing/mock_slasher.go b/validator/testing/mock_slasher.go index c200f7a71..180a0f39a 100644 --- a/validator/testing/mock_slasher.go +++ b/validator/testing/mock_slasher.go @@ -4,7 +4,7 @@ import ( "context" "errors" - eth "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1" + eth "github.com/prysmaticlabs/prysm/v3/proto/prysm/v1alpha1" "google.golang.org/grpc" "google.golang.org/protobuf/proto" ) diff --git a/validator/testing/protection_history.go b/validator/testing/protection_history.go index 607a4462c..675681eb4 100644 --- a/validator/testing/protection_history.go +++ b/validator/testing/protection_history.go @@ -3,14 +3,14 @@ package testing import ( "fmt" - fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams" - "github.com/prysmaticlabs/prysm/config/params" - types "github.com/prysmaticlabs/prysm/consensus-types/primitives" - "github.com/prysmaticlabs/prysm/crypto/bls" - "github.com/prysmaticlabs/prysm/crypto/rand" - "github.com/prysmaticlabs/prysm/encoding/bytesutil" - "github.com/prysmaticlabs/prysm/validator/db/kv" - "github.com/prysmaticlabs/prysm/validator/slashing-protection-history/format" + fieldparams "github.com/prysmaticlabs/prysm/v3/config/fieldparams" + "github.com/prysmaticlabs/prysm/v3/config/params" + types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives" + "github.com/prysmaticlabs/prysm/v3/crypto/bls" + "github.com/prysmaticlabs/prysm/v3/crypto/rand" + "github.com/prysmaticlabs/prysm/v3/encoding/bytesutil" + "github.com/prysmaticlabs/prysm/v3/validator/db/kv" + "github.com/prysmaticlabs/prysm/v3/validator/slashing-protection-history/format" ) // MockSlashingProtectionJSON creates a mock, full slashing protection JSON struct diff --git a/validator/web/BUILD.bazel b/validator/web/BUILD.bazel index 0926ea59c..4f4e7cfb7 100644 --- a/validator/web/BUILD.bazel +++ b/validator/web/BUILD.bazel @@ -12,7 +12,7 @@ go_library( "headers.go", ":site_data", # keep ], - importpath = "github.com/prysmaticlabs/prysm/validator/web", + importpath = "github.com/prysmaticlabs/prysm/v3/validator/web", visibility = [ "//api/gateway:__pkg__", "//validator:__subpackages__", diff --git a/validator/web/handler_test.go b/validator/web/handler_test.go index 14ed59d9b..883dbeb1c 100644 --- a/validator/web/handler_test.go +++ b/validator/web/handler_test.go @@ -5,7 +5,7 @@ import ( "net/http/httptest" "testing" - "github.com/prysmaticlabs/prysm/testing/assert" + "github.com/prysmaticlabs/prysm/v3/testing/assert" ) func TestHandler(t *testing.T) {