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
A contract should always do a transfer (from the balance of the sender to the balance of the receiver) to we can check if the sender got enough assets to do the transfer.
Hi bassjobsen,
Thanks for your suggestion. We will use transfer function to replace increase/decrease in next version.
Currently there are rewards in forging blocks, that's why we use increase. Thank you.
In next version, we will introduce a virtual account, and the new forged coins should come from the virtual account, and only the kernel program can invoke transfer from the virtual account.
Version
1.4
Steps to reproduce
https://github.com/bassjobsen/howto-asch-docs/blob/master/use-assets.md#something-wrong
What is expected?
A contract should always do a transfer (from the balance of the sender to the balance of the receiver) to we can check if the sender got enough assets to do the transfer.
What is actually happening?
see:
AschPlatform/asch#242 and AschPlatform/asch#229
The text was updated successfully, but these errors were encountered: