xian-network / xian-contracting

A subset of Python for developing smart contracts on the Xian Network
https://linktr.ee/xiannetwork
GNU General Public License v3.0
21 stars 1 forks source link

Remove unnecessary asserts and add new one #7

Closed Endogen closed 7 months ago

Endogen commented 7 months ago

Since we have the check for startswith("con_") we don't need any other check for the contract name. But I added another check for the contract lenght - which is now fixed at max 64 characters.