tonkeeper / w5

Wallet version 5
MIT License
155 stars 71 forks source link

Deploying wallet as library #37

Open jacobs100500 opened 1 week ago

jacobs100500 commented 1 week ago

Wallet V5 is advertised as a wallet with significant improvements in gas usage, but I noticed that all new wallets in the network are deployed from source code (not as a library). Deploying a contract as a library allows you to reduce the cost of storage and forwarding fees, but this improvement is ignored, although the repository has the ability to do this. In TonKeeper (Google Chrome extension, version 3.20.1), there is also no ability to conduct transactions with a wallet as a library.

In addition, in the test network, I noticed that the wallet library account is frozen after this transaction. This results in the inability to send transactions even though the wallet is deployed. I get this error when I try to send a transaction:

exitcode=9, steps=2, gas_used=0
VM Log (truncated):
...execute implicit JMPREF
handling exception code 9: failed to load library cell
default exception handler, terminating vm with exit code 9

In the main network, the library account is not frozen, and there are no problems with sending transactions.

I also wonder why TonKeeper doesn't use wallet deployment as a library when the developer (TonKeeper) provided such an option in the repository.

Additional information about the frozen account sent to https://t.me/oleganza from https://t.me/Su******lu.

Thank you!