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

For multiKey simulation - use signature of same type #645

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

heliuchuan
Copy link
Contributor

Description

Previously multikey just used null ed25519 signatures. This gave too optimistic gasEstimates which would lead to MAX_GAS_UNITS_BELOW_MIN_TRANSACTION_GAS_UNITS error. It is better to be pessimistic within reason.

TODO - only include N signatures where N = signaturesRequired. Right now we have N = num of pub keys

Test Plan

Related Links

Checklist

  • Have you ran pnpm fmt?
  • Have you updated the CHANGELOG.md?

@heliuchuan heliuchuan marked this pull request as ready for review February 21, 2025 21:04
@heliuchuan heliuchuan requested a review from a team as a code owner February 21, 2025 21:04
Copy link
Contributor

@GhostWalker562 GhostWalker562 left a comment

Choose a reason for hiding this comment

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

Looks good!

Make sure to update the CHANGELOG too 🙏

@heliuchuan heliuchuan enabled auto-merge (squash) February 21, 2025 21:15
@heliuchuan heliuchuan merged commit 7bb7939 into main Feb 21, 2025
13 of 14 checks passed
@heliuchuan heliuchuan deleted the fix-multi-key-simul branch February 21, 2025 21:20
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.

2 participants