Skip to content

fix(staking): [LW-8912] fix delegations with stake key (de)registrations being omitted from activity #713

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

Merged

Conversation

refi93
Copy link
Contributor

@refi93 refi93 commented Nov 8, 2023

Checklist

  • JIRA - 8912
  • Proper tests implemented
  • Screenshots added.

Proposed solution

Turns out ticket LW-8912 actually reported two issues and in #696 we fixed only one of them (pending txs being wrongly at the bottom of the activity list). This PR fixes the other issue which got overlooked, namely that delegation transactions without any stake key (de)registrations were incorrectly transformed to empty events

Testing

Make a delegation that just changes the pools, without changing their amount and check that the respective tx correctly appears in wallet activity

Screenshots

Before
Screenshot 2023-11-08 at 14 16 38

After
Screenshot 2023-11-08 at 14 12 58

@refi93 refi93 requested a review from a team as a code owner November 8, 2023 13:17
@github-actions github-actions bot added the browser Changes to the browser application. label Nov 8, 2023
Copy link

github-actions bot commented Nov 8, 2023

Allure report

allure-report-publisher generated test report!

smokeTests: ✅ test report for a398111a

passed failed skipped flaky total result
Total 31 0 0 0 31

Copy link
Contributor

@przemyslaw-wlodek przemyslaw-wlodek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍻 perfect, thank you!

@przemyslaw-wlodek przemyslaw-wlodek enabled auto-merge (squash) November 8, 2023 13:42
@przemyslaw-wlodek przemyslaw-wlodek enabled auto-merge (squash) November 8, 2023 13:52
@przemyslaw-wlodek przemyslaw-wlodek merged commit 9c530ba into main Nov 8, 2023
@przemyslaw-wlodek przemyslaw-wlodek deleted the fix/lw-8912-delegations-without-deposit-omitted branch November 8, 2023 13:54
danielmain pushed a commit that referenced this pull request Nov 8, 2023
shawnbusuttil pushed a commit that referenced this pull request Nov 17, 2023
* feat(staking): [LW-8879] persistence banner fix, minor banners refactor (#702)

persistence banner fix, minor banners refactor

* feat(extension): update lace version and default release note (#709)

* test(extension): test maintenance 7 Nov (#707)

* chore(extension): update multi-staking faq (#711)

* chore(extension): update multi-staking faq

* test(extension): fix LW-8465

---------

Co-authored-by: wklos-iohk <wojciech.klos@iohk.io>

* fix(staking): fix delegations with stake key (de)registrations being omitted from activity (#713)

* fix: lace crashing for ada handle wallets

---------

Co-authored-by: Rafael Korbaš <rafael.korbas@gmail.com>
Co-authored-by: Michael Chappell <7581002+mchappell@users.noreply.github.com>
Co-authored-by: Lukasz Jagiela <12641433+ljagiela@users.noreply.github.com>
Co-authored-by: wklos-iohk <wojciech.klos@iohk.io>
mchappell added a commit that referenced this pull request Nov 17, 2023
* feat(staking): [LW-8879] persistence banner fix, minor banners refactor (#702)

persistence banner fix, minor banners refactor

* feat(extension): update lace version and default release note (#709)

* test(extension): test maintenance 7 Nov (#707)

* chore(extension): update multi-staking faq (#711)

* chore(extension): update multi-staking faq

* test(extension): fix LW-8465

---------

Co-authored-by: wklos-iohk <wojciech.klos@iohk.io>

* fix(staking): fix delegations with stake key (de)registrations being omitted from activity (#713)

* fix: lace crashing for ada handle wallets

---------

Co-authored-by: Rafael Korbaš <rafael.korbas@gmail.com>
Co-authored-by: Michael Chappell <7581002+mchappell@users.noreply.github.com>
Co-authored-by: Lukasz Jagiela <12641433+ljagiela@users.noreply.github.com>
Co-authored-by: wklos-iohk <wojciech.klos@iohk.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser Changes to the browser application.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants