Fix the decoding of unsigned transactions#243
Conversation
|
Thanks. You can ignore the failing actions (lack of permissions for external contributors). Do you mind adding a test for that? |
@q9f Done 👍 |
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## main #243 +/- ##
==========================================
- Coverage 99.66% 99.48% -0.18%
==========================================
Files 77 77
Lines 4439 4460 +21
==========================================
+ Hits 4424 4437 +13
- Misses 15 23 +8
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
@q9f I've added a test case for an EIP-2930 transaction too, so that the test coverage is not decreased. |
|
@q9f Is there anything else we need before this PR can be merged? |
|
Sorry, it's slow season over hear. I'll take care of it now :) |
Currently, the transaction decoding methods (both for EIP-1559 and EIP-2930) try to recover a sender address for unsigned transactions, which results in the following error:
This PR fixes this issue by checking if
recovery_idis present.