Skip to content

getLedgerEntries: optionally use high-performance Core server #650

getLedgerEntries: optionally use high-performance Core server

getLedgerEntries: optionally use high-performance Core server #650

Triggered via pull request February 6, 2025 00:34
Status Failure
Total duration 1m 29s
Artifacts

golang.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
golangci-lint: cmd/stellar-rpc/internal/methods/get_ledger_entries.go#L121
cognitive complexity 35 of func `newGetLedgerEntriesHandlerFromGetter` is high (> 30) (gocognit)
golangci-lint: cmd/stellar-rpc/internal/daemon/daemon.go#L129
G115: integer overflow conversion uint -> uint16 (gosec)
golangci-lint: cmd/stellar-rpc/internal/daemon/daemon.go#L130
G115: integer overflow conversion uint -> uint16 (gosec)
golangci-lint: cmd/stellar-rpc/internal/daemon/daemon.go#L131
G115: integer overflow conversion uint -> uint16 (gosec)
golangci-lint: cmd/stellar-rpc/internal/daemon/interfaces/noOpDaemon.go#L63
The line is 123 characters long, which exceeds the maximum of 120 characters. (lll)
golangci-lint: cmd/stellar-rpc/internal/methods/get_ledger_entries.go#L78
The line is 130 characters long, which exceeds the maximum of 120 characters. (lll)
golangci-lint: cmd/stellar-rpc/internal/methods/get_ledger_entries.go#L100
The line is 124 characters long, which exceeds the maximum of 120 characters. (lll)
golangci-lint: cmd/stellar-rpc/internal/methods/get_ledger_entries.go#L113
The line is 122 characters long, which exceeds the maximum of 120 characters. (lll)
golangci-lint
issues found