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

eth/abi: fix handling of hex values for byte strings #100

Merged
merged 1 commit into from
May 19, 2022
Merged

Conversation

q9f
Copy link
Owner

@q9f q9f commented May 18, 2022

closes #98

however, if a hexstring is not prefixed, it will be hard to determine whether it is a bytes string or not. we'll potentially see this popping up again.

@q9f q9f self-assigned this May 18, 2022
@q9f q9f requested a review from kurotaky May 18, 2022 17:35
@q9f q9f added the bug Something isn't working label May 18, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #100 (f878cd2) into main (595e007) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   99.73%   99.73%           
=======================================
  Files          67       67           
  Lines        3802     3807    +5     
=======================================
+ Hits         3792     3797    +5     
  Misses         10       10           
Impacted Files Coverage Δ
lib/eth/abi.rb 100.00% <100.00%> (ø)
spec/eth/abi_spec.rb 100.00% <100.00%> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Copy link
Collaborator

@kurotaky kurotaky left a comment

Choose a reason for hiding this comment

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

👏 👏

@kurotaky kurotaky merged commit bbbb8ff into main May 19, 2022
@kurotaky kurotaky deleted the q9f/abi/hex branch May 19, 2022 10:12
mculp pushed a commit to mculp/eth.rb that referenced this pull request Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

encode bytes error
3 participants