Migrate Prysm repo to Offchain Labs organization ahead of Pectra V6 (#15140)

* Migrate Prysm repo to Offchain Labs organization ahead of Pectra upgrade v6

* Replace prysmaticlabs with OffchainLabs on general markdowns

* Update mock

* Gazelle and add mock.go to excluded generated mock file
This commit is contained in:
terence
2025-04-10 08:40:39 -07:00
committed by GitHub
parent 9d1750ce86
commit 774b9a7159
2790 changed files with 19819 additions and 19805 deletions

View File

@@ -7,7 +7,7 @@ go_library(
"endpoint.go",
"external_ip.go",
],
importpath = "github.com/prysmaticlabs/prysm/v5/network",
importpath = "github.com/OffchainLabs/prysm/v6/network",
visibility = ["//visibility:public"],
deps = [
"//network/authorization:go_default_library",

View File

@@ -7,9 +7,9 @@ import (
"testing"
"time"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil"
"github.com/OffchainLabs/prysm/v6/testing/require"
"github.com/golang-jwt/jwt/v4"
"github.com/prysmaticlabs/prysm/v5/encoding/bytesutil"
"github.com/prysmaticlabs/prysm/v5/testing/require"
)
func TestJWTAuthTransport(t *testing.T) {

View File

@@ -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/v5/network/authorization",
importpath = "github.com/OffchainLabs/prysm/v6/network/authorization",
visibility = ["//visibility:public"],
)

View File

@@ -9,8 +9,8 @@ import (
"net/url"
"strings"
"github.com/OffchainLabs/prysm/v6/network/authorization"
gethRPC "github.com/ethereum/go-ethereum/rpc"
"github.com/prysmaticlabs/prysm/v5/network/authorization"
log "github.com/sirupsen/logrus"
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
)

View File

@@ -3,9 +3,9 @@ package network
import (
"testing"
"github.com/prysmaticlabs/prysm/v5/network/authorization"
"github.com/prysmaticlabs/prysm/v5/testing/assert"
"github.com/prysmaticlabs/prysm/v5/testing/require"
"github.com/OffchainLabs/prysm/v6/network/authorization"
"github.com/OffchainLabs/prysm/v6/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require"
logTest "github.com/sirupsen/logrus/hooks/test"
)

View File

@@ -5,9 +5,9 @@ import (
"regexp"
"testing"
"github.com/prysmaticlabs/prysm/v5/network"
"github.com/prysmaticlabs/prysm/v5/testing/assert"
"github.com/prysmaticlabs/prysm/v5/testing/require"
"github.com/OffchainLabs/prysm/v6/network"
"github.com/OffchainLabs/prysm/v6/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require"
)
func TestExternalIPv4(t *testing.T) {

View File

@@ -7,7 +7,7 @@ go_library(
"fork.go",
"ordered.go",
],
importpath = "github.com/prysmaticlabs/prysm/v5/network/forks",
importpath = "github.com/OffchainLabs/prysm/v6/network/forks",
visibility = ["//visibility:public"],
deps = [
"//beacon-chain/core/signing:go_default_library",

View File

@@ -7,13 +7,13 @@ import (
"sort"
"time"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/signing"
"github.com/OffchainLabs/prysm/v6/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/time/slots"
"github.com/pkg/errors"
"github.com/prysmaticlabs/prysm/v5/beacon-chain/core/signing"
"github.com/prysmaticlabs/prysm/v5/config/params"
"github.com/prysmaticlabs/prysm/v5/consensus-types/primitives"
"github.com/prysmaticlabs/prysm/v5/encoding/bytesutil"
ethpb "github.com/prysmaticlabs/prysm/v5/proto/prysm/v1alpha1"
"github.com/prysmaticlabs/prysm/v5/time/slots"
)
// IsForkNextEpoch checks if an allotted fork is in the following epoch.

View File

@@ -6,11 +6,11 @@ import (
"testing"
"time"
"github.com/prysmaticlabs/prysm/v5/beacon-chain/core/signing"
"github.com/prysmaticlabs/prysm/v5/config/params"
"github.com/prysmaticlabs/prysm/v5/consensus-types/primitives"
ethpb "github.com/prysmaticlabs/prysm/v5/proto/prysm/v1alpha1"
"github.com/prysmaticlabs/prysm/v5/testing/assert"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/signing"
"github.com/OffchainLabs/prysm/v6/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/assert"
)
func TestFork(t *testing.T) {

View File

@@ -5,11 +5,11 @@ import (
"sort"
"strings"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams"
"github.com/OffchainLabs/prysm/v6/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1"
"github.com/pkg/errors"
fieldparams "github.com/prysmaticlabs/prysm/v5/config/fieldparams"
"github.com/prysmaticlabs/prysm/v5/config/params"
"github.com/prysmaticlabs/prysm/v5/consensus-types/primitives"
ethpb "github.com/prysmaticlabs/prysm/v5/proto/prysm/v1alpha1"
)
// ForkScheduleEntry is a Version+Epoch tuple for sorted storage in an OrderedSchedule

View File

@@ -4,9 +4,9 @@ import (
"math"
"testing"
"github.com/prysmaticlabs/prysm/v5/config/params"
"github.com/prysmaticlabs/prysm/v5/consensus-types/primitives"
"github.com/prysmaticlabs/prysm/v5/testing/require"
"github.com/OffchainLabs/prysm/v6/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/testing/require"
)
func TestOrderedConfigSchedule(t *testing.T) {

View File

@@ -7,7 +7,7 @@ go_library(
"reader.go",
"writer.go",
],
importpath = "github.com/prysmaticlabs/prysm/v5/network/httputil",
importpath = "github.com/OffchainLabs/prysm/v6/network/httputil",
visibility = ["//visibility:public"],
deps = [
"//api:go_default_library",

View File

@@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"github.com/prysmaticlabs/prysm/v5/api"
"github.com/OffchainLabs/prysm/v6/api"
)
// match a number with optional decimals

View File

@@ -7,9 +7,9 @@ import (
"net/http/httptest"
"testing"
"github.com/prysmaticlabs/prysm/v5/api"
"github.com/prysmaticlabs/prysm/v5/testing/assert"
"github.com/prysmaticlabs/prysm/v5/testing/require"
"github.com/OffchainLabs/prysm/v6/api"
"github.com/OffchainLabs/prysm/v6/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require"
)
func TestRespondWithSsz(t *testing.T) {

View File

@@ -8,7 +8,7 @@ import (
"net/http"
"strconv"
"github.com/prysmaticlabs/prysm/v5/api"
"github.com/OffchainLabs/prysm/v6/api"
log "github.com/sirupsen/logrus"
)