aeternity / aesophia

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

Add signature literals #505

Closed hanssv closed 7 months ago

hanssv commented 8 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