What do I do wrong?

TVM return exit code 9 (cell underflow) 😭

error: 'LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted\n' +
'Cannot run message on account: inbound external message rejected by transaction EE43F7156FCA30D66B04FF04C45EF63F8BD68699ADBB39FCF5B636A306F6B6ED:\n' +
'exitcode=9, steps=19, gas_used=0\n' +
'VM Log (truncated):\n' +
'...te LDU 32\n' +
'execute LDU 256\n' +
'execute LDREF\n' +
'execute LDREF\n' +
'execute LDREF\n' +
'execute SWAP\n' +
'execute CTOS\n' +
'execute LDU 8\n' +
'execute SWAP\n' +
'execute LSHIFT 3\n' +
'execute LDSLICEX\n' +
'handling exception code 9: cell underflow\n' +
'default exception handler, terminating vm with exit code 9\n',
code: 500

Mar 15, 2023, 12:27 PM
In a second look, it doesn’t look like an external message
External messages have signatures and stuff, why are you sending external directly and not an internal through the wallet?
Mar 15, 2023, 12:33 PM
Try to put in the body internal message
Mar 15, 2023, 12:34 PM
Maybe it’s just deploy code… If address have TONs it’ll work
Mar 15, 2023, 12:36 PM
I hate deploying with external
Mar 15, 2023, 12:36 PM
Yes, it’s a deployment code
Mar 15, 2023, 12:36 PM
Problem is that code you provide run messege body you provide. And message body is empty
Mar 15, 2023, 12:36 PM
In general I recommend to always do internal only unless you’re implementing a wallet contarct
Mar 15, 2023, 12:36 PM
Maybe. I’ll try it out
Mar 15, 2023, 12:39 PM

© 2024 Draquery.com All rights reserved.