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 coercing of address values in sendTransaction #1970

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

FrederikBolding
Copy link
Member

When using the snaps-jest sendTransaction function with address values the coercing would fail and throw because the coerced value doesn't match the expected output (in this case hexadecimal). This PR fixes this oversight by converting the coerced value to hex.

@FrederikBolding FrederikBolding requested a review from a team as a code owner November 16, 2023 11:14
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ac7aea4) 96.03% compared to head (76637e8) 96.03%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1970   +/-   ##
=======================================
  Coverage   96.03%   96.03%           
=======================================
  Files         263      263           
  Lines        6127     6127           
  Branches      989      989           
=======================================
  Hits         5884     5884           
  Misses        243      243           

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

@FrederikBolding FrederikBolding merged commit 5fac99c into main Nov 16, 2023
138 checks passed
@FrederikBolding FrederikBolding deleted the fb/fix-sendTransaction-coercing branch November 16, 2023 11:29
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