-
Notifications
You must be signed in to change notification settings - Fork 131
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
Cannot Associate Token with account using Alias #2657
Comments
hi @bugbytesinc ! Thank you for the issue. In this initial release of the feature, we are only supporting using the alias in crypto transfer transactions, account balance and account infos queries. You will be able to use the alias in all transactions and queries in place of an account ID in a future release. |
Since the HAPI was changed at a primitive level, what kind of precautions are you taking to make sure that the potential code branches by not checking the alias may introduce. I am concerned by relying on the old code for "invalid xyz" may introduce code paths that could turn out to be 0 day vulnerabilities. At the very least, each entry point should be checked and a custom "alias not implemented just yet" code be thrown instead. |
Will be resolved by this parent issue for extending alias support for all Transactions and Queries #2691 |
Description
If trying to use the alias form of an address to invoke a token associate, it fails with invalid account id.
Steps to reproduce
create an account with pay to alias
try to associate the account
association fails with invalid account id.
Additional context
logs from test
create account
associate token
Hedera network
previewnet
Version
Current PREVIEWNET
Operating system
Windows
The text was updated successfully, but these errors were encountered: