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

[Bug] Can't deserialize old transaction receipts #1493

Closed
klefevre opened this issue Oct 16, 2024 · 0 comments · Fixed by #1506
Closed

[Bug] Can't deserialize old transaction receipts #1493

klefevre opened this issue Oct 16, 2024 · 0 comments · Fixed by #1506
Labels
bug Something isn't working

Comments

@klefevre
Copy link

klefevre commented Oct 16, 2024

Component

network, json-rpc, serde

What version of Alloy are you on?

alloy v0.4.2

Operating System

Linux

Describe the bug

We get the following serde error missing field 'status' when we try to get old transaction receipts e.g. 0xea1093d492a1dcb1bef708f771a99a96ff05dcab81ca76c31940300177fcf49f.

Step to reproduce :

let provider = ProviderBuilder::new().on_http("https://rpc.ankr.com/eth".parse()?);

let receipt = provider
    .get_transaction_receipt(b256!(
        "ea1093d492a1dcb1bef708f771a99a96ff05dcab81ca76c31940300177fcf49f"
    ))
    .await?;

println!("{receipt:?}");
@klefevre klefevre added the bug Something isn't working label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant