Commit Graph

111 Commits

Author SHA1 Message Date
Alessio Treglia 32eccde501
cosmovisor: various small improvements (#7275)
{,cosmosvisor/}Makefile: Add Makefile to cosmovisor/
subdirectory and integrate build target into the
top-directory Makefile.

cosmovisor/:

Create Golang-idiomatic cmd/ subdirectory to make
`cosmosvisor` binary (instead of a binary named `cmd`)
automatically installable with `go get`.

Minor changes to error handling:

- Plain error strings bring more value than the whole
  stacktrace in case of dumb configuration errors.

- Output errors to /dev/stderr instead of /dev/stdout.

Remove dependency on github.com/pkg/errors.
2020-09-11 10:42:11 +01:00
dependabot[bot] c71c7b9e77
Bump docker/build-push-action from v1.1.0 to v2 (#7245)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from v1.1.0 to v2.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Changelog](85d408708d/CHANGELOG.md)
- [Commits](https://github.com/docker/build-push-action/compare/v1.1.0...85d408708d8c09e8991e7b18899e77d7aee89287)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 06:11:26 -03:00
Alexander Bezobchuk 91ff9fa417
buildsystem: simplify Makefile and ci automation (#7189)
Move images into contrib/images/.

Replace "bad tag" cosmos-sdk/simapp with cosmos-sdk/simd-env.
'simapp' is a misnomer as the images serves only as host
environment for the binaries that are in fact built by the
developer on their machine.

Remove the build-docker-local-simapp target altogether
from the Makefile in favor of an inline conditional statement
that causes the image to be rebuilt if and only if it had not
been built before.

simd binary won't run as root anymore as root privileges
are dropped upon simd binary installation.

Co-authored-by: Marko Baricevic <marbar3778@yahoo.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-08-31 15:39:05 +02:00
SaReN 831b3d0574
Fix liveness test (#7095)
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-08-26 12:21:15 +02:00
colin axnér 535c3ffcbd
swap codeowner ordering (#7144) 2020-08-24 10:50:15 +01:00
Alessio Treglia 07d9b865ee
CODEOWNERS: implement changes suggested by ICF (#7138) 2020-08-22 14:25:06 +01:00
dependabot[bot] de5b8a4766
Bump gaurav-nelson/github-action-markdown-link-check from 1.0.6 to 1.0.7 (#7126)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-21 09:34:20 +02:00
Aaron Craelius ac93d08dce
Disable amino tests (#7124)
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-08-20 17:35:56 -04:00
dependabot[bot] b699c9459f
Bump gaurav-nelson/github-action-markdown-link-check from 1.0.5 to 1.0.6 (#7116)
Bumps [gaurav-nelson/github-action-markdown-link-check](https://github.com/gaurav-nelson/github-action-markdown-link-check) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/gaurav-nelson/github-action-markdown-link-check/releases)
- [Commits](https://github.com/gaurav-nelson/github-action-markdown-link-check/compare/1.0.5...7ababe1b422a191593289d0cdd0960a4095ef4d6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 03:21:47 -04:00
dependabot[bot] 6a019c93e4
Bump actions/cache from v2.1.0 to v2.1.1 (#7115)
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.0 to v2.1.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.0...5ca27f25cb3a0babe750cad7e4fddd3e55f29e9a)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 03:07:53 -04:00
Jonathan Gimeno bf0142b272
Merge cosmosd (#6820)
Closes: #6521

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2020-08-19 16:58:43 +01:00
SaReN bcd9675762
Add liveness script (#7081) 2020-08-18 05:51:08 -04:00
dependabot[bot] 27b67533cd
Bump codecov/codecov-action from v1.0.12 to v1.0.13 (#7080)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.12 to v1.0.13.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.12...6004246f47ab62d32be025ce173b241cd84ac58e)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 03:45:38 -04:00
Federico Kunze 3022fe9044
x/ibc-transfer: ADR001 source tracing implementation (#6871)
* x/ibc-transfer: ADR001 source tracing implementation

* gRPC proto file

* validation

* fix validation

* import export genesis

* relay.go updates

* gRPC service methods

* client CLI

* update implementation

* build

* trace test

* fix CLI tx args

* genesis import/export tests

* update comments

* update proto files

* GRPC tests

* remove field from packet

* fix coin validation bug

* more validations

* update comments

* minor refactor

* update relay.go

* try fix test

* minor updates

* fix tests

* fix test

* ADR updates and comments

* build

* Apply suggestions from code review

Co-authored-by: Aditya <adityasripal@gmail.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>

* address a few comments from review

* gRPC annotations

* update proto files

* Apply suggestions from code review

Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>

* address comments

* docs and changelog

* sort traces

* final changes to ADR

* client support for full path denom prefixes

* address @AdityaSripal comments

* address TODO

* increase test timeouts

Co-authored-by: Aditya <adityasripal@gmail.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2020-08-14 17:46:26 -04:00
dependabot[bot] a555b2cd4c
Update actions/setup-go requirement to v2.1.2 (#7042)
Updates the requirements on [actions/setup-go](https://github.com/actions/setup-go) to permit the latest version.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](8a3a76c217)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-08-13 11:37:54 -04:00
dependabot[bot] 140e78c641
Bump gaurav-nelson/github-action-markdown-link-check from 0.6.0 to 1.0.5 (#7041)
Bumps [gaurav-nelson/github-action-markdown-link-check](https://github.com/gaurav-nelson/github-action-markdown-link-check) from 0.6.0 to 1.0.5.
- [Release notes](https://github.com/gaurav-nelson/github-action-markdown-link-check/releases)
- [Commits](https://github.com/gaurav-nelson/github-action-markdown-link-check/compare/0.6.0...02e17024861650fa8d57d26296a23e88fd5782e2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-08-13 11:35:13 -04:00
dependabot[bot] ed51caa36b
Bump codecov/codecov-action from v1.0.7 to v1.0.12 (#7044)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.7 to v1.0.12.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.7...07127fde53bc3ccd346d47ab2f14c390161ad108)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-08-13 11:33:33 -04:00
dependabot[bot] e530361c29
Bump technote-space/get-diff-action from v1 to v3 (#7043)
Bumps [technote-space/get-diff-action](https://github.com/technote-space/get-diff-action) from v1 to v3.
- [Release notes](https://github.com/technote-space/get-diff-action/releases)
- [Changelog](https://github.com/technote-space/get-diff-action/blob/master/.releasegarc)
- [Commits](https://github.com/technote-space/get-diff-action/compare/v1...d2f0f317390a6154a7b5941b30deaf11fcf97500)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2020-08-13 11:31:56 -04:00
dependabot[bot] 429e3258d5
Bump actions/cache from v1 to v2.1.0 (#7040)
Bumps [actions/cache](https://github.com/actions/cache) from v1 to v2.1.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v1...d29c1df198dd38ac88e0ae23a2881b99c2d20e68)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-13 11:30:04 -04:00
dependabot-preview[bot] 66b016c112
Create Dependabot config file (#7039)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-13 17:22:48 +02:00
Marko dfa0642fdc
docker: fix version cmd (#6947)
* ttempt to debug docker image

* describe

* force depth

* fix simd version

* test fetch tags

* undo test

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-08-05 15:38:07 +00:00
Aaron Craelius 7e2eea84c6
Fix the one remaining proto tx bug and flip the switch (#6902)
* Fix the one remaining proto tx bug and flip the switch

* Update github CI

* Wrap TxDecoder errors

* Add test

* Cleanup
2020-07-30 18:58:26 +00:00
Marko cf078c0c88
ci: push nightly builds (#6517) 2020-07-29 21:55:58 +02:00
Aaron Craelius 0201b94713
Add test-unit-proto CI job (#6858) 2020-07-27 16:07:09 +00:00
Alexander Bezobchuk 0ccc48d2a3
CLI/Tests: Remove Fixtures (#6799)
* remove fixtures

* setup tests

* update x/mint

* cli: update x/staking commands

* tests: convert x/staking CLI tests

* tests: fix x/auth CLI tests

* cli updates

* fix buiild

* fix build

* Update x/gov/client/cli/cli_test.go

Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>

* remove GenerateOrBroadcastTx

* move TestCLIQueryConn

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
2020-07-21 13:54:07 +00:00
Cory d3056a9d64
Reset stale job to only mark PRs as stale (#6757)
* reset stalebot to only mark PRs as stale

* Update .github/workflows/stale.yml

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-17 14:06:56 +00:00
Marko de08dc4288
bump versiion of ci linter fix (#6743) 2020-07-16 08:38:29 +00:00
Marko e35fa15214
bump version of ci linter (#6741) 2020-07-16 09:51:10 +02:00
Marko a459b785d6
run sims on master (#6648) 2020-07-08 17:50:01 +02:00
Marko a9da918f98
ci: codecov revert to 1.0.7 (#6642)
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-07-08 13:18:54 +02:00
Marko e50c8df10c
ci: bump codecov (#6638) 2020-07-08 11:03:23 +02:00
Alexander Bezobchuk 8670a10564
Merge PR #6595: Single Binary & Command Refactor 2020-07-07 11:40:46 -04:00
Marko e76a765e14
bump days before stale (#6616)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-06 19:37:42 +00:00
Marko 4380d03068
add exempt issue labels (#6602)
* add exempt issue labels

* add launchpad

* Update .github/workflows/stale.yml

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-05 10:59:48 +02:00
Marko a76ba6f02c
Merge PR #6592: add issues to stale job 2020-07-03 11:23:38 -04:00
Marko 63263747ac
replace stale bot with github action (#6586) 2020-07-03 07:06:09 -04:00
Aaron Craelius 56af94e6ab
Add Review Codecov Report check to PR template (#6548)
* Update PULL_REQUEST_TEMPLATE.md

* Update
2020-06-30 18:55:37 +00:00
Alexander Bezobchuk 9bf3ff75f5
Merge PR #6489: Test Network Testing Framework 2020-06-26 12:30:49 -04:00
Alexander Bezobchuk 821b298f1a
Liveness CI Test (#6445)
* Initial commit

* More updates

* Fix tests

* CLI test updates

* Updates

* Updates

* Add liveness test workflow

* tmp

* Update workflow

* fix

* fix

* fix

* remove tmp change
2020-06-16 03:58:51 -04:00
Marko b618e0a827
add comments to why its nolint (#6366)
* add comments to why its nolint

* fix spelling

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-08 13:47:18 +00:00
colin axner 246f06d1a8
reformat PR Template (#6260)
* adjust pr template

* moves #closes to above description

* move closes into description

* rm extra space

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2020-06-05 16:52:20 +00:00
Marko 1daf5dadf5
ci: split unit tests across 4 machines (#6297)
Try reduce the overall build time by splitting test coverage
across 4 instances.

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-05-29 15:25:27 +02:00
Marko 21a9cb9b28
ci: automate release post tag push (#6230) 2020-05-25 20:02:08 +02:00
Marko d7677e0871
ci: test paths directive (#6251)
* test paths directive

* change proto files

* test paths on code coverage

* have parts of ci only run when go files are touched

* add readme badge

* bring back green checks

* remove paths

* green check linting

* add tests no run
2020-05-19 13:32:35 +00:00
Alessio Treglia e0fa14c0e1
CODEOWNERS: remove Peng (#6245) 2020-05-18 14:38:59 -04:00
Alessio Treglia 0db51de37a
remove Hans (#6243) 2020-05-18 15:12:44 +00:00
Marko 2f394ce1a8
remove auto-comment bot; add PR template (#6242)
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-05-18 10:09:14 -04:00
Helder Moreira 8dccc52035
Merge PR #6220: qa: add action to update qa page 2020-05-14 09:47:43 -04:00
atheeshp dd148fcd7a
gov: port integration tests (#6120) 2020-05-10 16:25:27 +02:00
Alessio Treglia df4335a2f6
CODEOWNERS: add Jonathan (#6177) 2020-05-09 00:03:30 +02:00