Hello guys i have some problem which i don't clearly understand how it happens.
https://tonscan.org/tx/fKyiPbI-J9wcv_-BgrjTZSKlXF5gQ_NHhpvTPGNW9-k=
https://tonscan.org/tx/EcEM9dkHpl9I-_ns2K18AW7lMpkc0qF4qqVKiIUmj2w=
Here are 2 hahses of transaction.
Second one is the transaction of output from wallet bot.
First one is the transaction of input to my wallet created with tonweb lib. Standard v4r2 wallet,
I wrote to wallet bot support they told me that the transaction is successfully sent from their side and rest is to be discussedd with "My Wallet Provider" . As the wallet is created by me, and i am the provider , i need to uderstand how such things can happen, and why the money is lost. Is there someone who understands how this works and give me hints what can i do to avoid such things later.
Jun 29, 2023, 9:46 AM
The "money" (0.001 TON, really) is lost on gas computation fees, as v4 wallet tries to process incoming messages to test if they are sent by plugins.
How to avoid that: use larger sums. 0.1-1 TON is already fine.
Or, you can
1. download the wallet bytecode and data,
2. in data cell, replace seqno with 0 and plugins dict with empty dict (if present),
3. create StateInit (beginCell().storeUint(6, 5).storeRef(code).storeRef(data)),
4. hash StateInit.
The results should be identical.
1. download the wallet bytecode and data,
2. in data cell, replace seqno with 0 and plugins dict with empty dict (if present),
3. create StateInit (beginCell().storeUint(6, 5).storeRef(code).storeRef(data)),
4. hash StateInit.
The results should be identical.
Jun 29, 2023, 10:01 AM
Thank you very much. So the only issue here is fee right ? the amount was just for the testing purposes and lesser than 1 ton won't be accepted later.
Jun 29, 2023, 12:57 PM