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

⬆️ Upgrade to Cosmos SDK v0.46.10 with ibc-go v5.2.0 #100

Merged
merged 4 commits into from
May 8, 2023

Conversation

nnkken
Copy link
Contributor

@nnkken nnkken commented Mar 22, 2023

No description provided.

// helpers from cosmos-sdk is not helpful enough, need ibc-go helpers to backup
// (which is just the old version of "github.com/cosmos/cosmos-sdk/simapp/helpers")
// (maybe they think it is too helpful, so they modified it in the new version to be less helpful)
ibcgohelpers "github.com/cosmos/ibc-go/v5/testing/simapp/helpers"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the actual thing that is missing? GenTx?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, GenTx is missing.
BTW in a following PR #99 this import is removed since we need additional functionality for setting FeeGranter in tx

suite.chainB = suite.coordinator.GetChain(ibctesting.GetChainID(1))
suite.chainC = suite.coordinator.GetChain(ibctesting.GetChainID(2))
// they changed from 0-indexed to 1-indexed, I don't understand why
// all I know is that MY CODE IS BROKEN THANKS TO THAT
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to relate to this cosmos/ibc-go#774 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It reads like "we serve big chains, you small chain fxxk off"

go.mod Outdated
@@ -3,92 +3,119 @@ module github.com/likecoin/likecoin-chain/v3
go 1.18

require (
github.com/cosmos/cosmos-sdk v0.45.11
github.com/cosmos/ibc-go/v2 v2.4.2
github.com/bianjieai/nft-transfer v1.1.1-beta
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this in this PR

appCodec,
keys[ibctransfertypes.StoreKey],
ibcTransferSubspace,
app.IBCKeeper.ChannelKeeper,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(not sure) Should we use IBCFeeKeeper here or is it a extra new optional thing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IBCFeeKeeper should be for incentivizing relayers? Not quite sure but I think it's not applicable here

@williamchong williamchong merged commit 6c5bddb into likecoin:master May 8, 2023
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

Successfully merging this pull request may close these issues.

3 participants