-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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(accounts): use gogoproto API instead of protov2. #18653
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
381c68c
RejectUknownFields is agnostic to how the descriptor is fetched
06abade
move description extraction to a later stage
4cba9cb
cleanups
30aed7a
add protov2 any unknown proto support
142a23c
Merge branch 'main' into tip/codec/unknown_any
5a02492
use protobuf.Any in x/accounts instead of golang any
6561acc
tmp commit praying to god
a575014
continue fixing with very much pain
f60f005
close to finish fixing all
eb78e39
fix all
262bc0b
revert interface registry changes
47aaba7
cleanup AddAccount logic and make it more lean
2b6a2f3
add interface registry
c8f9692
revert unknown proto changes
1b9d735
make linter happy
ce7b4e0
cli fixes
4054de8
CHANGELOG.md
58a3b20
lint gods are happy
6de1484
Update x/accounts/account_test.go
testinginprod a70d3fe
Merge branch 'main' into tip/accounts/use_any
testinginprod File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
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 review of the
NewSimApp
function changes confirms that the removal ofSigningContext()
and the addition ofappCodec.InterfaceRegistry()
is consistent with the PR's objectives. However, theSigningContext
method is used in various other parts of the codebase. It is important to ensure that these references are updated or handled appropriately to avoid breaking changes.SigningContext()
fromappCodec.InterfaceRegistry().SigningContext()
inNewSimApp
does not lead to unresolved references or logic errors in other parts of the codebase whereSigningContext
is used.Analysis chain
The changes in the
NewSimApp
function reflect the PR's objective to standardize the usage ofproto.Merge
for message merging. The removal ofSigningContext()
and the addition ofappCodec.InterfaceRegistry()
align with the PR's goal to replacegogoproto
withprotov2
API usage. Ensure that the removal ofSigningContext()
does not affect any downstream dependencies that might rely on this method.