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

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

View File

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

View File

@@ -7,7 +7,7 @@ go_library(
"heap.go",
"leakybucket.go",
],
importpath = "github.com/OffchainLabs/prysm/v6/container/leaky-bucket",
importpath = "github.com/OffchainLabs/prysm/v7/container/leaky-bucket",
visibility = ["//visibility:public"],
)

View File

@@ -3,7 +3,7 @@ load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = ["multi_value_slice.go"],
importpath = "github.com/OffchainLabs/prysm/v6/container/multi-value-slice",
importpath = "github.com/OffchainLabs/prysm/v7/container/multi-value-slice",
visibility = ["//visibility:public"],
deps = ["@com_github_pkg_errors//:go_default_library"],
)

View File

@@ -4,8 +4,8 @@ import (
"math/rand"
"testing"
"github.com/OffchainLabs/prysm/v6/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require"
"github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v7/testing/require"
)
type testObject struct {

View File

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

View File

@@ -6,7 +6,7 @@ import (
"testing"
"time"
"github.com/OffchainLabs/prysm/v6/testing/require"
"github.com/OffchainLabs/prysm/v7/testing/require"
)
// Ensure we satisfy the heap.Interface

View File

@@ -6,7 +6,7 @@ go_library(
"doc.go",
"slice.go",
],
importpath = "github.com/OffchainLabs/prysm/v6/container/slice",
importpath = "github.com/OffchainLabs/prysm/v7/container/slice",
visibility = ["//visibility:public"],
deps = ["//consensus-types/primitives:go_default_library"],
)

View File

@@ -5,7 +5,7 @@ import (
"slices"
"strings"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
)
// SubsetUint64 returns true if the first array is

View File

@@ -5,9 +5,9 @@ import (
"sort"
"testing"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/container/slice"
"github.com/OffchainLabs/prysm/v6/testing/require"
"github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v7/container/slice"
"github.com/OffchainLabs/prysm/v7/testing/require"
)
func TestSubsetUint64(t *testing.T) {

View File

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

View File

@@ -5,7 +5,7 @@ import (
"sync"
"testing"
"github.com/OffchainLabs/prysm/v6/testing/require"
"github.com/OffchainLabs/prysm/v7/testing/require"
)
type safeMap struct {

View File

@@ -6,7 +6,7 @@ go_library(
"sparse_merkle.go",
"zerohashes.go",
],
importpath = "github.com/OffchainLabs/prysm/v6/container/trie",
importpath = "github.com/OffchainLabs/prysm/v7/container/trie",
visibility = ["//visibility:public"],
deps = [
"//crypto/hash:go_default_library",

View File

@@ -6,9 +6,9 @@ import (
"encoding/binary"
"fmt"
"github.com/OffchainLabs/prysm/v6/crypto/hash"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil"
protodb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v7/crypto/hash"
"github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
protodb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/pkg/errors"
)

View File

@@ -4,15 +4,15 @@ import (
"strconv"
"testing"
fieldparams "github.com/OffchainLabs/prysm/v6/config/fieldparams"
"github.com/OffchainLabs/prysm/v6/config/params"
"github.com/OffchainLabs/prysm/v6/container/trie"
contracts "github.com/OffchainLabs/prysm/v6/contracts/deposit/mock"
"github.com/OffchainLabs/prysm/v6/crypto/hash"
"github.com/OffchainLabs/prysm/v6/encoding/bytesutil"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require"
fieldparams "github.com/OffchainLabs/prysm/v7/config/fieldparams"
"github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v7/container/trie"
contracts "github.com/OffchainLabs/prysm/v7/contracts/deposit/mock"
"github.com/OffchainLabs/prysm/v7/crypto/hash"
"github.com/OffchainLabs/prysm/v7/encoding/bytesutil"
ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
)

View File

@@ -3,11 +3,11 @@ package trie_test
import (
"testing"
"github.com/OffchainLabs/prysm/v6/config/params"
"github.com/OffchainLabs/prysm/v6/container/trie"
"github.com/OffchainLabs/prysm/v6/crypto/hash"
ethpb "github.com/OffchainLabs/prysm/v6/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v6/testing/require"
"github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v7/container/trie"
"github.com/OffchainLabs/prysm/v7/crypto/hash"
ethpb "github.com/OffchainLabs/prysm/v7/proto/prysm/v1alpha1"
"github.com/OffchainLabs/prysm/v7/testing/require"
"github.com/golang/protobuf/proto"
)