-
Notifications
You must be signed in to change notification settings - Fork 61
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
upgrade pfm to v5.2.2 #1356
upgrade pfm to v5.2.2 #1356
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe changes involve a strategic update in import paths for packet forwarding middleware, transitioning from Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Review Status
Actionable comments generated: 2
Configuration used: CodeRabbit UI
Files ignored due to path filters (2)
go.mod
is excluded by:!**/*.mod
go.sum
is excluded by:!**/*.sum
Files selected for processing (4)
- app/keepers/keepers.go (1 hunks)
- app/keepers/keys.go (1 hunks)
- app/modules.go (1 hunks)
- app/upgrades.go (1 hunks)
Additional comments: 5
app/upgrades.go (1)
- 6-6: The updated import path for
packetforwardtypes
aligns with the PR objectives and is correctly implemented.app/keepers/keys.go (1)
- 5-5: The updated import path for
packetforwardtypes
aligns with the PR objectives and is correctly implemented.app/modules.go (1)
- 6-6: The updated import path for
packetforwardtypes
aligns with the PR objectives and is correctly implemented.app/keepers/keepers.go (2)
- 6-6: The updated import path for
packetforwardkeeper
aligns with the PR objectives and is correctly implemented.- 7-7: The updated import path for
packetforwardtypes
aligns with the PR objectives and is correctly implemented.
app/modules.go
Outdated
@@ -2,8 +2,8 @@ | |||
|
|||
import ( | |||
"github.com/CosmWasm/wasmd/x/wasm" | |||
packetforward "github.com/strangelove-ventures/packet-forward-middleware/v5/router" | |||
packetforwardtypes "github.com/strangelove-ventures/packet-forward-middleware/v5/router/types" | |||
packetforward "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5/packetforward" |
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.
The import alias for packetforward
is redundant. Since the package name matches the alias, you can remove the alias for clarity.
- packetforward "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5/packetforward"
+ "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5/packetforward"
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
packetforward "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5/packetforward" | |
"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5/packetforward" |
app/keepers/keepers.go
Outdated
packetforward "github.com/strangelove-ventures/packet-forward-middleware/v5/router" | ||
packetforwardkeeper "github.com/strangelove-ventures/packet-forward-middleware/v5/router/keeper" | ||
packetforwardtypes "github.com/strangelove-ventures/packet-forward-middleware/v5/router/types" | ||
packetforward "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5/packetforward" |
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.
The import alias for packetforward
is redundant. Since the package name matches the alias, you can remove the alias for clarity.
- packetforward "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5/packetforward"
+ "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5/packetforward"
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
packetforward "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5/packetforward" | |
"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v5/packetforward" |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1356 +/- ##
=======================================
Coverage 63.51% 63.51%
=======================================
Files 171 171
Lines 11636 11636
=======================================
Hits 7391 7391
Misses 3500 3500
Partials 745 745
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (2)
- app/keepers/keepers.go (1 hunks)
- app/modules.go (1 hunks)
Files skipped from review as they are similar to previous changes (2)
- app/keepers/keepers.go
- app/modules.go
This pull request has been deployed to Vercel.
|
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.
LGTM
When you lgtm, can you add an 'approve' review, rather than just comment, else I can't merge the PR 🙏🏻 |
1. Summary
Fixes #1328
Upgrade packet forwarding middleware to v5.2.2
2.Type of change
3. Implementation details
Upgrade packet forwarding middleware to v5.2.2
Summary by CodeRabbit
cosmos/ibc-apps
.