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: correct encode_2718_len for legacy transactions #1360

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Sep 25, 2024

Motivation

We did not include header length when calculating 2718 len for legacy transaction. This PR fixes this, refactors rlp_payload_length a bit and adds a test for legacy tx scenario

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@DaniPopes DaniPopes merged commit b4275a3 into alloy-rs:main Sep 25, 2024
13 of 26 checks passed
lwedge99 pushed a commit to sentioxyz/alloy that referenced this pull request Oct 8, 2024
* fix: correct  for legacy transactions

* simplify rlp_payload_length

* fmt
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