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

refactor(experimental): optimise signTransaction to only encode the message once #1789

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

mcintyre94
Copy link
Collaborator

This greatly improves performance when signing a transaction with multiple keypairs

Fixes #1788

Copy link
Collaborator Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@lorisleiva
Copy link
Collaborator

Should we just remove the getCompiledMessageSignature helper since it's now just calling the signBytes function?

@mcintyre94
Copy link
Collaborator Author

Oops yep, updated! Thanks!

Copy link
Collaborator

@buffalojoec buffalojoec left a comment

Choose a reason for hiding this comment

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

Nice! This is a good performance enhancement.

@mcintyre94 mcintyre94 merged commit 10bfcd8 into master Oct 27, 2023
6 checks passed
@mcintyre94 mcintyre94 deleted the sign-performance branch October 27, 2023 14:54
Copy link
Collaborator

@steveluscher steveluscher left a comment

Choose a reason for hiding this comment

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

giphy

Copy link
Contributor

github-actions bot commented Nov 6, 2023

🎉 This PR is included in version 1.87.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[experimental] Performance issue on sign-heavy workloads
4 participants