-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Regression: "Failed to decode transaction" #9046
Comments
This should be fixed by alloy-rs/alloy#1428 which will be available in the next alloy release |
@yash-atreya alloy-rs/alloy#1428 only fixed |
Sorry, what did I do which was incorrect? I'm not saying my code is absolutely 100% correct, yet the above seems without issue to me. I'm not manually specifying any recovery ID value. I also am specifying one (one is returned by This also was accepted by anvil in the past (meaning if this was an invalid encoding, which it sounds like it was, there's also an invalid decoding/validation issue which has yet to be linked here). |
when converting k256 signature from this error didn't occur earlier because we've only recently enforced this in alloy during decoding |
Hm. I think I'd label that an issue with |
Tracking in alloy-rs/alloy#1510, should be fixed soon by alloy-rs/core#776 |
Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
Latest
What command(s) is the bug in?
No response
Operating System
Linux
Describe the bug
Since 4 days ago, the version of
anvil
downloaded by installing foundryup via the script at https://foundry.paradigm.xyz (and then running it) has yieldedwhen I run the following block of code:
The
tx
value in that case is an opaque byte array generated as follows:You can observe this failure in my CI: https://github.com/serai-dex/serai/actions/runs/11162161674/job/31026214470 (where the commit prior worked, and this commit didn't touch any of our work with Ethereum).
This obviously isn't a MRE and I apologize for that. I just wanted to file this ASAP until I have time to poke more later. I didn't see any filed issues/open PRs recently which seems to be relevant here. Off-hand, I have some loose guess this a quirk with publishing legacy TXs (outside of an envelope) but I truly don't know. https://github.com/serai-dex/serai//blob/55fb8a588922dcae8a13a6f269fc98f9c2843e1b/Cargo.lock#L102-L507 for my alloy versions, which is 0.3 for the non-core libs and not yet 0.4 (which may be of relevance here).
The text was updated successfully, but these errors were encountered: