deps: update to latest real-semver, drop local replaces, fix breaks

This commit is contained in:
2026-06-11 09:06:15 -07:00
parent 18f22bf09f
commit 6c55f307ee
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ require (
github.com/luxfi/codec v1.1.4 // indirect
github.com/luxfi/compress v0.0.5 // indirect
github.com/luxfi/concurrent v0.0.3 // indirect
github.com/luxfi/constants v1.5.8-0.20260603055356-93c2c2ceb9ca // indirect
github.com/luxfi/constants v1.5.8 // indirect
github.com/luxfi/crypto v1.19.17 // indirect
github.com/luxfi/database v1.18.3 // indirect
github.com/luxfi/geth v1.16.98 // indirect
+2 -2
View File
@@ -124,8 +124,8 @@ github.com/luxfi/concurrent v0.0.3 h1:eJyv1fhaC0jMLMw6+QS774cUmp7GK+ouMgvLCqnC7c
github.com/luxfi/concurrent v0.0.3/go.mod h1:Aj/FR5NpM0cB2P4Nt3+tz9+dV6V+LUW4HuMgSjwq5hw=
github.com/luxfi/consensus v1.25.0 h1:ak82ufqeklLJGQMCizxx5agiwLkjbrnrk7kFezvEtZo=
github.com/luxfi/consensus v1.25.0/go.mod h1:jkKzKyIgg/JqaEumxZOJd9ofWM3pXnVVLlQp+3qo9SM=
github.com/luxfi/constants v1.5.8-0.20260603055356-93c2c2ceb9ca h1:N2lM2gMJ2Hk5yZ6GqURWtg6nIVtodsjqMe+MGNiuCNw=
github.com/luxfi/constants v1.5.8-0.20260603055356-93c2c2ceb9ca/go.mod h1:z+Wc7skybZAA+xuBWNcmtv402S/BFqixL+FiSQXPg8U=
github.com/luxfi/constants v1.5.8 h1:iNP9AWNUcM4Tps7jYnx49CwtCWAC9mYRxJfGou2za0g=
github.com/luxfi/constants v1.5.8/go.mod h1:Pu5jWHdnUtQRbWC43yTUjU/pbIIKMDOd2a2yroSfo48=
github.com/luxfi/crypto v1.19.17 h1:l2LLu7UFyICtJVfraLDLRi+lFGiDXKHSL18M9/m1gsQ=
github.com/luxfi/crypto v1.19.17/go.mod h1:INjdZtke85k8hX/QAmTMAY8bbZ4gzGZQLqURg3xf6Gk=
github.com/luxfi/database v1.18.3 h1:gg+xwhKUxXa7fDoOD8IS91E71QqoEtcDCl2nfS61Jgg=
+7 -7
View File
@@ -174,7 +174,7 @@ func TestMerge(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
require := require.New(t)
it := iterator.Merge[*state.Staker]((*state.Staker).Less, tt.iterators...)
it := iterator.Merge[*testStaker]((*testStaker).Less, tt.iterators...)
for _, expected := range tt.expected {
require.True(it.Next())
require.Equal(expected, it.Value())
@@ -188,7 +188,7 @@ func TestMerge(t *testing.T) {
func TestMergedEarlyRelease(t *testing.T) {
require := require.New(t)
stakers0 := []*state.Staker{
stakers0 := []*testStaker{
{
TxID: ids.GenerateTestID(),
NextTime: time.Unix(0, 0),
@@ -199,7 +199,7 @@ func TestMergedEarlyRelease(t *testing.T) {
},
}
stakers1 := []*state.Staker{
stakers1 := []*testStaker{
{
TxID: ids.GenerateTestID(),
NextTime: time.Unix(1, 0),
@@ -211,12 +211,12 @@ func TestMergedEarlyRelease(t *testing.T) {
}
it := iterator.Merge(
(*state.Staker).Less,
iterator.Empty[*state.Staker]{},
(*testStaker).Less,
iterator.Empty[*testStaker]{},
iterator.FromSlice(stakers0...),
iterator.Empty[*state.Staker]{},
iterator.Empty[*testStaker]{},
iterator.FromSlice(stakers1...),
iterator.Empty[*state.Staker]{},
iterator.Empty[*testStaker]{},
)
require.True(it.Next())
it.Release()