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

feat: use pool delegation endpoint for constructing drep tx no matter the wallet type #3262

Conversation

szymonmaslowski
Copy link
Contributor

@szymonmaslowski szymonmaslowski commented Dec 11, 2024

Workaround for cardano-foundation/cardano-wallet#4872

https://input-output.atlassian.net/browse/LW-11980

The constructTransaction endpoint of CWB seems to fail on vote delegation for some of mnemonic wallets. We can mitigate the problem by using a pool delegation endpoint, as we do for hardware wallets.

The PR targeted to release/7.0.1 temporarily until we have a next release branch.

@szymonmaslowski
Copy link
Contributor Author

I recommend reviewing with the "hide whitespace" option
image

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.

Nice job @szymonmaslowski! I left just one comment about error log.

source/renderer/app/stores/VotingStore.ts Show resolved Hide resolved
Copy link
Member

@DominikGuzei DominikGuzei left a comment

Choose a reason for hiding this comment

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

great catch 👍

Copy link
Member

@michalrus michalrus left a comment

Choose a reason for hiding this comment

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

This PR can now target either develop or release/7.0.2.

release/7.0.1 is done and closed :)

@szymonmaslowski szymonmaslowski changed the base branch from release/7.0.1 to develop December 12, 2024 10:54
@szymonmaslowski szymonmaslowski changed the base branch from develop to release/7.0.2 December 12, 2024 11:01
@szymonmaslowski szymonmaslowski force-pushed the feat/pool-delegation-endpoint-for-drep-tx-construction branch from f976c42 to 6cdd7ba Compare December 12, 2024 11:05
@szymonmaslowski szymonmaslowski marked this pull request as ready for review December 12, 2024 11:05
@szymonmaslowski szymonmaslowski merged commit 1eb7a3d into release/7.0.2 Dec 12, 2024
4 of 5 checks passed
@szymonmaslowski szymonmaslowski deleted the feat/pool-delegation-endpoint-for-drep-tx-construction branch December 12, 2024 12:23
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.

4 participants