binaryholdings / cosmprund

118 stars 73 forks source link

RocksDB support - "store" module conflict #23

Open reversesigh opened 9 months ago

reversesigh commented 9 months ago

Following the README, I attempt to run the following:

go install -ldflags '-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=rocksdb' -tags rocksdb ./...

My response is:

cmd/pruner.go:13:2: no required module provides package github.com/cosmos/cosmos-sdk/x/consensus/types; to add it: go get github.com/cosmos/cosmos-sdk/x/consensus/types

I run that command followed by go mod tidy but get this response:

go: github.com/binaryholdings/cosmos-pruner/internal/rootmulti imports github.com/cosmos/cosmos-sdk/store/cachemulti: github.com/cosmos/cosmos-sdk/store@v1.0.1: parsing go.mod: module declares its path as: cosmossdk.io/store but was required as: github.com/cosmos/cosmos-sdk/store

The module path for store is in conflict.

sigv commented 1 week ago

The issue is not with RocksDB specifically. It's with module resolution. This report is a duplicate of #22.