Skip to content
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

Transfer of token to hollow account fails with INVALID_ACCOUNT_ID #7895

Closed
bilyana-gospodinova opened this issue Mar 11, 2024 · 0 comments · Fixed by #8200
Closed

Transfer of token to hollow account fails with INVALID_ACCOUNT_ID #7895

bilyana-gospodinova opened this issue Mar 11, 2024 · 0 comments · Fixed by #8200
Assignees
Labels
bug Type: Something isn't working limechain Work planned for the LimeChain team web3 Area: Web3 API
Milestone

Comments

@bilyana-gospodinova
Copy link
Contributor

Description

On transferFromNFT or transferFrom HTS call to a hollow account the transaction fails as the account could not be found in the store. The same call is successful in services. The difference is in the DecodingFacade. There is a method called convertLeftPaddedAddressToAccountId that has a third parameter (called exists) and in this case the account is created from the alias but in the mirror node the account remains the default one and in HederaTokenStore#checkAccountUsability an INVALID_ACCOUNT_ID error is thrown.

Steps to reproduce

Execute acceptance tests:

  • Then I call precompile with transferFrom "NFTEQUIVALENCE" token to an EVM address
  • Then I call precompile with transferFrom "FUNGIBLE" token to an EVM address

Additional context

No response

Hedera network

testnet

Version

v0.99.0

Operating system

None

@bilyana-gospodinova bilyana-gospodinova added bug Type: Something isn't working web3 Area: Web3 API labels Mar 11, 2024
@bilyana-gospodinova bilyana-gospodinova self-assigned this Mar 12, 2024
@Petyo-Lukanov Petyo-Lukanov added the limechain Work planned for the LimeChain team label Mar 18, 2024
@steven-sheehy steven-sheehy added this to the 0.105.0 milestone Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: Something isn't working limechain Work planned for the LimeChain team web3 Area: Web3 API
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants