-
Notifications
You must be signed in to change notification settings - Fork 418
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: Bump ibc-go version to 9.0.2 #2095
base: main
Are you sure you want to change the base?
Conversation
522dbfc
to
bd3b37b
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2095 +/- ##
==========================================
+ Coverage 42.99% 43.02% +0.03%
==========================================
Files 85 85
Lines 11601 11611 +10
==========================================
+ Hits 4988 4996 +8
- Misses 6166 6169 +3
+ Partials 447 446 -1
|
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.
Nice work!
tmLightClientModule := ibctm.NewLightClientModule(appCodec, storeProvider) | ||
clientKeeper.AddRoute(ibctm.ModuleName, &tmLightClientModule) | ||
|
||
smLightClientModule := solomachine.NewLightClientModule(appCodec, storeProvider) |
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.
Do we really want the solo machine here? The IBC integration docs only add the 07-tendermint light client
@@ -115,7 +114,6 @@ func NewRootCmd() *cobra.Command { | |||
// add keyring to autocli opts | |||
autoCliOpts := tempApp.AutoCliOpts() | |||
initClientCtx, _ = config.ReadFromClientConfig(initClientCtx) | |||
autoCliOpts.Keyring, _ = keyring.NewAutoCLIKeyring(initClientCtx.Keyring) |
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.
Is this related to the ibc-go update?
@@ -43,12 +43,12 @@ func TestIBCCallbacks(t *testing.T) { | |||
path := wasmibctesting.NewPath(chainA, chainB) | |||
path.EndpointA.ChannelConfig = &ibctesting.ChannelConfig{ | |||
PortID: ibctransfertypes.PortID, | |||
Version: string(marshaler.MustMarshalJSON(&ibcfee.Metadata{FeeVersion: ibcfee.Version, AppVersion: ibctransfertypes.Version})), | |||
Version: string(marshaler.MustMarshalJSON(&ibcfee.Metadata{FeeVersion: ibcfee.Version, AppVersion: ibctransfertypes.V2})), |
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.
Ah, nice. So, v9 enables transferv2 by default now?
@@ -299,6 +300,7 @@ func (i IBCHandler) OnRecvPacket( | |||
// OnAcknowledgementPacket implements the IBCModule interface | |||
func (i IBCHandler) OnAcknowledgementPacket( | |||
ctx sdk.Context, | |||
channelVersion string, |
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.
Do we need to expose this to the contract? (Maybe not in here, but in the long term?)
func (chain *TestChain) GetLatestHeight(clientState exported.ClientState) clienttypes.Height { | ||
tmClientState, ok := clientState.(*ibctm.ClientState) | ||
if !ok { | ||
panic("invalid client state type") | ||
} | ||
return tmClientState.LatestHeight | ||
} |
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.
Why is this a method on the TestChain
type? It doesn't use the chain
at all. Couldn't this be a freestanding function?
No description provided.