Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
See PR #484
  • Loading branch information
RiccardoM authored Jun 21, 2021
1 parent 79ca2cc commit 3aba36d
Show file tree
Hide file tree
Showing 83 changed files with 12,212 additions and 731 deletions.
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
run:
tests: false
# # timeout for analysis, e.g. 30s, 5m, default is 1m
# timeout: 5m
skip-dirs:
- pkg

linters:
disable-all: true
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ GOGO_PROTO_URL = https://raw.githubusercontent.com/regen-network/protobuf/cosm
COSMOS_URL = https://raw.githubusercontent.com/cosmos/cosmos-sdk/v0.42.4/proto/cosmos
COSMOS_PROTO_URL = https://raw.githubusercontent.com/regen-network/cosmos-proto/master
CONFIO_URL = https://raw.githubusercontent.com/confio/ics23/v0.6.3
IBC_URL = https://raw.githubusercontent.com/cosmos/cosmos-sdk/v0.42.4/proto/ibc

TM_CRYPTO_TYPES = third_party/proto/tendermint/crypto
TM_ABCI_TYPES = third_party/proto/tendermint/abci
Expand All @@ -324,6 +325,7 @@ GOGO_PROTO_TYPES = third_party/proto/gogoproto
COSMOS_TYPES = third_party/proto/cosmos
COSMOS_PROTO_TYPES = third_party/proto/cosmos_proto
CONFIO_TYPES = third_party/proto/confio
IBC_TYPES = third_party/proto/ibc

proto-update-deps:
@mkdir -p $(COSMOS_TYPES)/base/query/v1beta1
Expand All @@ -335,6 +337,9 @@ proto-update-deps:
@mkdir -p $(COSMOS_PROTO_TYPES)
@curl -sSL $(COSMOS_PROTO_URL)/cosmos.proto > $(COSMOS_PROTO_TYPES)/cosmos.proto

@mkdir -p $(IBC_TYPES)/core/client/v1
@curl -sSL $(IBC_URL)/core/client/v1/client.proto > $(IBC_TYPES)/core/client/v1/client.proto

## Importing of tendermint protobuf definitions currently requires the
## use of `sed` in order to build properly with cosmos-sdk's proto file layout
## (which is the standard Buf.build FILE_LAYOUT)
Expand Down Expand Up @@ -364,6 +369,8 @@ proto-update-deps:
## Issue link: https://github.com/confio/ics23/issues/32
@sed -i '4ioption go_package = "github.com/confio/ics23/go";' $(CONFIO_TYPES)/proofs.proto

@mkdir -p

.PHONY: proto-all proto-gen proto-lint proto-check-breaking proto-update-deps

###############################################################################
Expand Down
Loading

0 comments on commit 3aba36d

Please sign in to comment.