mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2026-03-01 04:28:51 +00:00
Go 1.25 upgrade check list #1545
Labels
No labels
I1
I2
I3
I4
S1
S2
S3
S4
U0
U1
U2
U3
U3
U4
blocked
bug
bug
cli
compiler
config
config
consensus
dependencies
discussion
documentation
enhancement
epic
feature
go
good first issue
help wanted
neotest
network
oracle
performance
question
rpc
security
smartcontract
task
task
task
test
vm
wallet
windows
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neo-go#1545
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roman-khimov on GitHub (Aug 13, 2025).
Is your feature request related to a problem? Please describe.
I'm always frustrated when we're not using the latest and greatest Go. There is Go 1.24 now.
Describe the solution you'd like
Upgrade to Go 1.25 min.
https://go.dev/pkg/testing/synctest should be seriously considered for tests. It's not trivial to adopt, but it has some potential, we have a lot of concurrent code and testing it properly is never fun.
Check ecdsa changes a bit more carefully, looks like we can't leverage them because we're using different formats, but maybe in some cases they're still applicable. https://go.dev/doc/go1.25#cryptoecdsapkgcryptoecdsa
https://go.dev/pkg/reflect#TypeAssert should be used instead of Interface() + type cast, we do have a little of reflection-based code that does it.
Convert wait groups to https://pkg.go.dev/sync#WaitGroup.Go, it's safer to use.
Describe alternatives you've considered
No alternatives.
Additional context
https://go.dev/doc/go1.25
@AnnaShaleva commented on GitHub (Aug 25, 2025):
Don't forget about https://github.com/nspcc-dev/neo-go/pull/3985#issuecomment-3219466827.