mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
* compared cap with amount entered to mint if exceeds an error is thrown * refactor mint method created method for estimate mint gas * Revert "refactor mint method" This reverts commit 4b370958f267fa3f24074bc40d3d9014c4139e48. * mint method refactor to pass codeclimate test * added new Datatokens unit test created a unit to check if mint method throws error when cap amount exceeds cap