diff --git a/Dockerfile b/Dockerfile index 8a439f76f8..02937852fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.22.3-alpine3.20 AS build-env ARG DB_BACKEND=goleveldb -ARG ROCKSDB_VERSION="8.11.3" +ARG ROCKSDB_VERSION="9.1.1" WORKDIR /go/src/github.com/evmos/evmos diff --git a/Makefile b/Makefile index 692bb3eb9b..013c90967f 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ DOCKER_TAG := $(COMMIT_HASH) # e2e env MOUNT_PATH := $(shell pwd)/build/:/root/ E2E_SKIP_CLEANUP := false -ROCKSDB_VERSION ?= "8.11.3" +ROCKSDB_VERSION ?= "9.1.1" # Deps DEPS_COSMOS_SDK_VERSION := $(shell cat go.sum | grep 'github.com/evmos/cosmos-sdk' | grep -v -e 'go.mod' | tail -n 1 | awk '{ print $$2; }') DEPS_IBC_GO_VERSION := $(shell cat go.sum | grep 'github.com/cosmos/ibc-go' | grep -v -e 'go.mod' | tail -n 1 | awk '{ print $$2; }') diff --git a/go.mod b/go.mod index cb7e580e2b..b9d7628ee4 100644 --- a/go.mod +++ b/go.mod @@ -29,7 +29,7 @@ require ( github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/hashicorp/go-version v1.6.0 github.com/improbable-eng/grpc-web v0.15.0 - github.com/linxGnu/grocksdb v1.8.14 + github.com/linxGnu/grocksdb v1.9.1 github.com/onsi/ginkgo/v2 v2.19.0 github.com/onsi/gomega v1.33.1 github.com/ory/dockertest/v3 v3.10.0 diff --git a/go.sum b/go.sum index 076ed57c7c..d0a120304e 100644 --- a/go.sum +++ b/go.sum @@ -850,8 +850,8 @@ github.com/libp2p/go-buffer-pool v0.1.0 h1:oK4mSFcQz7cTQIfqbe4MIj9gLW+mnanjyFtc6 github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QTWy5HSiZacSbPg= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= -github.com/linxGnu/grocksdb v1.8.14 h1:HTgyYalNwBSG/1qCQUIott44wU5b2Y9Kr3z7SK5OfGQ= -github.com/linxGnu/grocksdb v1.8.14/go.mod h1:QYiYypR2d4v63Wj1adOOfzglnoII0gLj3PNh4fZkcFA= +github.com/linxGnu/grocksdb v1.9.1 h1:LmwuHzsWglxJrIES9jvS2O1xTPD2nnKYhAQDx5dIyRo= +github.com/linxGnu/grocksdb v1.9.1/go.mod h1:QYiYypR2d4v63Wj1adOOfzglnoII0gLj3PNh4fZkcFA= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= diff --git a/gomod2nix.toml b/gomod2nix.toml index 30489c1b33..bf6e7a6004 100644 --- a/gomod2nix.toml +++ b/gomod2nix.toml @@ -435,8 +435,8 @@ schema = 3 version = "v0.1.0" hash = "sha256-wQqGTtRWsfR9n0O/SXHVgECebbnNmHddxJIbG63OJBQ=" [mod."github.com/linxGnu/grocksdb"] - version = "v1.8.14" - hash = "sha256-dT647UzB25Ye1Gv6b9JEtJZjuWKdJo4D8kw9cB0W8gA=" + version = "v1.9.1" + hash = "sha256-yRSGvZ5YeDqGOEmGPRSKxPjNoCQ/Xk/DMtNtutkbPGg=" [mod."github.com/magiconair/properties"] version = "v1.8.7" hash = "sha256-XQ2bnc2s7/IH3WxEO4GishZurMyKwEclZy1DXg+2xXc=" diff --git a/nix/rocksdb.nix b/nix/rocksdb.nix index 20a95aa528..5195a55ce3 100644 --- a/nix/rocksdb.nix +++ b/nix/rocksdb.nix @@ -17,13 +17,13 @@ stdenv.mkDerivation rec { pname = "rocksdb"; - version = "8.11.3"; + version = "9.1.1"; src = fetchFromGitHub { owner = "facebook"; repo = pname; rev = "v${version}"; - sha256 = "sha256-OpEiMwGxZuxb9o3RQuSrwZMQGLhe9xLT1aa3HpI4KPs="; + sha256 = "sha256-/Xf0bzNJPclH9IP80QNaABfhj4IAR5LycYET18VFCXc="; }; nativeBuildInputs = [ cmake ninja ]; diff --git a/scripts/install_librocksdb.sh b/scripts/install_librocksdb.sh index 5668475a75..dafade95a5 100755 --- a/scripts/install_librocksdb.sh +++ b/scripts/install_librocksdb.sh @@ -1,6 +1,6 @@ #!/bin/bash -ROCKSDB_VERSION=${1:-"8.11.3"} +ROCKSDB_VERSION=${1:-"9.1.1"} # Check if RocksDB is already installed if [[ $(find /usr/lib -name "librocksdb.so.${ROCKSDB_VERSION}" -print -quit) ]]; then