Trying
make build
gives following error
Building Pruning cmd/pruner.go:13:2: cannot find module providing package github.com/cosmos/cosmos-sdk/x/consensus/types: import lookup disabled by -mod=readonly make: *** [makefile:13: build] Error 1
Any ideas on how to resolve it?
The go version is
go version go1.21.6 linux/amd64
And the OS is
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
Trying
make build
gives following errorBuilding Pruning cmd/pruner.go:13:2: cannot find module providing package github.com/cosmos/cosmos-sdk/x/consensus/types: import lookup disabled by -mod=readonly make: *** [makefile:13: build] Error 1
Any ideas on how to resolve it? The go version isgo version go1.21.6 linux/amd64
And the OS isDISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"