-
Notifications
You must be signed in to change notification settings - Fork 859
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
impv(ics20): Common approval methods and tests refactor #1849
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1849 +/- ##
==========================================
- Coverage 70.42% 70.39% -0.03%
==========================================
Files 313 314 +1
Lines 23310 23391 +81
==========================================
+ Hits 16416 16467 +51
- Misses 6072 6111 +39
+ Partials 822 813 -9
|
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.
Looks good! Thanks @Vvaradinov 🚀 left some nits
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
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.
Great job @Vvaradinov!
https://github.com/Mergifyio backport release/v15.0.x |
✅ Backports have been created
|
* fix: add some of the refactors * add CHANGELOG * fix: common approval logic and test refactor to use the new event emitting * CHANGELOG * fix: rename variables and regenerate ABI after merge * Apply suggestions from code review Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com> * fix: replaced name from origin to granter and minor fixes * fix: revert changes meant for another branch * fix: revert errors * fix: space --------- Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com> (cherry picked from commit ee3e7da) # Conflicts: # CHANGELOG.md # precompiles/ics20/approve.go
…) (#1873) * impv(ics20): Common approval methods and tests refactor (#1849) * fix: add some of the refactors * add CHANGELOG * fix: common approval logic and test refactor to use the new event emitting * CHANGELOG * fix: rename variables and regenerate ABI after merge * Apply suggestions from code review Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com> * fix: replaced name from origin to granter and minor fixes * fix: revert changes meant for another branch * fix: revert errors * fix: space --------- Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com> (cherry picked from commit ee3e7da) # Conflicts: # CHANGELOG.md # precompiles/ics20/approve.go * fix: merge conflicts * CHANGELOG * CHANGELOG --------- Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>
Description
This is the 2nd PR in the series which extracts the common Approval methods into a
approve_common.go
. It also fixes the failing unit and integration tests to include the correct events and names.Closes #XXX