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

pad transaction signature values to equal 32 bytes #6060

Closed
luu-alex opened this issue May 3, 2023 · 0 comments
Closed

pad transaction signature values to equal 32 bytes #6060

luu-alex opened this issue May 3, 2023 · 0 comments
Assignees
Labels
4.x 4.0 related Bug Addressing a bug

Comments

@luu-alex
Copy link
Contributor

luu-alex commented May 3, 2023

Coming from the PR comments #6033 (comment) The rpc method getblock test fails due to transaction signature value r sometimes returning less than 32 bytes. this needs to be padded so it passes byte32 validation
https://github.com/web3/web3.js/blob/4.x/packages/web3-eth/test/integration/block/rpc.getBlock.test.ts

Expected behavior

Actual behavior

Steps to reproduce the behavior

  1. [First step]
  2. [Second step]
  3. [and so on...]

Logs

Environment

@luu-alex luu-alex added Bug Addressing a bug 4.x 4.0 related labels May 3, 2023
@luu-alex luu-alex self-assigned this May 4, 2023
@luu-alex luu-alex mentioned this issue May 9, 2023
17 tasks
@luu-alex luu-alex closed this as completed May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x 4.0 related Bug Addressing a bug
Projects
None yet
Development

No branches or pull requests

1 participant