-
Notifications
You must be signed in to change notification settings - Fork 0
feat: upgrade ibc-go v2 to v4 #1
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
base: master
Are you sure you want to change the base?
Conversation
x/ibctransfer/module.go
Outdated
| func (am AppModule) OnAcknowledgementPacket(ctx sdk.Context, packet types.Packet, acknowledgement []byte, relayer sdk.AccAddress) error { | ||
| return am.cosmosAppModule.OnAcknowledgementPacket(ctx, packet, acknowledgement, relayer) | ||
| } | ||
| // func (am AppModule) OnAcknowledgementPacket(ctx sdk.Context, packet types.Packet, acknowledgement []byte, relayer sdk.AccAddress) error { |
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.
I think we still need to implement these methods. Now they are in the separate type IBCModule.
* Make ganache listen on both IPv4 and IPv6 * Upgrade requirements * Additional fixes * Fix GitHub CI workflows 'Lint' and 'Golang CI'
| app.GetSubspace(disptypes.ModuleName), | ||
| ) | ||
| mockModule := ibcmock.NewAppModule(scopedIBCMockKeeper, &app.IBCKeeper.PortKeeper) | ||
| mockModule := ibcmock.NewAppModule(&app.IBCKeeper.PortKeeper) |
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.
Maybe I'm missing something but I don't quite understand why is the mock needed....
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.
@faneaatiku here is an explanation:
https://github.com/atheeshp/sifnode/blob/master/app/app.go#L308-L309
// NOTE: the IBC mock keeper and application module is used only for testing core IBC. Do
// note replicate if you do not need to test core IBC or light clients.
No description provided.