Skip to content

build: use Go 1.25#191

Merged
gmalouf merged 2 commits intoalgorand:masterfrom
gmalouf:go125-upgrade
Oct 23, 2025
Merged

build: use Go 1.25#191
gmalouf merged 2 commits intoalgorand:masterfrom
gmalouf:go125-upgrade

Conversation

@gmalouf
Copy link
Contributor

@gmalouf gmalouf commented Oct 23, 2025

Summary

Bumps Go version from 1.23 to 1.25 and golangci-lint to 2.5 (now executed via go run rather than expected to be base installed).

Various new linter warnings were addressed, and the configuration was migrated to be 2.x compatible.

Test Plan

Existing tests should pass

@gmalouf gmalouf self-assigned this Oct 23, 2025
@gmalouf gmalouf added the enhancement New feature or request label Oct 23, 2025
@gmalouf gmalouf marked this pull request as ready for review October 23, 2025 02:51
@gmalouf gmalouf requested review from cce and jannotti October 23, 2025 02:51
func numInnerTxn(txn sdk.SignedTxnWithAD) int {
result := 0
for _, itxn := range txn.ApplyData.EvalDelta.InnerTxns {
for _, itxn := range txn.EvalDelta.InnerTxns {
Copy link

Choose a reason for hiding this comment

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

nit: IMO this makes it harder to read but it's fine. in algorand/go-algorand#6473 i set it to ignore staticcheck QF1008 (this lint warning)

@gmalouf gmalouf merged commit d2d247a into algorand:master Oct 23, 2025
3 checks passed
@gmalouf gmalouf deleted the go125-upgrade branch October 23, 2025 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants