Skip to content
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

feature(wallet-mobile): new tx review for withdraw staking rewards #3707

Merged
merged 7 commits into from
Oct 24, 2024

Conversation

banklesss
Copy link
Contributor

Description / Change(s) / Related issue(s)

New tx review for withdraw staking rewards feature.

Includes a operations refactor.

Ticket

YV-41

@jorbuedo jorbuedo mentioned this pull request Oct 24, 2024
@@ -152,6 +168,7 @@ type ReviewTxActions = {
onErrorChanged: (onError: ReviewTxState['onError']) => void
Copy link
Member

Choose a reason for hiding this comment

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

is not a good idea to have objects that are not serializable in the state, (eg. if we decide to leverage persisted state this will fail), and context also can quickly become a problem

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah. It is a temporal solution until the common error screens are implemented

@stackchain
Copy link
Member

@banklesss bring it in, but create a task to remove all callbacks out of the state.

@stackchain stackchain merged commit 5a8dcc7 into develop Oct 24, 2024
2 checks passed
@stackchain stackchain mentioned this pull request Dec 5, 2024
56 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants