Team-Kujira / core

55 stars 36 forks source link

binary bulding #12

Open Kwaskoff opened 2 years ago

Kwaskoff commented 2 years ago

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/cosmos-sdk@v0.45.6/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/cosmos-sdk@v0.45.6/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/cosmos-sdk@v0.45.6/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/cosmos-sdk@v0.45.6/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/cosmos-sdk@v0.45.6/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/cosmos-sdk@v0.45.6/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/cosmos-sdk@v0.45.6/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/cosmos-sdk@v0.45.6/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/cosmos-sdk@v0.45.6/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/cosmos-sdk@v0.45.6/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/cosmos-sdk@v0.45.6/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 commented 2 years ago

@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