Skip to content

Dependency on golang.org/x/exp #2409

@martinboehm

Description

@martinboehm

Hi, would it be possible to update your dependency on golang.org/x/exp? Our project trezor/blockbook@d3909ab depends on github.com/ava-labs/avalanchego and github.com/ethereum/go-ethereum. However we cannot upgrade our dependency on go-ethereum as it breaks the build of https://github.com/ava-labs/avalanchego dependency

When trying to build blockbook, we get

> $ go build                                                                                                                                                                                                                                                    # github.com/ava-labs/avalanchego/utils
../../pkg/mod/github.com/ava-labs/avalanchego@v1.10.14/utils/sorting.go:23:21: type func(T, T) bool of T.Less does not match inferred type func(a T, b T) int for func(a E, b E) int
../../pkg/mod/github.com/ava-labs/avalanchego@v1.10.14/utils/sorting.go:28:21: type func(i T, j T) bool of func(i, j T) bool {…} does not match inferred type func(a T, b T) int for func(a E, b E) int
../../pkg/mod/github.com/ava-labs/avalanchego@v1.10.14/utils/sorting.go:39:21: type func(i T, j T) bool of func(i, j T) bool {…} does not match inferred type func(a T, b T) int for func(a E, b E) int

See similar resolution here ethereum/go-ethereum@be65b47#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done 🎉

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions