Skip to content

Subgraph: Fixes parsing of negative int for TokenAmountDifference#249

Merged
ethereumdegen merged 7 commits intodevelopfrom
subgraph/pools-subgraph-liquidation-amount
Jan 20, 2026
Merged

Subgraph: Fixes parsing of negative int for TokenAmountDifference#249
ethereumdegen merged 7 commits intodevelopfrom
subgraph/pools-subgraph-liquidation-amount

Conversation

@ethereumdegen
Copy link
Contributor

since the tokenAmountDifference is an int256 and can be negative, special parsing needs to be used because for some odd reason, .toBigInt does not handle this properly by default.

@ethereumdegen ethereumdegen changed the title Fixes parsing of negative int for TokenAmountDifference Subgraph: Fixes parsing of negative int for TokenAmountDifference Jan 20, 2026
@ethereumdegen ethereumdegen merged commit a903824 into develop Jan 20, 2026
2 checks passed
@ethereumdegen ethereumdegen deleted the subgraph/pools-subgraph-liquidation-amount branch January 20, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant