Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat(ibc transfer): Register IBC denom on transfer #900
feat(ibc transfer): Register IBC denom on transfer #900
Changes from all commits
643c7c3
f8cc977
3e2d774
f1b7f51
47b304c
fcb376a
478335b
3fca845
c010ae6
d7d8b87
357583c
9912cd9
6799b0d
4184eec
a8ef993
930b1ee
af8d8e5
f212f66
361cbba
5a66d6b
6451a3a
0e77001
6048251
6ab10f2
f5c5c15
62d434d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Introduction of
bridging_fee.NewIBCMiddleware
The introduction of a new IBC middleware for handling bridging fees is a significant addition. This middleware is expected to handle the fees associated with IBC transfers.
It is recommended to perform a security audit on the new bridging fee middleware to ensure that it handles fees securely and correctly.
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.
Integration of
NewIBCAckMiddleware
The integration of
NewIBCAckMiddleware
is aimed at handling acknowledgments in IBC transfers. This is a critical part of ensuring that transfers are completed successfully.Consider adding unit tests for the
NewIBCAckMiddleware
to ensure its correct functionality and robust handling of different scenarios.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.
Consider using a helper function for setting metadata.
To improve code readability and reusability, consider encapsulating the metadata setting logic into a helper function within the test suite. This will make the
SetupTest
method cleaner and more maintainable.Committable suggestion
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 and optimize the fee calculation logic in
eIBCDemandOrderHandler
.The fee calculation logic could be optimized by consolidating the repeated code and ensuring that the fee calculations are accurate and efficient. Additionally, consider adding more comprehensive unit tests to cover all possible scenarios and edge cases related to fee calculations.
Also applies to: 67-67, 89-89, 129-129