Skip to content

Changed traceId in TxInternal from long to String #17

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

Merged
merged 1 commit into from
Mar 8, 2022
Merged

Changed traceId in TxInternal from long to String #17

merged 1 commit into from
Mar 8, 2022

Conversation

guggio
Copy link
Contributor

@guggio guggio commented Feb 20, 2022

Great Java implementation for the etherscan api! While fetching internal transaction data, I ran into a ParseException because of the traceId value of "1_0". In my case it was a refund from a uniswap trade.

You can check it yourself with address 0x82c1174618133b1a320106aa197d0e8ee7e36be4 (random address that interacted with uniswap and has non numeric traceIds for some of its internal transactions.

@GoodforGod GoodforGod changed the base branch from master to dev March 8, 2022 13:39
@GoodforGod GoodforGod self-assigned this Mar 8, 2022
@GoodforGod GoodforGod added the bug Something isn't working label Mar 8, 2022
@GoodforGod GoodforGod added this to the v1.2.1 milestone Mar 8, 2022
@GoodforGod
Copy link
Owner

Thanks for your PR !

I will make another getter for traceId to retrieve it as String, can't change existing one from long -> string cause this will break API, but I will keep that in mind in 2.0.0 version, thanks!

@GoodforGod GoodforGod merged commit a0aefad into GoodforGod:dev Mar 8, 2022
@GoodforGod GoodforGod mentioned this pull request Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants