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
ci: actually enable v2 system test #21539
ci: actually enable v2 system test #21539
Changes from 26 commits
1c4061c
95e845b
a0772cb
e0337c5
d9fe1e4
8ce5a28
2e5d2bf
c8f0407
7fc41ab
f5d7bc7
959c8e3
a272a12
dfd883b
8874079
fce4282
9b7824c
76820d4
5bc48d6
4788bfe
ba2a08f
54242c0
327b2cd
d50a7e3
6146e26
4fbffca
2ed0270
9361c10
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
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.
🛠️ Refactor suggestion
Overall improvement in error handling and transaction result details
The changes successfully address the issue mentioned in #21881 by ensuring that error codes, codespace, and logs are properly propagated in the transaction results. This improvement enhances the clarity and robustness of the error handling process.
Consider adding a debug log statement after line 26 to log the extracted error information. This could be helpful for troubleshooting in the future. For example:
This addition would provide valuable debugging information without affecting the normal flow of the function.
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.
💡 Codebase verification
Imports of
cosmossdk.io/errors/v2
are inconsistent across the codebase.Multiple files still import the old
cosmossdk.io/errors
. Please update all imports to usecosmossdk.io/errors/v2
to ensure consistency and leverage the benefits of the v2 errors package.Analysis chain
LGTM. Verify v2 package usage across the codebase.
The update to
cosmossdk.io/errors/v2
aligns with the PR objective of enabling v2 system tests. This change follows the Uber Golang style guide for imports.To ensure consistency, please run the following script to verify the usage of the v2 errors package across the codebase:
Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 888