Skip to content

Changed traceId in TxInternal from long to String - #17

Merged
GoodforGod merged 1 commit into
GoodforGod:devfrom
guggio:master
Mar 8, 2022
Merged

Changed traceId in TxInternal from long to String#17
GoodforGod merged 1 commit into
GoodforGod:devfrom
guggio:master

Conversation

@guggio

@guggio guggio commented Feb 20, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants