Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into faddat/make-pebble-ov…
Browse files Browse the repository at this point in the history
…erwhelmingly-fast

      - prefix(github.com/cosmos/ibc-go)
  • Loading branch information
faddat committed Jan 24, 2024
2 parents 5b165c3 + b15320b commit 070a044
Show file tree
Hide file tree
Showing 16 changed files with 2 additions and 3,313 deletions.
2 changes: 2 additions & 0 deletions .changelog/unreleased/breaking-changes/118-remove-remotedb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Removed supprot for RemoteDB ([\#118](https://github.com/cometbft/cometbft-
db/issues/118))
27 changes: 0 additions & 27 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ ifeq (1,$(NON_INTERACTIVE))
DOCKER_TEST_INTERACTIVE_FLAGS :=
endif

export GO111MODULE = on

all: lint test

### go tests
Expand Down Expand Up @@ -93,31 +91,6 @@ tools:
go get -v $(GOTOOLS)
.PHONY: tools

# generates certificates for TLS testing in remotedb
gen_certs: clean_certs
certstrap init --common-name "cometbft.com" --passphrase ""
certstrap request-cert --common-name "remotedb" -ip "127.0.0.1" --passphrase ""
certstrap sign "remotedb" --CA "cometbft.com" --passphrase ""
mv out/remotedb.crt remotedb/test.crt
mv out/remotedb.key remotedb/test.key
rm -rf out
.PHONY: gen_certs

clean_certs:
rm -f db/remotedb/test.crt
rm -f db/remotedb/test.key
.PHONY: clean_certs

%.pb.go: %.proto
## If you get the following error,
## "error while loading shared libraries: libprotobuf.so.14: cannot open shared object file: No such file or directory"
## See https://stackoverflow.com/a/25518702
## Note the $< here is substituted for the %.proto
## Note the $@ here is substituted for the %.pb.go
protoc $(INCLUDE) $< --gogo_out=Mgoogle/protobuf/timestamp.proto=github.com/golang/protobuf/ptypes/timestamp,plugins=grpc:../../..

protoc_remotedb: remotedb/proto/defs.pb.go

vulncheck:
@go run golang.org/x/vuln/cmd/govulncheck@latest ./...
.PHONY: vulncheck
87 changes: 0 additions & 87 deletions remotedb/batch.go

This file was deleted.

37 changes: 0 additions & 37 deletions remotedb/doc.go

This file was deleted.

22 changes: 0 additions & 22 deletions remotedb/grpcdb/client.go

This file was deleted.

33 changes: 0 additions & 33 deletions remotedb/grpcdb/doc.go

This file was deleted.

52 changes: 0 additions & 52 deletions remotedb/grpcdb/example_test.go

This file was deleted.

Loading

0 comments on commit 070a044

Please sign in to comment.