You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use tonsdk under apps in the warehouse to apply it to my own wallet framework code. If there is a problem with the generated transaction signature, an error will be reported. #312
When I applied the ton SDK in core/src/apps/ton in the warehouse to our hardware wallet framework for use, the boc request https://toncenter.com/api/v2/sendBoc of the ton transaction information generated by sign_message.py in the SDK was broadcast, and it would prompt: {'ok': False, 'error': 'INVALID_BAG_OF_CELLS: bodyinvalid bag-of-cells failed to deserialize cell #1 [Error : 0 : invalid index entry [116; 53], [data.size():169]]', 'code': 500}, and when the boc = bytes(signing_message.to_boc()) returned by the create_transaction_digest method in _wallet_contract.py was changed to boc = bytes(signing_message.to_boc(False)), when broadcasting again, the error message would become: {'ok': False, 'error': 'INVALID_BAG_OF_CELLS: bodyinvalid bag-of-cells failed to deserialize cell #1 [Error : 0 : invalid index entry [116; 53], [data.size():169]]', 'code': 500}. '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 FCBC39F68D71AE15B42A0E6A5DFAB4D5AA70A2BD3D5A54B7679976DDB6040BFC:\nexitcode=33, steps=23, gas_used=0\nVM Log (truncated):\n...te NOW\nexecute LEQ\nexecute THROWIF 36\nexecute PUSH c4\nexecute CTOS\nexecute LDU 32\nexecute LDU 32\nexecute LDU 256\nexecute LDDICT\nexecute ENDS\nexecute XCPU s4,s3\nexecute EQUAL\nexecute THROWIFNOT 33\ndefault exception handler, terminating vm with exit code 33\n', 'code': 500}, do you know what the reason is?