Skip to content

Conversation

@pinebit
Copy link

@pinebit pinebit commented Oct 28, 2025

  • Bumped golang version to 1.25
  • Bumped direct dependencies to the latest version
  • Replaced math/rand.Read → crypto/rand.Read
  • Added nolint directives for intentional deprecated usage
  • Reduced linter warnings from 160 to 138 issues
  • Removed 451 lines of dead code
  • Changed test instructions to use -race
  • Integrated fixes from Updating our dependencies and patching a bug in bn254/twist #62

Copy link
Member

@AnomalRoil AnomalRoil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks a lot. If you could just re-add the code needed for the amd64 targets to compile, then that should be good to go.

"golang.org/x/sys/cpu"
)

var hasBMI2 = cpu.X86.HasBMI2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is needed for gfp_amd64.s to compile

module github.com/drand/kyber

go 1.18
go 1.25
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we have the lowest version as required by dependencies rather than the latest one?
I suspect go 1.23 or go 1.24 should suffice.

@AnomalRoil AnomalRoil mentioned this pull request Nov 10, 2025
@AnomalRoil AnomalRoil changed the base branch from master to fix/go-v1.23 November 10, 2025 11:21
@AnomalRoil AnomalRoil merged commit 8b9286e into drand:fix/go-v1.23 Nov 10, 2025
1 check failed
AnomalRoil added a commit that referenced this pull request Nov 10, 2025
* Bumped dependencies and addressed some of linter findings (#64)

* bump golang version
* Modernization
* Update Go version requirement and testing command
* integrated changes from pr 62

* Fixing tests and keeping lower go version

---------

Co-authored-by: Andrei Smirnov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants