-
Notifications
You must be signed in to change notification settings - Fork 31
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
feat: update x/ibc to support github.com/cosmos/ibc-go@v3.0.0 #651
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add swagger apis like https://github.com/cosmos/ibc-go/blob/46e020640e66f9043c14c53a4d215a5b457d6703/docs/client/config.json#L8-L41.
@zemyblue It already exists in the current main branch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
x/ibc/core/genesis_test.go
Outdated
} | ||
|
||
func TestIBCTestSuite(t *testing.T) { | ||
suite.Run(t, new(IBCTestSuite)) | ||
} | ||
|
||
func (suite *IBCTestSuite) TestValidateGenesis() { | ||
header := suite.chainA.CreateOCClientHeader(suite.chainA.ChainID, suite.chainA.CurrentHeader.Height, clienttypes.NewHeight(0, uint64(suite.chainA.CurrentHeader.Height-1)), suite.chainA.CurrentHeader.Time, suite.chainA.Vals, suite.chainA.Vals, suite.chainA.Voters, suite.chainA.Voters, suite.chainA.Signers) | ||
header := suite.chainA.CreateTMClientHeader(suite.chainA.ChainID, suite.chainA.CurrentHeader.Height, clienttypes.NewHeight(0, uint64(suite.chainA.CurrentHeader.Height-1)), suite.chainA.CurrentHeader.Time, suite.chainA.Vals, suite.chainA.Vals, suite.chainA.Voters, suite.chainA.Voters, suite.chainA.Signers) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This logic can communicate with other cosmos-sdk ibc modules?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you asking if the name was changed on purpose? This fix was unintentional. I fixed it.
This logic is not related with cosmos-sdk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I just wanted to know this x/ibc module can communicate with other cosmos-sdk base chains. Is it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be a big task, so I'll tackle it as a separate issue. I created the issue as #676.
I agree with your concerns/meanings. But I know that Okay, then, let's separates into other PR. |
I mean that I'd like to update the PR description about inter-tx module. |
|
@zemyblue There is no problem as it is, but the FIXME can be eliminate by setting the correct storage gas value. So, I fixed it in 38f772f. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR enable to support
github.com/cosmos/ibc-go@v3.0.0
.The directory structure between
x/ibc
andibc-go
is different. The directories correspond as follows.This PR contains the following changes:
x/ibc
github.com/cosmos/ibc-go@v3.0.0
x/wasm
to support updatedx/ibc
github.com/cosmos/ibc-go/testing/simapp
andgit.luolix.top/CosmWasm/wasmd/app
intogit.luolix.top/line/lbm-sdk/simapp
This PR contains the following lbm-sdk specific changes:
github.com/cosmos/ibc-go/testing/simapp
andgit.luolix.top/CosmWasm/wasmd/app
intogit.luolix.top/line/lbm-sdk/simapp
x/bankplus/keeper.SendCoinsFromModuleToAccount
that does not have blacklist check (commit: acb3a9d)github.com/cosmos/ibc-go
to supportostracon
(commit: c57f8e3)github.com/cosmos/ibc-go/proto
intolbm-sdk/proto
(commit: ce9e58b)inter-tx
module insimapp
and there are the following notes regardinginter-tx
.https://github.com/CosmWasm/wasmd/blob/v0.27.0/app/app.go#L96-L100
closes: #585
Motivation and context
How has this been tested?
Screenshots (if appropriate):
Checklist:
CHANGELOG.md
client/docs/swagger-ui/swagger.yaml