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,6 +3,6 @@ load("@prysm//tools/go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["utils.go"],
importpath = "github.com/OffchainLabs/prysm/v6/time",
importpath = "github.com/OffchainLabs/prysm/v7/time",
visibility = ["//visibility:public"],
)

View File

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

View File

@@ -7,7 +7,7 @@ go_library(
"slotticker.go",
"slottime.go",
],
importpath = "github.com/OffchainLabs/prysm/v6/time/slots",
importpath = "github.com/OffchainLabs/prysm/v7/time/slots",
visibility = ["//visibility:public"],
deps = [
"//config/params:go_default_library",

View File

@@ -5,8 +5,8 @@ import (
"fmt"
"time"
"github.com/OffchainLabs/prysm/v6/config/params"
prysmTime "github.com/OffchainLabs/prysm/v6/time"
"github.com/OffchainLabs/prysm/v7/config/params"
prysmTime "github.com/OffchainLabs/prysm/v7/time"
"github.com/sirupsen/logrus"
)

View File

@@ -5,9 +5,9 @@ import (
"testing"
"time"
"github.com/OffchainLabs/prysm/v6/config/params"
"github.com/OffchainLabs/prysm/v6/testing/require"
prysmTime "github.com/OffchainLabs/prysm/v6/time"
"github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v7/testing/require"
prysmTime "github.com/OffchainLabs/prysm/v7/time"
"github.com/sirupsen/logrus"
logTest "github.com/sirupsen/logrus/hooks/test"
)

View File

@@ -4,9 +4,9 @@ package slots
import (
"time"
"github.com/OffchainLabs/prysm/v6/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives"
prysmTime "github.com/OffchainLabs/prysm/v6/time"
"github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
prysmTime "github.com/OffchainLabs/prysm/v7/time"
)
// The Ticker interface defines a type which can expose a

View File

@@ -4,8 +4,8 @@ import (
"testing"
"time"
"github.com/OffchainLabs/prysm/v6/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/stretchr/testify/require"
)

View File

@@ -5,11 +5,11 @@ import (
"math"
"time"
"github.com/OffchainLabs/prysm/v6/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives"
mathutil "github.com/OffchainLabs/prysm/v6/math"
"github.com/OffchainLabs/prysm/v6/runtime/version"
prysmTime "github.com/OffchainLabs/prysm/v6/time"
"github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
mathutil "github.com/OffchainLabs/prysm/v7/math"
"github.com/OffchainLabs/prysm/v7/runtime/version"
prysmTime "github.com/OffchainLabs/prysm/v7/time"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
)

View File

@@ -6,12 +6,12 @@ import (
"testing"
"time"
"github.com/OffchainLabs/prysm/v6/config/params"
"github.com/OffchainLabs/prysm/v6/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v6/runtime/version"
"github.com/OffchainLabs/prysm/v6/testing/assert"
"github.com/OffchainLabs/prysm/v6/testing/require"
prysmTime "github.com/OffchainLabs/prysm/v6/time"
"github.com/OffchainLabs/prysm/v7/config/params"
"github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
"github.com/OffchainLabs/prysm/v7/runtime/version"
"github.com/OffchainLabs/prysm/v7/testing/assert"
"github.com/OffchainLabs/prysm/v7/testing/require"
prysmTime "github.com/OffchainLabs/prysm/v7/time"
)
func TestAbsoluteValueSlotDifference(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 = ["mock.go"],
importpath = "github.com/OffchainLabs/prysm/v6/time/slots/testing",
importpath = "github.com/OffchainLabs/prysm/v7/time/slots/testing",
visibility = ["//visibility:public"],
deps = ["//consensus-types/primitives:go_default_library"],
)

View File

@@ -1,7 +1,7 @@
// Package testing includes useful mocks for slot tickers in unit tests.
package testing
import "github.com/OffchainLabs/prysm/v6/consensus-types/primitives"
import "github.com/OffchainLabs/prysm/v7/consensus-types/primitives"
// MockTicker defines a useful struct for mocking the Ticker interface
// from the slotutil package.

View File

@@ -1,7 +1,7 @@
package testing
import (
"github.com/OffchainLabs/prysm/v6/time/slots"
"github.com/OffchainLabs/prysm/v7/time/slots"
)
var _ slots.Ticker = (*MockTicker)(nil)