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 rc.3 #2139

Merged

Conversation

gjermundgaraba
Copy link
Contributor

No description provided.

leopardracer and others added 4 commits February 25, 2025 14:06
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.97%. Comparing base (2b4efde) to head (efa7a5a).
Report is 1 commits behind head on feat/ibc_eureka.

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                 @@
##           feat/ibc_eureka    #2139      +/-   ##
===================================================
- Coverage            46.10%   45.97%   -0.14%     
===================================================
  Files                   78       78              
  Lines                10731    10685      -46     
===================================================
- Hits                  4948     4912      -36     
+ Misses                5340     5335       -5     
+ Partials               443      438       -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%) ⬆️
x/wasm/keeper/relay.go 63.03% <ø> (ø)
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.

@kulikthebird kulikthebird changed the base branch from main to feat/ibc_eureka March 3, 2025 14:33
Copy link
Contributor

@kulikthebird kulikthebird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've had to change the branch base from main to feat/ibc_eureka - some extra commits from main are included now that shouldn't be the part of this PR. Other than that looks good to me. Thank you!

Copy link
Contributor

@pinosu pinosu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! LGTM 👍

@gjermundgaraba gjermundgaraba changed the title chore: update ibc-go v10 to beta.1 chore: update ibc-go v10 to rc.3 Mar 3, 2025
@gjermundgaraba
Copy link
Contributor Author

FYI: I just updated to the latest RC, in which there were a couple of minor changes. The "biggest" is probably callbacks getting embedded into ibc-go, so it's not a separate module in go.mod.

Take a look and let me know.

@pinosu
Copy link
Contributor

pinosu commented Mar 3, 2025

FYI: I just updated to the latest RC, in which there were a couple of minor changes. The "biggest" is probably callbacks getting embedded into ibc-go, so it's not a separate module in go.mod.

Take a look and let me know.

LGTM 👍

@pinosu pinosu merged commit d88b0e0 into CosmWasm:feat/ibc_eureka Mar 3, 2025
18 of 19 checks passed
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.

7 participants