exchain-go-sdk
exchain-go-sdk copied to clipboard
compile error
# github.com/okex/okexchain/x/dex/client/utils
../../pkg/mod/github.com/okex/[email protected]/x/dex/client/utils/utils.go:17:14: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoins
# github.com/okex/okexchain/x/farm/client/utils
../../pkg/mod/github.com/okex/[email protected]/x/farm/client/utils/utils.go:16:14: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoins
# github.com/okex/okexchain/x/gov/types
../../pkg/mod/github.com/okex/[email protected]/x/gov/types/content.go:24:18: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/[email protected]/x/gov/types/content.go:30:56: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/[email protected]/x/gov/types/content.go:34:52: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/[email protected]/x/gov/types/deposit.go:13:13: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoins
../../pkg/mod/github.com/okex/[email protected]/x/gov/types/deposit.go:17:69: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoins
../../pkg/mod/github.com/okex/[email protected]/x/gov/types/errors.go:29:40: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/[email protected]/x/gov/types/errors.go:33:44: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/[email protected]/x/gov/types/errors.go:37:44: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/[email protected]/x/gov/types/errors.go:41:50: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/[email protected]/x/gov/types/proposal.go:23:17: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoins
../../pkg/mod/github.com/okex/[email protected]/x/gov/types/errors.go:41:50: too many errors
# github.com/okex/okexchain/x/params/client/utils
../../pkg/mod/github.com/okex/[email protected]/x/params/client/utils/utils.go:32:15: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoins
../../pkg/mod/github.com/okex/[email protected]/x/params/client/utils/utils.go:43:15: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoins
# github.com/okex/okexchain/app/types
../../pkg/mod/github.com/okex/[email protected]/app/types/account.go:56:32: cannot use acc.BaseAccount.GetCoins().AmountOf(denom) (type "github.com/cosmos/cosmos-sdk/types".Int) as type "github.com/cosmos/cosmos-sdk/types".Dec in return argument
../../pkg/mod/github.com/okex/[email protected]/app/types/account.go:64:32: cannot use coins.AmountOf(denom) (type "github.com/cosmos/cosmos-sdk/types".Int) as type "github.com/cosmos/cosmos-sdk/types".Dec in argument to amt.Sub
../../pkg/mod/github.com/okex/[email protected]/app/types/account.go:68:32: cannot use diff (type "github.com/cosmos/cosmos-sdk/types".Dec) as type "github.com/cosmos/cosmos-sdk/types".Int in argument to "github.com/cosmos/cosmos-sdk/types".NewCoin
../../pkg/mod/github.com/okex/[email protected]/app/types/account.go:71:61: cannot use diff.Neg() (type "github.com/cosmos/cosmos-sdk/types".Dec) as type "github.com/cosmos/cosmos-sdk/types".Int in argument to "github.com/cosmos/cosmos-sdk/types".NewCoin
../../pkg/mod/github.com/okex/[email protected]/app/types/coin.go:30:39: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoin
i have this error too
i have this error too