Skip to content

fix: skip combineSigShare check for non-EIP191 message signing #6686

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

Conversation

bhavidhingra
Copy link
Contributor

@bhavidhingra bhavidhingra commented Aug 12, 2025

This pull request introduces a minor update to the Wallet class to improve message signing validation for Ethereum-family coins. Specifically, it adds a check to ensure that combineSigShare is present in the signed message request when the coin family is Ethereum.

Validation improvements for Ethereum-family coins:

  • Added a conditional check in the Wallet class to assert the presence of combineSigShare in signedMessageRequest.messages only for coins in the Ethereum family, using the CoinFamily enum.
  • Imported CoinFamily from @bitgo/statics to support the new conditional logic.

TICKET: COIN-5225

@bhavidhingra bhavidhingra force-pushed the coin-5225-skip-combineSigShare-check-for-non-eip191-msg-signing branch from 26a1214 to d09bd9d Compare August 12, 2025 13:39
@hrishikeshjain hrishikeshjain marked this pull request as ready for review August 12, 2025 13:43
@hrishikeshjain hrishikeshjain requested review from a team as code owners August 12, 2025 13:43
@bhavidhingra bhavidhingra merged commit 612c66b into master Aug 13, 2025
20 of 22 checks passed
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