Skip to content

Commit 7738e4e

Browse files
gmaloufjasonpaulos
andauthored
Bump golang version to 1.21.10, go-algorand-sdk to 2.5.0, indexer, to… (#172)
* Bump golang version to 1.21.10, go-algorand-sdk to 2.5.0, indexer, to latest from hash from mainline branch. * Update fileReadWriteTest for new incentive-related fields in block headers. * Fix TestRoundTrip off by 1 bug & update block 9 --------- Co-authored-by: Jason Paulos <[email protected]>
1 parent 5ae5acb commit 7738e4e

File tree

18 files changed

+72
-54
lines changed

18 files changed

+72
-54
lines changed

.github/workflows/reviewdog.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212
- name: Install specific golang
1313
uses: actions/[email protected]
1414
with:
15-
go-version: '1.20.14'
15+
go-version: '1.21.10'
1616
- name: Check format
1717
run: test -z `go fmt ./...`
1818
- name: Vet
1919
run: go vet ./...
2020
- name: reviewdog-golangci-lint
21-
uses: reviewdog/action-golangci-lint@v2.3.1
21+
uses: reviewdog/action-golangci-lint@v2.6.1
2222
with:
23-
golangci_lint_version: "v1.53.2"
23+
golangci_lint_version: "v1.58.0"
2424
golangci_lint_flags: "-c .golangci.yml --allow-parallel-runners"
25-
go_version: "1.20.14"
25+
go_version: "1.21.10"
2626
reporter: "github-pr-review"
2727
tool_name: "Lint Errors"
2828
level: "error"

api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type StatusProvider interface {
1818
}
1919

2020
func makeHealthHandler(p StatusProvider) func(w http.ResponseWriter, r *http.Request) {
21-
return func(w http.ResponseWriter, r *http.Request) {
21+
return func(w http.ResponseWriter, _ *http.Request) {
2222
status, err := p.Status()
2323
if err != nil {
2424
w.WriteHeader(http.StatusInternalServerError)

conduit/plugins/importers/filereader/fileReadWrite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func TestRoundTrip(t *testing.T) {
145145
defer cleanArtifacts(t)
146146

147147
round := sdk.Round(0)
148-
lastRound := numGzippedFiles(t) - 2 // subtract round-0 and the separate genesis file
148+
lastRound := numGzippedFiles(t) - 1 // subtract round 0
149149
require.GreaterOrEqual(t, lastRound, uint64(1))
150150
require.LessOrEqual(t, lastRound, uint64(1000)) // overflow sanity check
151151

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)