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(signature): construct Signature bytes using v+27 when we do not have an EIP155 v #503

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

Evalir
Copy link
Contributor

@Evalir Evalir commented Jan 25, 2024

Motivation

Followup for #499.

Solution

In the cases when we do not have an EIP155 v, construct the signature using y_parity_byte_non_eip155, to add 27 to v if necessary.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@DaniPopes DaniPopes merged commit 60ab793 into alloy-rs:main Jan 25, 2024
21 checks passed
@Evalir Evalir deleted the evalir/construct-v-sig branch January 25, 2024 17:43
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