-
Notifications
You must be signed in to change notification settings - Fork 48
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
Remove profile duplicated validation #557
Conversation
Codecov Report
@@ Coverage Diff @@
## master #557 +/- ##
==========================================
- Coverage 82.84% 82.83% -0.01%
==========================================
Files 91 91
Lines 5480 5477 -3
==========================================
- Hits 4540 4537 -3
Misses 737 737
Partials 203 203
Continue to review full report at Codecov.
|
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
Re-checking this, to be honest I'm not sure whether we should have this removed inside the |
@RiccardoM I've performed a bench test on with validation:
without validation:
Thoughts? |
@bragaz Can you please push the bechmark test code? It's hard to understand what those results mean without having a look at the code |
@RiccardoM yeah sure, I forgot to push it |
@bragaz After watching at the benchmarks and the code, I think it's safe to delete he |
@RiccardoM done |
…profile-double-validation
Signed-off-by: Riccardo Montagnin <[email protected]>
See PR #557 (cherry picked from commit be23505) Signed-off-by: Riccardo Montagnin <[email protected]>
See PR #557 (cherry picked from commit be23505) Signed-off-by: Riccardo Montagnin <[email protected]>
* Version 0.17.3 Signed-off-by: Riccardo Montagnin <[email protected]> * Update CHANGELOG.md * Added the on-chain upgrade handler Signed-off-by: Riccardo Montagnin <[email protected]> * Updated Cosmos SDK to fix --dry-run Signed-off-by: Riccardo Montagnin <[email protected]> * Version 0.17.6 - Updated Cosmos to v0.42.8 - Added the upgrade handler for the upcoming on-chain upgrade Signed-off-by: Riccardo Montagnin <[email protected]> * Updated Cosmos SDK to fix the capability issue Signed-off-by: Riccardo Montagnin <[email protected]> * Updated CHANGELOG Signed-off-by: Riccardo Montagnin <[email protected]> * Removed useless replace from within go.mod Signed-off-by: Riccardo Montagnin <[email protected]> * Release workflow update Fixed tags not being fetched correctly * Improve pagination See PR #544 (cherry picked from commit b066424) Signed-off-by: Riccardo Montagnin <[email protected]> * Require chain name to be lowercase See PR #153 (cherry picked from commit 66e0c98) Signed-off-by: Riccardo Montagnin <[email protected]> * Improved profile validation performance See PR #557 (cherry picked from commit be23505) Signed-off-by: Riccardo Montagnin <[email protected]> * Added command to generate chain link JSON See PR #583 (cherry picked from commit cddb501) * Changed Ledger app name to Desmos See PR #590 (cherry picked from commit 91b21f7) * Updated CHANGELOG * Removed app migration support * Removed unused Proto file * Version 1.0.1 * fix: flag indicator in profile save example * add: flag indicator in example * Added changeset entry Signed-off-by: Riccardo Montagnin <[email protected]> Co-authored-by: Riccardo Montagnin <[email protected]> (cherry picked from commit b40144b) * Version 1.0.2 Signed-off-by: Riccardo Montagnin <[email protected]> Co-authored-by: Paul <[email protected]> Co-authored-by: Leonardo Bragagnolo <[email protected]> Co-authored-by: Wingman L <[email protected]>
* Version 0.17.3 Signed-off-by: Riccardo Montagnin <[email protected]> * Update CHANGELOG.md * Added the on-chain upgrade handler Signed-off-by: Riccardo Montagnin <[email protected]> * Updated Cosmos SDK to fix --dry-run Signed-off-by: Riccardo Montagnin <[email protected]> * Version 0.17.6 - Updated Cosmos to v0.42.8 - Added the upgrade handler for the upcoming on-chain upgrade Signed-off-by: Riccardo Montagnin <[email protected]> * Updated Cosmos SDK to fix the capability issue Signed-off-by: Riccardo Montagnin <[email protected]> * Updated CHANGELOG Signed-off-by: Riccardo Montagnin <[email protected]> * Removed useless replace from within go.mod Signed-off-by: Riccardo Montagnin <[email protected]> * Release workflow update Fixed tags not being fetched correctly * Improve pagination See PR #544 (cherry picked from commit b066424) Signed-off-by: Riccardo Montagnin <[email protected]> * Require chain name to be lowercase See PR #153 (cherry picked from commit 66e0c98) Signed-off-by: Riccardo Montagnin <[email protected]> * Improved profile validation performance See PR #557 (cherry picked from commit be23505) Signed-off-by: Riccardo Montagnin <[email protected]> * Added command to generate chain link JSON See PR #583 (cherry picked from commit cddb501) * Changed Ledger app name to Desmos See PR #590 (cherry picked from commit 91b21f7) * Updated CHANGELOG * Removed app migration support * Removed unused Proto file * Version 1.0.1 * fix: flag indicator in profile save example * add: flag indicator in example * Added changeset entry Signed-off-by: Riccardo Montagnin <[email protected]> Co-authored-by: Riccardo Montagnin <[email protected]> (cherry picked from commit b40144b) * Version 1.0.2 Signed-off-by: Riccardo Montagnin <[email protected]> * fix: added missing \ in profile save command example (#602) (cherry picked from commit 3a73c95) * Version v1.0.3 Signed-off-by: Riccardo Montagnin <[email protected]> Co-authored-by: Paul <[email protected]> Co-authored-by: Leonardo Bragagnolo <[email protected]> Co-authored-by: Wingman L <[email protected]>
Description
This PR remove the double validation made inside
Profile
Update()
function leaving only thatinside the
keeper
Validate()
.Closes #548
Checklist
CHANGELOG.md
file.Files changed
in the Github PR explorer.