-
Notifications
You must be signed in to change notification settings - Fork 440
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
chore: update ibc-go v10 to beta.1 #2139
base: main
Are you sure you want to change the base?
chore: update ibc-go v10 to beta.1 #2139
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2139 +/- ##
==========================================
- Coverage 46.12% 45.98% -0.14%
==========================================
Files 78 78
Lines 10731 10685 -46
==========================================
- Hits 4950 4914 -36
+ Misses 5339 5334 -5
+ Partials 442 437 -5
|
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.
Two first thoughts, incomplete review
@@ -567,7 +557,7 @@ func NewWasmApp( | |||
appCodec, | |||
runtime.NewKVStoreService(keys[icahosttypes.StoreKey]), | |||
app.GetSubspace(icahosttypes.SubModuleName), | |||
app.IBCFeeKeeper, // use ics29 fee as ics4Wrapper in middleware stack | |||
app.IBCKeeper.ChannelKeeper, | |||
app.IBCKeeper.ChannelKeeper, |
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 app.IBCKeeper.ChannelKeeper, app.IBCKeeper.ChannelKeeper,
looks fishy
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 is correct here though, as there is no stack (porttypes.ICS4Wrapper), so we can just use the channelkeeper as the stack.
}, | ||
PacketFee: ibcfeetypes.NewPacketFee(fee, sender.String(), msg.PayPacketFeeAsync.Relayers), | ||
} | ||
return []sdk.Msg{msg}, nil |
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 would suggest keeping the cases here and add more specific error messages than the fallback
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.
Good point. Added that and tests for it too.
No description provided.