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

chore: update ibc-go v10 to beta.1 #2139

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

gjermundgaraba
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Feb 26, 2025

Codecov Report

Attention: Patch coverage is 94.11765% with 1 line in your changes missing coverage. Please review.

Project coverage is 45.98%. Comparing base (90b49fc) to head (94ee013).

Files with missing lines Patch % Lines
tests/wasmibctesting/utils.go 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            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     
Files with missing lines Coverage Δ
app/app.go 85.23% <100.00%> (-0.32%) ⬇️
x/wasm/keeper/handler_plugin_encoders.go 80.58% <100.00%> (+1.10%) ⬆️
tests/wasmibctesting/utils.go 0.00% <0.00%> (ø)

Copy link
Member

@webmaster128 webmaster128 left a 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,
Copy link
Member

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

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 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
Copy link
Member

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

Copy link
Contributor Author

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.

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.

2 participants