Skip to content

HeliSwap contract reverts due to exception in associateToken() #19258

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

Open
OlegMazurov opened this issue May 16, 2025 · 0 comments
Open

HeliSwap contract reverts due to exception in associateToken() #19258

OlegMazurov opened this issue May 16, 2025 · 0 comments

Comments

@OlegMazurov
Copy link
Contributor

This is a regression in HeliSwap contract calling HTS associateToken(address,address) likely caused by #18997.
The HTS call throws exception IllegalArgumentException("Shard is negative") from:

...
decodeAssociateOne:67, AssociationsDecoder 
association:115, AssociationsDecoder 
internalAssociations:145, AssociationsDecoder 
asTokenIds:86, ConversionUtils
asTokenId:116, ConversionUtils 
shardOfLongZero:791, ConversionUtils 

The token address is an EVM address: 0xd4CDcfaE7E664F1C1B97419A2fB8646F5C6538cc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant