ton-blockchain / wallet-contract-v5

w5
MIT License
69 stars 16 forks source link

Fix TLB to match the separation of extended actions #6

Open behrang opened 2 months ago

behrang commented 2 months ago

Wallet extended actions were previously put before the normal actions. In the new design, they are separated, which I think is more streamlined. However, the TLB does not match the code, because it still allows normal actions to be defined inside extended actions, which makes the code to throw an exception in this case.

This new version of TLB tries to improve this, so that anyone reading the TLB has better understanding of how should the structure of the messages be.