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

Fixed transaction signatures order. #84

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zorba128
Copy link
Contributor

Improved Message to support external signers.
Also some refactorings be able to use it outside of Transaction/TransactionBuilder.

Signed-off-by: Marcin Kielar <zorba128@interia.pl>
Signed-off-by: Marcin Kielar <zorba128@interia.pl>
….serialize` is called without preceding it with `Transaction.sign`.

Signed-off-by: Marcin Kielar <zorba128@interia.pl>
@zorba128
Copy link
Contributor Author

zorba128 commented Jan 4, 2025

Also updated Transaction/TransactionBuilder signature handling to ensure correct signature order. This should make it possible to correctly sign non-trivial transactions that involve multiple instructions/accounts.

@zorba128 zorba128 changed the title Refactored Message to support external signers Fixed transaction signatures order. Jan 4, 2025
@zorba128
Copy link
Contributor Author

Any chance? Or maybe discussion? This is really broken, with transaction that requires few signatures it is impossible now to guess what to pass to sign method... Just try to make transaction with memo and few different token transfers.

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.

1 participant