SuperblocksHQ / ethereum-studio

Official Ethereum Studio project repository. And IDE specially tailored to make it as simple as possible to onboard new users into the Ethereum ecosystem
https://ethereum.org/build/
GNU General Public License v3.0
185 stars 102 forks source link

Fix coin mint #264

Closed lovrobiljeskovic closed 4 years ago

lovrobiljeskovic commented 4 years ago

Description of the Change

These code changes should fix the bug when mint function from the Token template is called when the account is not an owner. It will display an error message in the console and the failed transaction will be shown in the transactions tab. Also, in transactions tab the appropriate label for arguments should be displayed now.

Github Issues

260 #261

samajammin commented 4 years ago

Hey @lovrobiljeskovic sorry for the late review - just tested it locally & it looks great! Thanks for knocking this out.

I appreciated the error message in the tx logs: Image 2020-06-16 at 11 52 03 AM