aeternity / aesophia

Stand alone compiler for the Sophia smart contract language
https://docs.aeternity.com/aesophia
ISC License
51 stars 19 forks source link

Add signature literals #505

Closed hanssv closed 5 months ago

hanssv commented 5 months ago

Add signature literal sg_... + handle system alias types (hash, unit, signature) explicitly when converting to Sophia values. This makes it possible to return sg_... if the type is signature despite type inference being made with bytes(64).

This PR is supported by Æternity Foundation