Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binary bulding #12

Open
Kwaskoff opened this issue Oct 23, 2022 · 1 comment
Open

binary bulding #12

Kwaskoff opened this issue Oct 23, 2022 · 1 comment

Comments

@Kwaskoff
Copy link

I took this https://github.com/ignite/cli/releases/download/nightly/ignite-nightly-linux-amd64.tar.gz
and started bulding

Your blockchain config version is v0 and the latest is v1. Would you like to upgrade your config file to v1?: y
Cosmos SDK's version is: stargate - v0.45.9

📦 Installing dependencies...
🛠  Building the blockchain...
cannot build app:

	error while running command go build -o /home/mid2/go/bin/cored -mod readonly -ldflags -X github.com/cosmos/cosmos-sdk/version.Name=Core -X github.com/cosmos/cosmos-sdk/version.AppName=cored -X github.com/cosmos/cosmos-sdk/version.Version=0.6.3 -X github.com/cosmos/cosmos-sdk/version.Commit=51a0f5309d2ad7e1e19e5150ef8144872780567d -X github.com/Team-Kujira/core/cmd/cored/cmd.ChainID=harpoon-2 .: # github.com/cosmos/cosmos-sdk/store/iavl
/home/mid2/go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/tree.go:10:11: cannot use (*immutableTree)(nil) (value of type *immutableTree) as type Tree in variable declaration:
	*immutableTree does not implement Tree (wrong type for Get method)
		have Get(key []byte) ([]byte, error)
		want Get(key []byte) (index int64, value []byte)
/home/mid2/go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/tree.go:11:11: cannot use (*iavl.MutableTree)(nil) (value of type *"github.com/cosmos/iavl".MutableTree) as type Tree in variable declaration:
	*"github.com/cosmos/iavl".MutableTree does not implement Tree (wrong type for Get method)
		have Get(key []byte) ([]byte, error)
		want Get(key []byte) (index int64, value []byte)
/home/mid2/go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/store.go:69:9: cannot use tree (variable of type *"github.com/cosmos/iavl".MutableTree) as type Tree in struct literal:
	*"github.com/cosmos/iavl".MutableTree does not implement Tree (wrong type for Get method)
		have Get(key []byte) ([]byte, error)
		want Get(key []byte) (index int64, value []byte)
/home/mid2/go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/store.go:81:9: cannot use tree (variable of type *"github.com/cosmos/iavl".MutableTree) as type Tree in struct literal:
	*"github.com/cosmos/iavl".MutableTree does not implement Tree (wrong type for Get method)
		have Get(key []byte) ([]byte, error)
		want Get(key []byte) (index int64, value []byte)
/home/mid2/go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/store.go:92:23: cannot use &immutableTree{…} (value of type *immutableTree) as type Tree in struct literal:
	*immutableTree does not implement Tree (wrong type for Get method)
		have Get(key []byte) ([]byte, error)
		want Get(key []byte) (index int64, value []byte)
/home/mid2/go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/store.go:101:9: cannot use &immutableTree{…} (value of type *immutableTree) as type Tree in struct literal:
	*immutableTree does not implement Tree (wrong type for Get method)
		have Get(key []byte) ([]byte, error)
		want Get(key []byte) (index int64, value []byte)
/home/mid2/go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/store.go:209:7: impossible type switch case: *immutableTree
	st.tree (variable of type Tree) cannot have dynamic type *immutableTree (wrong type for Get method)
		have Get(key []byte) ([]byte, error)
		want Get(key []byte) (index int64, value []byte)
/home/mid2/go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/store.go:211:7: impossible type switch case: *iavl.MutableTree
	st.tree (variable of type Tree) cannot have dynamic type *"github.com/cosmos/iavl".MutableTree (wrong type for Get method)
		have Get(key []byte) ([]byte, error)
		want Get(key []byte) (index int64, value []byte)
/home/mid2/go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/store.go:223:7: impossible type switch case: *immutableTree
	st.tree (variable of type Tree) cannot have dynamic type *immutableTree (wrong type for Get method)
		have Get(key []byte) ([]byte, error)
		want Get(key []byte) (index int64, value []byte)
/home/mid2/go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/store.go:225:7: impossible type switch case: *iavl.MutableTree
	st.tree (variable of type Tree) cannot have dynamic type *"github.com/cosmos/iavl".MutableTree (wrong type for Get method)
		have Get(key []byte) ([]byte, error)
		want Get(key []byte) (index int64, value []byte)
/home/mid2/go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/store.go:101:9: too many errors
: exit status 2
Waiting for a fix before retrying...




May be you can public own build?

@codehans
Copy link
Contributor

@Kwaskoff Looks like it needs updating to be compatible with the dragonberry patch. For now I would recommend make install, kujirad init and then create the genesis accounts and gentxs so you can do kujirad start. If you're having issues do jump into our discord, plenty of helpful folks there will get you set up. https://discord.gg/teamkujira

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants