okx / exchain-go-sdk

ExChain go sdk
Other
37 stars 16 forks source link

compile error #127

Open Rgsolo opened 3 years ago

Rgsolo commented 3 years ago
# github.com/okex/okexchain/x/dex/client/utils
../../pkg/mod/github.com/okex/okexchain@v0.16.0/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/okexchain@v0.16.0/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/okexchain@v0.16.0/x/gov/types/content.go:24:18: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/okexchain@v0.16.0/x/gov/types/content.go:30:56: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/okexchain@v0.16.0/x/gov/types/content.go:34:52: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/okexchain@v0.16.0/x/gov/types/deposit.go:13:13: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoins
../../pkg/mod/github.com/okex/okexchain@v0.16.0/x/gov/types/deposit.go:17:69: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoins
../../pkg/mod/github.com/okex/okexchain@v0.16.0/x/gov/types/errors.go:29:40: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/okexchain@v0.16.0/x/gov/types/errors.go:33:44: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/okexchain@v0.16.0/x/gov/types/errors.go:37:44: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/okexchain@v0.16.0/x/gov/types/errors.go:41:50: undefined: "github.com/cosmos/cosmos-sdk/types".Error
../../pkg/mod/github.com/okex/okexchain@v0.16.0/x/gov/types/proposal.go:23:17: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoins
../../pkg/mod/github.com/okex/okexchain@v0.16.0/x/gov/types/errors.go:41:50: too many errors
# github.com/okex/okexchain/x/params/client/utils
../../pkg/mod/github.com/okex/okexchain@v0.16.0/x/params/client/utils/utils.go:32:15: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoins
../../pkg/mod/github.com/okex/okexchain@v0.16.0/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/okexchain@v0.16.0/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/okexchain@v0.16.0/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/okexchain@v0.16.0/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/okexchain@v0.16.0/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/okexchain@v0.16.0/app/types/coin.go:30:39: undefined: "github.com/cosmos/cosmos-sdk/types".SysCoin
xyths commented 3 years ago

i have this error too

checknodeupdate commented 3 years ago

i have this error too