Closed Kwaskoff closed 8 months ago
After I added reflect.go and transport.go manually - errors changed to:
package github.com/oraichain/orai/app
imports github.com/CosmWasm/wasmd/x/wasm
imports github.com/CosmWasm/wasmd/x/wasm/simulation
imports github.com/CosmWasm/wasmd/x/wasm/keeper/testdata
imports embed
imports embed: import cycle not allowed
package github.com/oraichain/orai/app
imports github.com/CosmWasm/wasmd/x/wasm
imports github.com/CosmWasm/wasmd/x/wasm/client/cli
imports github.com/CosmWasm/wasmd/x/wasm/ioutils
imports github.com/CosmWasm/wasmd/x/wasm/types
imports github.com/cosmos/cosmos-sdk/codec
imports github.com/cosmos/cosmos-sdk/codec/types
imports github.com/cosmos/cosmos-sdk/types/errors
imports github.com/tendermint/tendermint/abci/types
imports google.golang.org/grpc
imports google.golang.org/grpc/internal/transport
imports golang.org/x/net/http2
imports io/fs
imports io/fs: import cycle not allowed
help, please
which branch are you working on right now?
normally you would just need to use go mod tidy
to download and clean related dependencies. You should not add additional files manually
yep, right now I try from scratch again - and step with go get ./... was done. But make install can't =(
make install
go install -mod=readonly -mod=readonly -tags "netgo ledger" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=orai -X github.com/cosmos/cosmos-sdk/version.AppName=oraid -X github.com/cosmos/cosmos-sdk/version.Version=v0.41.4-3-gcf0e4d7dee69054-dirty -X github.com/cosmos/cosmos-sdk/version.Commit=cf0e4d7dee69054bf570a7995b7462d0874940ba -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo ledger," -X github.com/tendermint/tendermint/version.TMCoreSemVer=v0.34.30-0.20230711110635-482cde0c4e04 -w -s' -trimpath ./cmd/oraid
../../go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.16-ics/client/grpc_query.go:1:1: expected 'package', found 'EOF'
../../go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.16-ics/client/flags/flags.go:1:1: expected 'package', found 'EOF'
../../go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.16-ics/client/grpc/node/query.pb.go:1:1: expected 'package', found 'EOF'
../../go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.16-ics/client/grpc/reflection/reflection.go:1:1: expected 'package', found 'EOF'
make: *** [Makefile:92: install] Error 1
branch v0.41.4
On Go dependencies step (go get ./...) I have these errors:
what's problem?
debian 11, go1.15.15 linux/arm64