hi everyone. i use tonsdk in python to send transaction.  i get this error:
{'ok': False, 'error': 'LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted\nCannot run message on account: inbound external message rejected by transaction 904A29077D27B144985F1F986E295A3D56DAD504B17F696CFE6B09E5FD236216:\nexitcode=9, steps=20, gas_used=0\nVM Log (truncated):\n...DU 32\nexecute XCHG s2\nexecute NOW\nexecute LEQ\nexecute THROWIF 36\nexecute PUSH c4\nexecute CTOS\nexecute LDU 32\nexecute LDU 32\nexecute LDU 256\nexecute LDDICT\nhandling exception code 9: cell underflow\ndefault exception handler, terminating vm with exit code 9\n', 'code': 500}

what may cause this error?

May 1, 2023, 5:41 PM
Your wallet is probably deployed incorrectly (contains invalid data cell). If it is so, funds on it cannot be accessed.
Do you have link to transaction?
May 1, 2023, 5:42 PM
Not necessary
Maybe the library builds invalid cell for message body.

upd: not in this case (didn't notice c4 PUSH at first)
May 1, 2023, 5:44 PM
No. Actually i'm able to send transactions if i create a wallet using tonsdk.
But if i try to create hdwallet using ed25519 and assign privatekey and pubkey to walletcontractv4r2 and then send transaction i face this error
Any idea? Is it wrong to do something like that? So how should I create hdwallet?
https://testnet.tonscan.org/address/EQCQSikHfSexRJhfH5huKVo9VtrVBLF_aWz-awnl_SNiFqcQ
Here is a sample child wallet i created.
May 1, 2023, 5:51 PM

© 2024 Draquery.com All rights reserved.