From e1c77227656c179b1bb4616ac513bbe06792df49 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 21:14:05 +0100 Subject: [PATCH] build: remove RocksDB (partial backport #23212) (#23237) Co-authored-by: Robert Zaremba Co-authored-by: Julien Robert --- scripts/build/build.mk | 2 -- scripts/go-lint-all.bash | 7 ++----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/build/build.mk b/scripts/build/build.mk index c0718c7d0a..9f69e78cca 100644 --- a/scripts/build/build.mk +++ b/scripts/build/build.mk @@ -13,8 +13,6 @@ HTTPS_GIT := https://github.com/cosmos/cosmos-sdk.git DOCKER := $(shell which docker) PROJECT_NAME = $(shell git remote get-url origin | xargs basename -s .git) -rocksdb_version=v9.6.1 - ifeq ($(findstring .,$(VERSION)),) VERSION := 0.0.0 endif diff --git a/scripts/go-lint-all.bash b/scripts/go-lint-all.bash index 565aa6a416..f2e4d3b30e 100755 --- a/scripts/go-lint-all.bash +++ b/scripts/go-lint-all.bash @@ -2,13 +2,10 @@ set -e -REPO_ROOT="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )/.." &> /dev/null && pwd )" +REPO_ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." &>/dev/null && pwd)" export REPO_ROOT LINT_TAGS="e2e,ledger,test_ledger_mock" -if [[ ! -z "${ROCKSDB:-}" ]]; then - LINT_TAGS+=",rocksdb" -fi export LINT_TAGS lint_module() { @@ -58,4 +55,4 @@ else echo "linting github.com/cosmos/cosmos-sdk [$(date -Iseconds -u)]" golangci-lint run ./... -c "${REPO_ROOT}/.golangci.yml" "$@" --build-tags=${LINT_TAGS} fi -fi \ No newline at end of file +fi