-
Notifications
You must be signed in to change notification settings - Fork 626
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: rename proofXyz
-> xyzProof
#5599
chore: rename proofXyz
-> xyzProof
#5599
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #5599 +/- ##
==========================================
+ Coverage 81.18% 81.22% +0.04%
==========================================
Files 197 197
Lines 15247 15258 +11
==========================================
+ Hits 12378 12394 +16
+ Misses 2404 2399 -5
Partials 465 465
|
Seeing a couple of spots (only checked for function args in grep output, testing code and protobuf pb's excluded):
saw a bunch of em in testing code, maybe that can be left for other PR since they do appear to be plenty of em (also in |
Yay, thanks, @DimitrisJim!
Yeah, I noticed that as well. I could change those names to be more specific as well, if people prefer.
Indeed, I left all the proto and pb.go files untouched. |
yea, seeing connection's verify funcs generally follow a different pattern ( |
Agree, would be nice if they all just used |
…h the other verification functions
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, can do a rename in tests afterwards if people want.
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.
My vote would be for dropping the counterparty
prefix for proof vars. Otherwise LGTM! Thank you @crodriguezvega and @DimitrisJim 🙏🏻
* chore: rename proofXyz -> xyzProof * more renaming * rename VerifyChannelUpgradeError proof parameters for consistency with the other verification functions * remove counterparty prefix from proof names --------- Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com> (cherry picked from commit 9184de3) # Conflicts: # docs/docs/03-light-clients/01-developer-guide/05-upgrades.md # modules/core/02-client/keeper/client_test.go # modules/core/04-channel/types/msgs.go # modules/core/ante/ante_test.go # modules/core/keeper/msg_server_test.go # modules/light-clients/08-wasm/types/upgrade.go # modules/light-clients/08-wasm/types/upgrade_test.go
* chore: rename `proofXyz` -> `xyzProof` (#5599) * chore: rename proofXyz -> xyzProof * more renaming * rename VerifyChannelUpgradeError proof parameters for consistency with the other verification functions * remove counterparty prefix from proof names --------- Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com> (cherry picked from commit 9184de3) # Conflicts: # docs/docs/03-light-clients/01-developer-guide/05-upgrades.md # modules/core/02-client/keeper/client_test.go # modules/core/04-channel/types/msgs.go # modules/core/ante/ante_test.go # modules/core/keeper/msg_server_test.go # modules/light-clients/08-wasm/types/upgrade.go # modules/light-clients/08-wasm/types/upgrade_test.go * resolve conflicts * delete docs --------- Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
Description
I will rely on @DimitrisJim's grep superpowers to pinpoint which ones I am still missing!
closes: #4053
closes: #3726
Commit Message / Changelog Entry
see the guidelines for commit messages. (view raw markdown for examples)
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
).godoc
comments.Files changed
in the Github PR explorer.Codecov Report
in the comment section below once CI passes.