This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
[BUG] Failed to deserialize etherscan response: data did not match any variant of untagged enum ResponseData #2612
Labels
bug
Something isn't working
Version
2.0.10
Platform
Mac 64 bit (Intel)
Description
I get this error
Error: data did not match any variant of untagged enum ResponseData
With the following code
After some investigations it seems that some particular transactions are causing the trouble. These transactions are flagged by Etherscan UI as "Transfer*" with the following message "This transaction inludes data in the Input Data field which may indicate a message in UTF8". Not sure if this is related to the error...
As an example the following one causes the error if included in a response bundle: https://etherscan.io/tx/0x95983231acd079498b7628c6b6dd4866f559a23120fbce590c5dd7f10c7628af
To reproduce the error with this particular tx use these params:
let params = TxListParams::new(0, 18185184, page, 1, Sort::Desc);
Issue might be related to this one #2324
The text was updated successfully, but these errors were encountered: