hive-engine/steemsmartcontracts

Better Errors On Contracts

Opened this issue · 0 comments

Right now the errors can be VERY vague(ex https://github.com/hive-engine/steemsmartcontracts/blob/hive-engine/contracts/nftauction.js#L299) splitting the assert into multiple smaller ones can help prevent this problem and asserting the right error, which should let users debug a lot easier.