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

Fix signMessage failing for messages of certain lengths #273

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

bigspider
Copy link
Collaborator

A bug present since version 2.2.2 makes signMessage fail for certain message lengths, due to an overflow in the requests to the client in the new UX for arbitrary message lengths.

The UX refactoring in version 2.2.2 introduced a bug where signing messages
with certain lengths would fail, as the app would ask the client about chunks
with an overflowing index.
Copy link

sonarcloud bot commented Aug 6, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.73%. Comparing base (6367fb2) to head (23d0ddf).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #273   +/-   ##
========================================
  Coverage    84.73%   84.73%           
========================================
  Files           17       17           
  Lines         2181     2181           
========================================
  Hits          1848     1848           
  Misses         333      333           
Flag Coverage Δ
unittests 84.73% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bigspider bigspider merged commit 4c60d06 into develop Aug 7, 2024
143 of 147 checks passed
@bigspider bigspider deleted the fix-signmessage branch August 7, 2024 09:44
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