aergoio / aergo

aergo blockchain kernel
http://docs.aergo.io
MIT License
214 stars 45 forks source link

unit tests for contract package #299

Closed kroggen closed 1 year ago

kroggen commented 1 year ago

@gokch I moved your code here to the develop branch and made modifications On this way it can be used in different PRs later, after merging this one I had to rename the validateTxType function to better reflect its usage. The code does not return valid but if the parent function should continue execution or not