Add unit tests for sub handlers #26
main.yaml
on: push
Go Linter
/
lint
33s
Go Test
/
test
1m 39s
Go Test
/
test-with-race
1m 37s
Annotations
18 errors and 4 warnings
Go Linter / lint:
cmd/start.go#L10
could not import github.com/gnolang/tx-indexer/fetch (-: # github.com/gnolang/tx-indexer/fetch
|
Go Linter / lint:
fetch/slots.go#L68
undefined: min
|
Go Linter / lint:
cmd/start.go#L10
could not import github.com/gnolang/tx-indexer/fetch (-: # github.com/gnolang/tx-indexer/fetch
|
Go Linter / lint:
fetch/slots.go#L68
undefined: min
|
Go Linter / lint:
cmd/start.go#L10
could not import github.com/gnolang/tx-indexer/fetch (-: # github.com/gnolang/tx-indexer/fetch
|
Go Linter / lint:
fetch/slots.go#L68
undefined: min
|
Go Linter / lint:
cmd/start.go#L10
could not import github.com/gnolang/tx-indexer/fetch (-: # github.com/gnolang/tx-indexer/fetch
|
Go Linter / lint:
fetch/slots.go#L68
undefined: min
|
Go Linter / lint:
cmd/start.go#L10
could not import github.com/gnolang/tx-indexer/fetch (-: # github.com/gnolang/tx-indexer/fetch
|
Go Linter / lint:
fetch/slots.go#L68
undefined: min
|
Go Test / test-with-race:
serve/filters/manager_test.go#L99
cannot use &mocks.MockBlock{…} (value of type *mocks.MockBlock) as *"github.com/gnolang/gno/tm2/pkg/bft/types".Block value in struct literal
|
Go Test / test-with-race:
serve/filters/filter/block_test.go#L31
cannot use &mocks.MockBlock{…} (value of type *mocks.MockBlock) as *types.Block value in argument to f.UpdateWithBlock
|
Go Test / test-with-race:
serve/filters/subscription/block_test.go#L39
cannot use mockBlock (variable of type *mocks.MockBlock) as *types.Block value in argument to blockSubscription.WriteResponse
|
Go Test / test-with-race
Process completed with exit code 1.
|
Go Test / test:
serve/filters/manager_test.go#L99
cannot use &mocks.MockBlock{…} (value of type *mocks.MockBlock) as *"github.com/gnolang/gno/tm2/pkg/bft/types".Block value in struct literal
|
Go Test / test:
serve/filters/filter/block_test.go#L31
cannot use &mocks.MockBlock{…} (value of type *mocks.MockBlock) as *types.Block value in argument to f.UpdateWithBlock
|
Go Test / test:
serve/filters/subscription/block_test.go#L39
cannot use mockBlock (variable of type *mocks.MockBlock) as *types.Block value in argument to blockSubscription.WriteResponse
|
Go Test / test
Process completed with exit code 1.
|
Go Linter / lint:
serve/encode/encode.go#L25
exported: func name will be used as encode.EncodeValue by other packages, and that stutters; consider calling this Value (revive)
|
Go Linter / lint
Restore cache failed: Dependencies file is not found in /home/runner/work/tx-indexer/tx-indexer. Supported file pattern: go.sum
|
Go Test / test-with-race
Restore cache failed: Dependencies file is not found in /home/runner/work/tx-indexer/tx-indexer. Supported file pattern: go.sum
|
Go Test / test
Restore cache failed: Dependencies file is not found in /home/runner/work/tx-indexer/tx-indexer. Supported file pattern: go.sum
|