Solidity contract test error : is not implicitly convertible to expected type uint256





I had this piece of code in my contract (just a property) and when i write my test, to my surprise i se that i need to include a function() parameter in the code to call it.




uint public _landCount;


// In test

contractInstance._landCount(); // Returns value.



Comments

Popular posts from this blog

ionic2 cordova build android - Unable resolve gradle 2.2.3

A quick tutorial for OWASP ZAP tool for beginners