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

compile error #127

Open
Rgsolo opened this issue Mar 15, 2021 · 2 comments
Open

compile error #127

Rgsolo opened this issue Mar 15, 2021 · 2 comments

Comments

@Rgsolo
Copy link

Rgsolo commented Mar 15, 2021

# 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

@xyths
Copy link

xyths commented Apr 1, 2021

i have this error too

1 similar comment
@checknodeupdate
Copy link

i have this error too

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

3 participants