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

CosmWasm #45

Open
faddat opened this issue Sep 6, 2022 · 1 comment
Open

CosmWasm #45

faddat opened this issue Sep 6, 2022 · 1 comment

Comments

@faddat
Copy link
Collaborator

faddat commented Sep 6, 2022

Currently, the LSM is type-incompatible with CosmWasm, the same way that it was with ibc-go here:

I'm going to try and copy the style Vuong used for the Shimmy in #44 and make LSM more easily compatible with CosmWasm.

@faddat
Copy link
Collaborator Author

faddat commented Sep 11, 2022

have GetAllDelegatorDelegations(ctx "github.com/cosmos/cosmos-sdk/types".Context, delegator "github.com/cosmos/cosmos-sdk/types".AccAddress) []"github.com/iqlusioninc/liquidity-staking-module/x/staking/types".Delegation
		want GetAllDelegatorDelegations(ctx "github.com/cosmos/cosmos-sdk/types".Context, delegator "github.com/cosmos/cosmos-sdk/types".AccAddress) []"github.com/cosmos/cosmos-sdk/x/staking/types".Delegation
have DelegationRewards(c "context".Context, req *"github.com/iqlusioninc/liquidity-staking-module/x/distribution/types".QueryDelegationRewardsRequest) (*"github.com/iqlusioninc/liquidity-staking-module/x/distribution/types".QueryDelegationRewardsResponse, error)
		want DelegationRewards(c "context".Context, req *"github.com/cosmos/cosmos-sdk/x/distribution/types".QueryDelegationRewardsRequest) (*"github.com/cosmos/cosmos-sdk/x/distribution/types".QueryDelegationRewardsResponse, error)

vendored genutil, distribution, staking and slashing into eve.

Next is to make them return cosmos-sdk types and then upstream the changes so that the lsm can be imported more easily in chains supporting cosmwasm.

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

1 participant