Alessio Treglia
0de4bec862
use Cleanup(),TempDir() in test cases ( #5723 )
Replace defer with t.Cleanup().
Replace the combination of ioutil.TempDir, error checking
and defer os.RemoveAll() with Go testing.T's new TempDir()
helper.
Mark auxiliary functions as test helpers.
4 years ago
Marko
781f4badc3
ci: build for 32 bit, libs: fix overflow ( #5700 )
4 years ago
dependabot[bot]
4e71357808
build(deps): Bump codecov/codecov-action from v1.0.14 to v1.0.15 ( #5676 )
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.0.14 to v1.0.15.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.14...239febf655bba88b16ff5dea1d3135ea8663a1f9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Anton Kaliaev
7041cae8e1
bump go version to 1.15 ( #5639 )
4 years ago
dependabot[bot]
cd41091b18
build(deps): Bump codecov/codecov-action from v1.0.13 to v1.0.14 ( #5582 )
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.0.13 to v1.0.14.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.13...7d5dfa54903bd909319c580a00535b483d1efcf3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Marko
eeb92a632b
ci: tests ( #5577 )
- use matrix builds to run multiple test jobs
- upload code coverage once not 4 times (produce more accurate codecov reports)
4 years ago
dependabot[bot]
c206d9b680
build(deps): Bump codecov/codecov-action from v1.0.13 to v1.0.14 ( #5525 )
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.0.13 to v1.0.14.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.13...7d5dfa54903bd909319c580a00535b483d1efcf3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erik Grinaker <erik@interchain.berlin>
4 years ago
dependabot[bot]
710ed63f55
build(deps): Bump technote-space/get-diff-action from v3 to v4 ( #5485 )
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com>
4 years ago
dongsam
e30b125725
consensus: double-sign risk reduction (ADR-51) ( #5147 )
Implementation spec of Double Signing Risk Reduction [ADR-51](https://github.com/tendermint/tendermint/blob/master/docs/architecture/adr-051-double-signing-risk-reduction.md ) by B-Harvest
- Add `DoubleSignCheckHeight` config variable to ConsensusConfig for "How many blocks looks back to check existence of the node's consensus votes when before joining consensus"
- Add `consensus.double_sign_check_height` to `config.toml` and `tendermint node` as flag for set `DoubleSignCheckHeight`
- Set default `consensus.double_sign_check_height` to `0` ( it could be adjustable in this PR, disable when 0 )
Refs
- [ADR-51](https://github.com/tendermint/tendermint/blob/master/docs/architecture/adr-051-double-signing-risk-reduction.md )
- [https://github.com/tendermint/tendermint/issues/4059 ](https://github.com/tendermint/tendermint/issues/4059 )
- [https://github.com/tendermint/tendermint/pull/4262 ](https://github.com/tendermint/tendermint/pull/4262 )
4 years ago
dependabot[bot]
d1662c9bca
build(deps): Bump codecov/codecov-action from v1.0.12 to v1.0.13 ( #5258 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
f6c9a551b0
build(deps): Bump technote-space/get-diff-action from v1 to v3 ( #5246 )
4 years ago
dependabot[bot]
fca4cff113
build(deps): Bump codecov/codecov-action from v1.0.7 to v1.0.12 ( #5247 )
4 years ago
Marko
fca788a4e1
ci: only run tests when go files are touched ( #5097 )
## Description
_Please add a description of the changes that this PR introduces and the files that
are the most critical to review._
Closes: #XXX
4 years ago
Marko
ea946fabe0
ci: try to fix codecov ( #5095 )
## Description
codecov is having issues on upload so upgrade to 1.0.7 where they claim it works better and dont fail ci on failure to upload coverage file
Closes: #XXX
4 years ago
Marko
062764ae72
ci: migrate test_cover ( #4869 )
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>
5 years ago