upgrade v6 to v7 (#15989)

* upgrade v6 to v7

* changelog

* update-go-ssz
This commit is contained in:
Bastin
2025-11-06 17:16:23 +01:00
committed by GitHub
parent d6005026e0
commit 92bd211e4d
3030 changed files with 15365 additions and 15362 deletions

View File

@@ -11,7 +11,7 @@ name = "go"
enabled = true enabled = true
[analyzers.meta] [analyzers.meta]
import_paths = ["github.com/OffchainLabs/prysm/v6"] import_paths = ["github.com/OffchainLabs/prysm/v7"]
[[analyzers]] [[analyzers]]
name = "test-coverage" name = "test-coverage"

View File

@@ -12,7 +12,7 @@ exports_files([
"LICENSE.md", "LICENSE.md",
]) ])
# gazelle:prefix github.com/OffchainLabs/prysm/v6 # gazelle:prefix github.com/OffchainLabs/prysm/v7
# gazelle:map_kind go_library go_library @prysm//tools/go:def.bzl # 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_test go_test @prysm//tools/go:def.bzl
# gazelle:map_kind go_repository go_repository @prysm//tools/go:def.bzl # gazelle:map_kind go_repository go_repository @prysm//tools/go:def.bzl

View File

@@ -7,7 +7,7 @@ go_library(
"headers.go", "headers.go",
"jwt.go", "jwt.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/api", importpath = "github.com/OffchainLabs/prysm/v7/api",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//crypto/rand:go_default_library", "//crypto/rand:go_default_library",

View File

@@ -6,7 +6,7 @@ go_library(
"common.go", "common.go",
"header.go", "header.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/api/apiutil", importpath = "github.com/OffchainLabs/prysm/v7/api/apiutil",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//consensus-types/primitives:go_default_library", "//consensus-types/primitives:go_default_library",

View File

@@ -5,7 +5,7 @@ import (
neturl "net/url" neturl "net/url"
"strconv" "strconv"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
) )
// Uint64ToString is a util function that will convert uints to string // Uint64ToString is a util function that will convert uints to string

View File

@@ -4,8 +4,8 @@ import (
"net/url" "net/url"
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
) )
func TestBeaconApiHelpers_TestUint64ToString(t *testing.T) { func TestBeaconApiHelpers_TestUint64ToString(t *testing.T) {

View File

@@ -3,7 +3,7 @@ package apiutil
import ( import (
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
) )
func TestParseAccept(t *testing.T) { func TestParseAccept(t *testing.T) {

View File

@@ -8,7 +8,7 @@ go_library(
"options.go", "options.go",
"transport.go", "transport.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/api/client", importpath = "github.com/OffchainLabs/prysm/v7/api/client",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = ["@com_github_pkg_errors//:go_default_library"], deps = ["@com_github_pkg_errors//:go_default_library"],
) )

View File

@@ -8,7 +8,7 @@ go_library(
"log.go", "log.go",
"template.go", "template.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/api/client/beacon", importpath = "github.com/OffchainLabs/prysm/v7/api/client/beacon",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//api/client:go_default_library", "//api/client:go_default_library",

View File

@@ -11,12 +11,12 @@ import (
"regexp" "regexp"
"strconv" "strconv"
"github.com/OffchainLabs/prysm/v6/api/client" "github.com/OffchainLabs/prysm/v7/api/client"
"github.com/OffchainLabs/prysm/v6/api/server" "github.com/OffchainLabs/prysm/v7/api/server"
"github.com/OffchainLabs/prysm/v6/api/server/structs" "github.com/OffchainLabs/prysm/v7/api/server/structs"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"

View File

@@ -4,8 +4,8 @@ import (
"net/url" "net/url"
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/api/client" "github.com/OffchainLabs/prysm/v7/api/client"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
) )
func TestParseNodeVersion(t *testing.T) { func TestParseNodeVersion(t *testing.T) {

View File

@@ -8,7 +8,7 @@ go_library(
"errors.go", "errors.go",
"types.go", "types.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/api/client/builder", importpath = "github.com/OffchainLabs/prysm/v7/api/client/builder",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//api:go_default_library", "//api:go_default_library",

View File

@@ -1,13 +1,13 @@
package builder package builder
import ( import (
consensus_types "github.com/OffchainLabs/prysm/v6/consensus-types" consensus_types "github.com/OffchainLabs/prysm/v7/consensus-types"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
v1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" v1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/runtime/version" "github.com/OffchainLabs/prysm/v7/runtime/version"
ssz "github.com/prysmaticlabs/fastssz" ssz "github.com/prysmaticlabs/fastssz"
) )

View File

@@ -12,18 +12,18 @@ import (
"strings" "strings"
"text/template" "text/template"
"github.com/OffchainLabs/prysm/v6/api" "github.com/OffchainLabs/prysm/v7/api"
"github.com/OffchainLabs/prysm/v6/api/client" "github.com/OffchainLabs/prysm/v7/api/client"
"github.com/OffchainLabs/prysm/v6/api/server/structs" "github.com/OffchainLabs/prysm/v7/api/server/structs"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/monitoring/tracing" "github.com/OffchainLabs/prysm/v7/monitoring/tracing"
"github.com/OffchainLabs/prysm/v6/monitoring/tracing/trace" "github.com/OffchainLabs/prysm/v7/monitoring/tracing/trace"
v1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" v1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/runtime/version" "github.com/OffchainLabs/prysm/v7/runtime/version"
"github.com/pkg/errors" "github.com/pkg/errors"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"

View File

@@ -11,18 +11,18 @@ import (
"testing" "testing"
"github.com/OffchainLabs/go-bitfield" "github.com/OffchainLabs/go-bitfield"
"github.com/OffchainLabs/prysm/v6/api" "github.com/OffchainLabs/prysm/v7/api"
"github.com/OffchainLabs/prysm/v6/api/server/structs" "github.com/OffchainLabs/prysm/v7/api/server/structs"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
v1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" v1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
eth "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" eth "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/OffchainLabs/prysm/v6/testing/util" "github.com/OffchainLabs/prysm/v7/testing/util"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View File

@@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library")
go_library( go_library(
name = "go_default_library", name = "go_default_library",
srcs = ["mock.go"], srcs = ["mock.go"],
importpath = "github.com/OffchainLabs/prysm/v6/api/client/builder/testing", importpath = "github.com/OffchainLabs/prysm/v7/api/client/builder/testing",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//api/client/builder:go_default_library", "//api/client/builder:go_default_library",

View File

@@ -3,12 +3,12 @@ package testing
import ( import (
"context" "context"
"github.com/OffchainLabs/prysm/v6/api/client/builder" "github.com/OffchainLabs/prysm/v7/api/client/builder"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
v1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" v1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
) )
// MockClient is a mock implementation of BuilderClient. // MockClient is a mock implementation of BuilderClient.

View File

@@ -7,16 +7,16 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/OffchainLabs/prysm/v6/api/server/structs" "github.com/OffchainLabs/prysm/v7/api/server/structs"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams" fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
consensusblocks "github.com/OffchainLabs/prysm/v6/consensus-types/blocks" consensusblocks "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
types "github.com/OffchainLabs/prysm/v6/consensus-types/primitives" types "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
"github.com/OffchainLabs/prysm/v6/math" "github.com/OffchainLabs/prysm/v7/math"
v1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" v1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
eth "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" eth "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/runtime/version" "github.com/OffchainLabs/prysm/v7/runtime/version"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/pkg/errors" "github.com/pkg/errors"
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"

View File

@@ -12,15 +12,15 @@ import (
"testing" "testing"
"github.com/OffchainLabs/go-bitfield" "github.com/OffchainLabs/go-bitfield"
"github.com/OffchainLabs/prysm/v6/api/server/structs" "github.com/OffchainLabs/prysm/v7/api/server/structs"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams" fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
consensusblocks "github.com/OffchainLabs/prysm/v6/consensus-types/blocks" consensusblocks "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/math" "github.com/OffchainLabs/prysm/v7/math"
v1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" v1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
eth "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" eth "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/runtime/version" "github.com/OffchainLabs/prysm/v7/runtime/version"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -4,7 +4,7 @@ import (
"net/url" "net/url"
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
) )
func TestValidHostname(t *testing.T) { func TestValidHostname(t *testing.T) {

View File

@@ -6,7 +6,7 @@ go_library(
"event_stream.go", "event_stream.go",
"utils.go", "utils.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/api/client/event", importpath = "github.com/OffchainLabs/prysm/v7/api/client/event",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//api:go_default_library", "//api:go_default_library",

View File

@@ -7,8 +7,8 @@ import (
"net/url" "net/url"
"strings" "strings"
"github.com/OffchainLabs/prysm/v6/api" "github.com/OffchainLabs/prysm/v7/api"
"github.com/OffchainLabs/prysm/v6/api/client" "github.com/OffchainLabs/prysm/v7/api/client"
"github.com/pkg/errors" "github.com/pkg/errors"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View File

@@ -7,7 +7,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View File

@@ -5,7 +5,7 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
) )
func TestScanLinesWithCarriage(t *testing.T) { func TestScanLinesWithCarriage(t *testing.T) {

View File

@@ -5,8 +5,8 @@ import (
"net/http/httptest" "net/http/httptest"
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
) )
type noopTransport struct{} type noopTransport struct{}

View File

@@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library")
go_library( go_library(
name = "go_default_library", name = "go_default_library",
srcs = ["client.go"], srcs = ["client.go"],
importpath = "github.com/OffchainLabs/prysm/v6/api/client/validator", importpath = "github.com/OffchainLabs/prysm/v7/api/client/validator",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//api/client:go_default_library", "//api/client:go_default_library",

View File

@@ -6,8 +6,8 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/OffchainLabs/prysm/v6/api/client" "github.com/OffchainLabs/prysm/v7/api/client"
"github.com/OffchainLabs/prysm/v6/validator/rpc" "github.com/OffchainLabs/prysm/v7/validator/rpc"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -6,7 +6,7 @@ go_library(
"grpcutils.go", "grpcutils.go",
"parameters.go", "parameters.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/api/grpc", importpath = "github.com/OffchainLabs/prysm/v7/api/grpc",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"@com_github_sirupsen_logrus//:go_default_library", "@com_github_sirupsen_logrus//:go_default_library",

View File

@@ -3,8 +3,8 @@ package grpc
import ( import (
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
logTest "github.com/sirupsen/logrus/hooks/test" logTest "github.com/sirupsen/logrus/hooks/test"
"google.golang.org/grpc/metadata" "google.golang.org/grpc/metadata"
) )

View File

@@ -1,7 +1,7 @@
package api package api
import ( import (
"github.com/OffchainLabs/prysm/v6/crypto/rand" "github.com/OffchainLabs/prysm/v7/crypto/rand"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -3,7 +3,7 @@ package api
import ( import (
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
) )
func TestGenerateRandomHexString(t *testing.T) { func TestGenerateRandomHexString(t *testing.T) {

View File

@@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library( go_library(
name = "go_default_library", name = "go_default_library",
srcs = ["pagination.go"], srcs = ["pagination.go"],
importpath = "github.com/OffchainLabs/prysm/v6/api/pagination", importpath = "github.com/OffchainLabs/prysm/v7/api/pagination",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//config/params:go_default_library", "//config/params:go_default_library",

View File

@@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -3,9 +3,9 @@ package pagination_test
import ( import (
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/api/pagination" "github.com/OffchainLabs/prysm/v7/api/pagination"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
) )
func TestStartAndEndPage(t *testing.T) { func TestStartAndEndPage(t *testing.T) {

View File

@@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library( go_library(
name = "go_default_library", name = "go_default_library",
srcs = ["error.go"], srcs = ["error.go"],
importpath = "github.com/OffchainLabs/prysm/v6/api/server", importpath = "github.com/OffchainLabs/prysm/v7/api/server",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
) )

View File

@@ -4,7 +4,7 @@ import (
"errors" "errors"
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
) )
func TestDecodeError(t *testing.T) { func TestDecodeError(t *testing.T) {

View File

@@ -7,7 +7,7 @@ go_library(
"options.go", "options.go",
"server.go", "server.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/api/server/httprest", importpath = "github.com/OffchainLabs/prysm/v7/api/server/httprest",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//api/server/middleware:go_default_library", "//api/server/middleware:go_default_library",

View File

@@ -4,7 +4,7 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/OffchainLabs/prysm/v6/api/server/middleware" "github.com/OffchainLabs/prysm/v7/api/server/middleware"
) )
// Option is a http rest server functional parameter type. // Option is a http rest server functional parameter type.

View File

@@ -5,8 +5,8 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/OffchainLabs/prysm/v6/api/server/middleware" "github.com/OffchainLabs/prysm/v7/api/server/middleware"
"github.com/OffchainLabs/prysm/v6/runtime" "github.com/OffchainLabs/prysm/v7/runtime"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -9,9 +9,9 @@ import (
"net/url" "net/url"
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/cmd/beacon-chain/flags" "github.com/OffchainLabs/prysm/v7/cmd/beacon-chain/flags"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
logTest "github.com/sirupsen/logrus/hooks/test" logTest "github.com/sirupsen/logrus/hooks/test"
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
) )

View File

@@ -6,7 +6,7 @@ go_library(
"middleware.go", "middleware.go",
"util.go", "util.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/api/server/middleware", importpath = "github.com/OffchainLabs/prysm/v7/api/server/middleware",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//api:go_default_library", "//api:go_default_library",

View File

@@ -6,8 +6,8 @@ import (
"net/http" "net/http"
"strings" "strings"
"github.com/OffchainLabs/prysm/v6/api" "github.com/OffchainLabs/prysm/v7/api"
"github.com/OffchainLabs/prysm/v6/api/apiutil" "github.com/OffchainLabs/prysm/v7/api/apiutil"
"github.com/rs/cors" "github.com/rs/cors"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View File

@@ -8,8 +8,8 @@ import (
"net/http/httptest" "net/http/httptest"
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/api" "github.com/OffchainLabs/prysm/v7/api"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View File

@@ -3,8 +3,8 @@ package middleware
import ( import (
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
) )
func TestNormalizeQueryValues(t *testing.T) { func TestNormalizeQueryValues(t *testing.T) {

View File

@@ -23,7 +23,7 @@ go_library(
"other.go", "other.go",
"state.go", "state.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/api/server/structs", importpath = "github.com/OffchainLabs/prysm/v7/api/server/structs",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//api/server:go_default_library", "//api/server:go_default_library",

View File

@@ -4,18 +4,18 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"github.com/OffchainLabs/prysm/v6/api/server" "github.com/OffchainLabs/prysm/v7/api/server"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams" fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/consensus-types/validator" "github.com/OffchainLabs/prysm/v7/consensus-types/validator"
"github.com/OffchainLabs/prysm/v6/container/slice" "github.com/OffchainLabs/prysm/v7/container/slice"
"github.com/OffchainLabs/prysm/v6/crypto/bls" "github.com/OffchainLabs/prysm/v7/crypto/bls"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
"github.com/OffchainLabs/prysm/v6/math" "github.com/OffchainLabs/prysm/v7/math"
enginev1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" enginev1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
ethv1 "github.com/OffchainLabs/prysm/v6/proto/eth/v1" ethv1 "github.com/OffchainLabs/prysm/v7/proto/eth/v1"
eth "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" eth "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/pkg/errors" "github.com/pkg/errors"

View File

@@ -3,9 +3,9 @@ package structs
import ( import (
"strconv" "strconv"
"github.com/OffchainLabs/prysm/v6/api/server" "github.com/OffchainLabs/prysm/v7/api/server"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
eth "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" eth "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
) )
func (sc *Sidecar) ToConsensus() (*eth.BlobSidecar, error) { func (sc *Sidecar) ToConsensus() (*eth.BlobSidecar, error) {

View File

@@ -4,14 +4,14 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"github.com/OffchainLabs/prysm/v6/api/server" "github.com/OffchainLabs/prysm/v7/api/server"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams" fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/container/slice" "github.com/OffchainLabs/prysm/v7/container/slice"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
enginev1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" enginev1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
eth "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" eth "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/pkg/errors" "github.com/pkg/errors"

View File

@@ -4,14 +4,14 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"github.com/OffchainLabs/prysm/v6/api/server" "github.com/OffchainLabs/prysm/v7/api/server"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams" fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
consensusblocks "github.com/OffchainLabs/prysm/v6/consensus-types/blocks" consensusblocks "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/container/slice" "github.com/OffchainLabs/prysm/v7/container/slice"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
enginev1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" enginev1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/pkg/errors" "github.com/pkg/errors"

View File

@@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"testing" "testing"
enginev1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" enginev1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
) )

View File

@@ -4,9 +4,9 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
enginev1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" enginev1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
"github.com/OffchainLabs/prysm/v6/runtime/version" "github.com/OffchainLabs/prysm/v7/runtime/version"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -4,8 +4,8 @@ import (
"errors" "errors"
"fmt" "fmt"
beaconState "github.com/OffchainLabs/prysm/v6/beacon-chain/state" beaconState "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
enginev1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" enginev1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
) )

View File

@@ -3,9 +3,9 @@ package structs
import ( import (
"testing" "testing"
eth "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" eth "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
) )

View File

@@ -3,7 +3,7 @@ package structs
import ( import (
"encoding/json" "encoding/json"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
) )
type AggregateAttestationResponse struct { type AggregateAttestationResponse struct {

View File

@@ -8,7 +8,7 @@ go_library(
"multilock.go", "multilock.go",
"scatter.go", "scatter.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/async", importpath = "github.com/OffchainLabs/prysm/v7/async",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = ["@com_github_sirupsen_logrus//:go_default_library"], deps = ["@com_github_sirupsen_logrus//:go_default_library"],
) )

View File

@@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library( go_library(
name = "go_default_library", name = "go_default_library",
srcs = ["abool.go"], srcs = ["abool.go"],
importpath = "github.com/OffchainLabs/prysm/v6/async/abool", importpath = "github.com/OffchainLabs/prysm/v7/async/abool",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
) )

View File

@@ -6,8 +6,8 @@ import (
"sync" "sync"
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/async" "github.com/OffchainLabs/prysm/v7/async"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View File

@@ -7,10 +7,10 @@ import (
"testing" "testing"
"time" "time"
"github.com/OffchainLabs/prysm/v6/async" "github.com/OffchainLabs/prysm/v7/async"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/OffchainLabs/prysm/v6/testing/util" "github.com/OffchainLabs/prysm/v7/testing/util"
) )
func TestDebounce_NoEvents(t *testing.T) { func TestDebounce_NoEvents(t *testing.T) {

View File

@@ -7,7 +7,7 @@ go_library(
"interface.go", "interface.go",
"subscription.go", "subscription.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/async/event", importpath = "github.com/OffchainLabs/prysm/v7/async/event",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//time/mclock:go_default_library", "//time/mclock:go_default_library",

View File

@@ -20,7 +20,7 @@ import (
"fmt" "fmt"
"sync" "sync"
"github.com/OffchainLabs/prysm/v6/async/event" "github.com/OffchainLabs/prysm/v7/async/event"
) )
// This example demonstrates how SubscriptionScope can be used to control the lifetime of // This example demonstrates how SubscriptionScope can be used to control the lifetime of

View File

@@ -19,7 +19,7 @@ package event_test
import ( import (
"fmt" "fmt"
"github.com/OffchainLabs/prysm/v6/async/event" "github.com/OffchainLabs/prysm/v7/async/event"
) )
func ExampleNewSubscription() { func ExampleNewSubscription() {

View File

@@ -21,7 +21,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/OffchainLabs/prysm/v6/time/mclock" "github.com/OffchainLabs/prysm/v7/time/mclock"
) )
// waitQuotient is divided against the max backoff time, in order to have N requests based on the full // waitQuotient is divided against the max backoff time, in order to have N requests based on the full

View File

@@ -23,7 +23,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
) )
var errInts = errors.New("error in subscribeInts") var errInts = errors.New("error in subscribeInts")

View File

@@ -6,7 +6,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/OffchainLabs/prysm/v6/async" "github.com/OffchainLabs/prysm/v7/async"
) )
func TestEveryRuns(t *testing.T) { func TestEveryRuns(t *testing.T) {

View File

@@ -5,9 +5,9 @@ import (
"sync" "sync"
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/async" "github.com/OffchainLabs/prysm/v7/async"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
) )
func TestDouble(t *testing.T) { func TestDouble(t *testing.T) {

View File

@@ -31,7 +31,7 @@ go_library(
"tracked_proposer.go", "tracked_proposer.go",
"weak_subjectivity_checks.go", "weak_subjectivity_checks.go",
], ],
importpath = "github.com/OffchainLabs/prysm/v6/beacon-chain/blockchain", importpath = "github.com/OffchainLabs/prysm/v7/beacon-chain/blockchain",
visibility = [ visibility = [
"//beacon-chain:__subpackages__", "//beacon-chain:__subpackages__",
"//cmd/beacon-chain:__subpackages__", "//cmd/beacon-chain:__subpackages__",

View File

@@ -5,20 +5,20 @@ import (
"context" "context"
"time" "time"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/helpers" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/helpers"
f "github.com/OffchainLabs/prysm/v6/beacon-chain/forkchoice" f "github.com/OffchainLabs/prysm/v7/beacon-chain/forkchoice"
doublylinkedtree "github.com/OffchainLabs/prysm/v6/beacon-chain/forkchoice/doubly-linked-tree" doublylinkedtree "github.com/OffchainLabs/prysm/v7/beacon-chain/forkchoice/doubly-linked-tree"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams" fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
consensus_blocks "github.com/OffchainLabs/prysm/v6/consensus-types/blocks" consensus_blocks "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/forkchoice" "github.com/OffchainLabs/prysm/v7/consensus-types/forkchoice"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
"github.com/OffchainLabs/prysm/v6/monitoring/tracing/trace" "github.com/OffchainLabs/prysm/v7/monitoring/tracing/trace"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -4,12 +4,12 @@ import (
"context" "context"
"time" "time"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
consensus_blocks "github.com/OffchainLabs/prysm/v6/consensus-types/blocks" consensus_blocks "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/forkchoice" "github.com/OffchainLabs/prysm/v7/consensus-types/forkchoice"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
"github.com/OffchainLabs/prysm/v6/runtime/version" "github.com/OffchainLabs/prysm/v7/runtime/version"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -3,11 +3,11 @@ package blockchain
import ( import (
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/OffchainLabs/prysm/v6/testing/util" "github.com/OffchainLabs/prysm/v7/testing/util"
) )
func TestHeadSlot_DataRace(t *testing.T) { func TestHeadSlot_DataRace(t *testing.T) {

View File

@@ -5,21 +5,21 @@ import (
"testing" "testing"
"time" "time"
testDB "github.com/OffchainLabs/prysm/v6/beacon-chain/db/testing" testDB "github.com/OffchainLabs/prysm/v7/beacon-chain/db/testing"
forkchoicetypes "github.com/OffchainLabs/prysm/v6/beacon-chain/forkchoice/types" forkchoicetypes "github.com/OffchainLabs/prysm/v7/beacon-chain/forkchoice/types"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
state_native "github.com/OffchainLabs/prysm/v6/beacon-chain/state/state-native" state_native "github.com/OffchainLabs/prysm/v7/beacon-chain/state/state-native"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams" fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
"github.com/OffchainLabs/prysm/v6/genesis" "github.com/OffchainLabs/prysm/v7/genesis"
enginev1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" enginev1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/OffchainLabs/prysm/v6/testing/util" "github.com/OffchainLabs/prysm/v7/testing/util"
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"
) )

View File

@@ -1,8 +1,8 @@
package blockchain package blockchain
import ( import (
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
"github.com/OffchainLabs/prysm/v6/time" "github.com/OffchainLabs/prysm/v7/time"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto" "github.com/prometheus/client_golang/prometheus/promauto"
) )

View File

@@ -3,7 +3,7 @@ package blockchain
import ( import (
stderrors "errors" stderrors "errors"
"github.com/OffchainLabs/prysm/v6/beacon-chain/verification" "github.com/OffchainLabs/prysm/v7/beacon-chain/verification"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -3,8 +3,8 @@ package blockchain
import ( import (
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/beacon-chain/verification" "github.com/OffchainLabs/prysm/v7/beacon-chain/verification"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -4,27 +4,27 @@ import (
"context" "context"
"fmt" "fmt"
"github.com/OffchainLabs/prysm/v6/async/event" "github.com/OffchainLabs/prysm/v7/async/event"
"github.com/OffchainLabs/prysm/v6/beacon-chain/cache" "github.com/OffchainLabs/prysm/v7/beacon-chain/cache"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/blocks" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/blocks"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/feed" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/feed"
statefeed "github.com/OffchainLabs/prysm/v6/beacon-chain/core/feed/state" statefeed "github.com/OffchainLabs/prysm/v7/beacon-chain/core/feed/state"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/helpers" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/helpers"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/time" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/time"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/transition" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/transition"
"github.com/OffchainLabs/prysm/v6/beacon-chain/execution" "github.com/OffchainLabs/prysm/v7/beacon-chain/execution"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
"github.com/OffchainLabs/prysm/v6/config/features" "github.com/OffchainLabs/prysm/v7/config/features"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
blocktypes "github.com/OffchainLabs/prysm/v6/consensus-types/blocks" blocktypes "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
payloadattribute "github.com/OffchainLabs/prysm/v6/consensus-types/payload-attribute" payloadattribute "github.com/OffchainLabs/prysm/v7/consensus-types/payload-attribute"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
"github.com/OffchainLabs/prysm/v6/monitoring/tracing/trace" "github.com/OffchainLabs/prysm/v7/monitoring/tracing/trace"
enginev1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" enginev1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
"github.com/OffchainLabs/prysm/v6/runtime/version" "github.com/OffchainLabs/prysm/v7/runtime/version"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"

View File

@@ -5,26 +5,26 @@ import (
"testing" "testing"
"time" "time"
"github.com/OffchainLabs/prysm/v6/beacon-chain/cache" "github.com/OffchainLabs/prysm/v7/beacon-chain/cache"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/blocks" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/blocks"
"github.com/OffchainLabs/prysm/v6/beacon-chain/execution" "github.com/OffchainLabs/prysm/v7/beacon-chain/execution"
mockExecution "github.com/OffchainLabs/prysm/v6/beacon-chain/execution/testing" mockExecution "github.com/OffchainLabs/prysm/v7/beacon-chain/execution/testing"
forkchoicetypes "github.com/OffchainLabs/prysm/v6/beacon-chain/forkchoice/types" forkchoicetypes "github.com/OffchainLabs/prysm/v7/beacon-chain/forkchoice/types"
bstate "github.com/OffchainLabs/prysm/v6/beacon-chain/state" bstate "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
state_native "github.com/OffchainLabs/prysm/v6/beacon-chain/state/state-native" state_native "github.com/OffchainLabs/prysm/v7/beacon-chain/state/state-native"
"github.com/OffchainLabs/prysm/v6/config/features" "github.com/OffchainLabs/prysm/v7/config/features"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams" fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
consensusblocks "github.com/OffchainLabs/prysm/v6/consensus-types/blocks" consensusblocks "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
"github.com/OffchainLabs/prysm/v6/genesis" "github.com/OffchainLabs/prysm/v7/genesis"
v1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" v1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/OffchainLabs/prysm/v6/testing/util" "github.com/OffchainLabs/prysm/v7/testing/util"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
gethtypes "github.com/ethereum/go-ethereum/core/types" gethtypes "github.com/ethereum/go-ethereum/core/types"
) )

View File

@@ -5,14 +5,14 @@ import (
"fmt" "fmt"
"time" "time"
doublylinkedtree "github.com/OffchainLabs/prysm/v6/beacon-chain/forkchoice/doubly-linked-tree" doublylinkedtree "github.com/OffchainLabs/prysm/v7/beacon-chain/forkchoice/doubly-linked-tree"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
payloadattribute "github.com/OffchainLabs/prysm/v6/consensus-types/payload-attribute" payloadattribute "github.com/OffchainLabs/prysm/v7/consensus-types/payload-attribute"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/monitoring/tracing/trace" "github.com/OffchainLabs/prysm/v7/monitoring/tracing/trace"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

View File

@@ -4,15 +4,15 @@ import (
"testing" "testing"
"time" "time"
"github.com/OffchainLabs/prysm/v6/beacon-chain/cache" "github.com/OffchainLabs/prysm/v7/beacon-chain/cache"
testDB "github.com/OffchainLabs/prysm/v6/beacon-chain/db/testing" testDB "github.com/OffchainLabs/prysm/v7/beacon-chain/db/testing"
mockExecution "github.com/OffchainLabs/prysm/v6/beacon-chain/execution/testing" mockExecution "github.com/OffchainLabs/prysm/v7/beacon-chain/execution/testing"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/OffchainLabs/prysm/v6/testing/util" "github.com/OffchainLabs/prysm/v7/testing/util"
logTest "github.com/sirupsen/logrus/hooks/test" logTest "github.com/sirupsen/logrus/hooks/test"
) )

View File

@@ -5,21 +5,21 @@ import (
"context" "context"
"fmt" "fmt"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/feed" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/feed"
statefeed "github.com/OffchainLabs/prysm/v6/beacon-chain/core/feed/state" statefeed "github.com/OffchainLabs/prysm/v7/beacon-chain/core/feed/state"
"github.com/OffchainLabs/prysm/v6/beacon-chain/forkchoice" "github.com/OffchainLabs/prysm/v7/beacon-chain/forkchoice"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
"github.com/OffchainLabs/prysm/v6/config/features" "github.com/OffchainLabs/prysm/v7/config/features"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams" fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
"github.com/OffchainLabs/prysm/v6/monitoring/tracing/trace" "github.com/OffchainLabs/prysm/v7/monitoring/tracing/trace"
ethpbv1 "github.com/OffchainLabs/prysm/v6/proto/eth/v1" ethpbv1 "github.com/OffchainLabs/prysm/v7/proto/eth/v1"
"github.com/OffchainLabs/prysm/v6/runtime/version" "github.com/OffchainLabs/prysm/v7/runtime/version"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

View File

@@ -4,17 +4,17 @@ import (
"context" "context"
"fmt" "fmt"
"github.com/OffchainLabs/prysm/v6/async" "github.com/OffchainLabs/prysm/v7/async"
"github.com/OffchainLabs/prysm/v6/beacon-chain/cache" "github.com/OffchainLabs/prysm/v7/beacon-chain/cache"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/altair" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/altair"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/helpers" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/helpers"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/signing" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/signing"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/transition" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/transition"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -3,13 +3,13 @@ package blockchain
import ( import (
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/beacon-chain/cache" "github.com/OffchainLabs/prysm/v7/beacon-chain/cache"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/signing" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/signing"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/OffchainLabs/prysm/v6/testing/util" "github.com/OffchainLabs/prysm/v7/testing/util"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
) )
func TestService_HeadSyncCommitteeIndices(t *testing.T) { func TestService_HeadSyncCommitteeIndices(t *testing.T) {

View File

@@ -7,20 +7,20 @@ import (
"testing" "testing"
"time" "time"
mock "github.com/OffchainLabs/prysm/v6/beacon-chain/blockchain/testing" mock "github.com/OffchainLabs/prysm/v7/beacon-chain/blockchain/testing"
testDB "github.com/OffchainLabs/prysm/v6/beacon-chain/db/testing" testDB "github.com/OffchainLabs/prysm/v7/beacon-chain/db/testing"
forkchoicetypes "github.com/OffchainLabs/prysm/v6/beacon-chain/forkchoice/types" forkchoicetypes "github.com/OffchainLabs/prysm/v7/beacon-chain/forkchoice/types"
"github.com/OffchainLabs/prysm/v6/beacon-chain/operations/blstoexec" "github.com/OffchainLabs/prysm/v7/beacon-chain/operations/blstoexec"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
ethpbv1 "github.com/OffchainLabs/prysm/v6/proto/eth/v1" ethpbv1 "github.com/OffchainLabs/prysm/v7/proto/eth/v1"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/OffchainLabs/prysm/v6/testing/util" "github.com/OffchainLabs/prysm/v7/testing/util"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
logTest "github.com/sirupsen/logrus/hooks/test" logTest "github.com/sirupsen/logrus/hooks/test"
) )

View File

@@ -3,8 +3,8 @@ package blockchain
import ( import (
"context" "context"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -3,10 +3,10 @@ package blockchain
import ( import (
"testing" "testing"
testDB "github.com/OffchainLabs/prysm/v6/beacon-chain/db/testing" testDB "github.com/OffchainLabs/prysm/v7/beacon-chain/db/testing"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/OffchainLabs/prysm/v6/testing/util" "github.com/OffchainLabs/prysm/v7/testing/util"
) )
func TestService_getBlock(t *testing.T) { func TestService_getBlock(t *testing.T) {

View File

@@ -1,7 +1,7 @@
package blockchain package blockchain
import ( import (
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
) )
func init() { func init() {

View File

@@ -8,7 +8,7 @@ go_library(
"validation.go", "validation.go",
], ],
embedsrcs = ["trusted_setup_4096.json"], embedsrcs = ["trusted_setup_4096.json"],
importpath = "github.com/OffchainLabs/prysm/v6/beacon-chain/blockchain/kzg", importpath = "github.com/OffchainLabs/prysm/v7/beacon-chain/blockchain/kzg",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//consensus-types/blocks:go_default_library", "//consensus-types/blocks:go_default_library",

View File

@@ -3,7 +3,7 @@ package kzg
import ( import (
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
) )
func TestStart(t *testing.T) { func TestStart(t *testing.T) {

View File

@@ -3,7 +3,7 @@ package kzg
import ( import (
"fmt" "fmt"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
GoKZG "github.com/crate-crypto/go-kzg-4844" GoKZG "github.com/crate-crypto/go-kzg-4844"
ckzg4844 "github.com/ethereum/c-kzg-4844/v2/bindings/go" ckzg4844 "github.com/ethereum/c-kzg-4844/v2/bindings/go"
"github.com/pkg/errors" "github.com/pkg/errors"

View File

@@ -3,9 +3,9 @@ package kzg
import ( import (
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/crypto/random" "github.com/OffchainLabs/prysm/v7/crypto/random"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
GoKZG "github.com/crate-crypto/go-kzg-4844" GoKZG "github.com/crate-crypto/go-kzg-4844"
) )

View File

@@ -5,15 +5,15 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/blocks" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/blocks"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
consensus_types "github.com/OffchainLabs/prysm/v6/consensus-types" consensus_types "github.com/OffchainLabs/prysm/v7/consensus-types"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/runtime/version" "github.com/OffchainLabs/prysm/v7/runtime/version"
prysmTime "github.com/OffchainLabs/prysm/v6/time" prysmTime "github.com/OffchainLabs/prysm/v7/time"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

View File

@@ -3,11 +3,11 @@ package blockchain
import ( import (
"testing" "testing"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
enginev1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" enginev1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
logTest "github.com/sirupsen/logrus/hooks/test" logTest "github.com/sirupsen/logrus/hooks/test"
) )

View File

@@ -3,15 +3,15 @@ package blockchain
import ( import (
"context" "context"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/altair" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/altair"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/epoch/precompute" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/epoch/precompute"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/runtime/version" "github.com/OffchainLabs/prysm/v7/runtime/version"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto" "github.com/prometheus/client_golang/prometheus/promauto"

View File

@@ -3,9 +3,9 @@ package blockchain
import ( import (
"testing" "testing"
eth "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" eth "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/OffchainLabs/prysm/v6/testing/util" "github.com/OffchainLabs/prysm/v7/testing/util"
) )
func TestReportEpochMetrics_BadAttestation(t *testing.T) { func TestReportEpochMetrics_BadAttestation(t *testing.T) {

View File

@@ -3,12 +3,12 @@ package blockchain
import ( import (
"testing" "testing"
mock "github.com/OffchainLabs/prysm/v6/beacon-chain/blockchain/testing" mock "github.com/OffchainLabs/prysm/v7/beacon-chain/blockchain/testing"
testDB "github.com/OffchainLabs/prysm/v6/beacon-chain/db/testing" testDB "github.com/OffchainLabs/prysm/v7/beacon-chain/db/testing"
doublylinkedtree "github.com/OffchainLabs/prysm/v6/beacon-chain/forkchoice/doubly-linked-tree" doublylinkedtree "github.com/OffchainLabs/prysm/v7/beacon-chain/forkchoice/doubly-linked-tree"
"github.com/OffchainLabs/prysm/v6/beacon-chain/startup" "github.com/OffchainLabs/prysm/v7/beacon-chain/startup"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state/stategen" "github.com/OffchainLabs/prysm/v7/beacon-chain/state/stategen"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
) )
func testServiceOptsWithDB(t testing.TB) []Option { func testServiceOptsWithDB(t testing.TB) []Option {

View File

@@ -3,23 +3,23 @@ package blockchain
import ( import (
"time" "time"
"github.com/OffchainLabs/prysm/v6/async/event" "github.com/OffchainLabs/prysm/v7/async/event"
"github.com/OffchainLabs/prysm/v6/beacon-chain/cache" "github.com/OffchainLabs/prysm/v7/beacon-chain/cache"
statefeed "github.com/OffchainLabs/prysm/v6/beacon-chain/core/feed/state" statefeed "github.com/OffchainLabs/prysm/v7/beacon-chain/core/feed/state"
"github.com/OffchainLabs/prysm/v6/beacon-chain/db" "github.com/OffchainLabs/prysm/v7/beacon-chain/db"
"github.com/OffchainLabs/prysm/v6/beacon-chain/db/filesystem" "github.com/OffchainLabs/prysm/v7/beacon-chain/db/filesystem"
"github.com/OffchainLabs/prysm/v6/beacon-chain/execution" "github.com/OffchainLabs/prysm/v7/beacon-chain/execution"
"github.com/OffchainLabs/prysm/v6/beacon-chain/forkchoice" "github.com/OffchainLabs/prysm/v7/beacon-chain/forkchoice"
lightclient "github.com/OffchainLabs/prysm/v6/beacon-chain/light-client" lightclient "github.com/OffchainLabs/prysm/v7/beacon-chain/light-client"
"github.com/OffchainLabs/prysm/v6/beacon-chain/operations/attestations" "github.com/OffchainLabs/prysm/v7/beacon-chain/operations/attestations"
"github.com/OffchainLabs/prysm/v6/beacon-chain/operations/blstoexec" "github.com/OffchainLabs/prysm/v7/beacon-chain/operations/blstoexec"
"github.com/OffchainLabs/prysm/v6/beacon-chain/operations/slashings" "github.com/OffchainLabs/prysm/v7/beacon-chain/operations/slashings"
"github.com/OffchainLabs/prysm/v6/beacon-chain/operations/voluntaryexits" "github.com/OffchainLabs/prysm/v7/beacon-chain/operations/voluntaryexits"
"github.com/OffchainLabs/prysm/v6/beacon-chain/p2p" "github.com/OffchainLabs/prysm/v7/beacon-chain/p2p"
"github.com/OffchainLabs/prysm/v6/beacon-chain/startup" "github.com/OffchainLabs/prysm/v7/beacon-chain/startup"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state/stategen" "github.com/OffchainLabs/prysm/v7/beacon-chain/state/stategen"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
) )
type Option func(s *Service) error type Option func(s *Service) error

View File

@@ -6,13 +6,13 @@ import (
"fmt" "fmt"
"math/big" "math/big"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
"github.com/OffchainLabs/prysm/v6/runtime/version" "github.com/OffchainLabs/prysm/v7/runtime/version"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/holiman/uint256" "github.com/holiman/uint256"

View File

@@ -5,14 +5,14 @@ import (
"math/big" "math/big"
"testing" "testing"
mocks "github.com/OffchainLabs/prysm/v6/beacon-chain/execution/testing" mocks "github.com/OffchainLabs/prysm/v7/beacon-chain/execution/testing"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
enginev1 "github.com/OffchainLabs/prysm/v6/proto/engine/v1" enginev1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/OffchainLabs/prysm/v6/testing/util" "github.com/OffchainLabs/prysm/v7/testing/util"
gethtypes "github.com/ethereum/go-ethereum/core/types" gethtypes "github.com/ethereum/go-ethereum/core/types"
"github.com/holiman/uint256" "github.com/holiman/uint256"
) )

View File

@@ -4,13 +4,13 @@ import (
"context" "context"
"time" "time"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/helpers" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/helpers"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
"github.com/OffchainLabs/prysm/v6/monitoring/tracing/trace" "github.com/OffchainLabs/prysm/v7/monitoring/tracing/trace"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1/attestation" "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1/attestation"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -7,15 +7,15 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/OffchainLabs/prysm/v6/async" "github.com/OffchainLabs/prysm/v7/async"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/transition" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/transition"
forkchoicetypes "github.com/OffchainLabs/prysm/v6/beacon-chain/forkchoice/types" forkchoicetypes "github.com/OffchainLabs/prysm/v7/beacon-chain/forkchoice/types"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
"github.com/OffchainLabs/prysm/v6/consensus-types/blocks" "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

View File

@@ -6,18 +6,18 @@ import (
"testing" "testing"
"time" "time"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/transition" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/transition"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams" fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/crypto/bls" "github.com/OffchainLabs/prysm/v7/crypto/bls"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/assert" "github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require" "github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/OffchainLabs/prysm/v6/testing/util" "github.com/OffchainLabs/prysm/v7/testing/util"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
) )
func TestStore_OnAttestation_ErrorConditions(t *testing.T) { func TestStore_OnAttestation_ErrorConditions(t *testing.T) {

View File

@@ -6,29 +6,29 @@ import (
"time" "time"
"github.com/OffchainLabs/go-bitfield" "github.com/OffchainLabs/go-bitfield"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/blocks" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/blocks"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/helpers" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/helpers"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/peerdas" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/peerdas"
coreTime "github.com/OffchainLabs/prysm/v6/beacon-chain/core/time" coreTime "github.com/OffchainLabs/prysm/v7/beacon-chain/core/time"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/transition" "github.com/OffchainLabs/prysm/v7/beacon-chain/core/transition"
"github.com/OffchainLabs/prysm/v6/beacon-chain/das" "github.com/OffchainLabs/prysm/v7/beacon-chain/das"
"github.com/OffchainLabs/prysm/v6/beacon-chain/db/filesystem" "github.com/OffchainLabs/prysm/v7/beacon-chain/db/filesystem"
forkchoicetypes "github.com/OffchainLabs/prysm/v6/beacon-chain/forkchoice/types" forkchoicetypes "github.com/OffchainLabs/prysm/v7/beacon-chain/forkchoice/types"
"github.com/OffchainLabs/prysm/v6/beacon-chain/state" "github.com/OffchainLabs/prysm/v7/beacon-chain/state"
"github.com/OffchainLabs/prysm/v6/config/features" "github.com/OffchainLabs/prysm/v7/config/features"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams" fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
"github.com/OffchainLabs/prysm/v6/config/params" "github.com/OffchainLabs/prysm/v7/config/params"
consensusblocks "github.com/OffchainLabs/prysm/v6/consensus-types/blocks" consensusblocks "github.com/OffchainLabs/prysm/v7/consensus-types/blocks"
"github.com/OffchainLabs/prysm/v6/consensus-types/interfaces" "github.com/OffchainLabs/prysm/v7/consensus-types/interfaces"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives" "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/crypto/bls" "github.com/OffchainLabs/prysm/v7/crypto/bls"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil" "github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
"github.com/OffchainLabs/prysm/v6/monitoring/tracing" "github.com/OffchainLabs/prysm/v7/monitoring/tracing"
"github.com/OffchainLabs/prysm/v6/monitoring/tracing/trace" "github.com/OffchainLabs/prysm/v7/monitoring/tracing/trace"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1" ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1/attestation" "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1/attestation"
"github.com/OffchainLabs/prysm/v6/runtime/version" "github.com/OffchainLabs/prysm/v7/runtime/version"
"github.com/OffchainLabs/prysm/v6/time/slots" "github.com/OffchainLabs/prysm/v7/time/slots"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

Some files were not shown because too many files have changed in this diff Show More