Skip to content

0.1.5-beta

Latest

Choose a tag to compare

@siblak siblak released this 24 Jul 09:46
· 1 commit to main since this release
1185e3f

Please report bugs using the issue tracker at GitHub:

https://github.com/flokiorg/grpc-miner/issues


Fixes

  • mining/miner_test.go: TestMineWithIssue used a mock whose SubmitNonce always returns an error, but the test asserted acceptedBlocks == 1 — an outcome impossible given the mock, and a copy-paste leftover from the adjacent success-path test. Fixed the expected value to 0.
  • Two context.WithTimeout cancel-function leaks in TestStartMining and TestMineWithIssue.

CI

  • Added .github/workflows/ci.yaml: runs go build, go vet, and go test on push to main and on pull requests.