Merged requested to merge feature/global_constants into dev
constant is not really part of michelson, but is expanded by the time a contract is evaluated/typechecked using the global hash table stored on-chain.
Tezos.constant <hash>: takes a hash and emit
PUSH <ty> (constant <hash>). The contract won't pass the michelson typechecker since
constantwon't be expanded (use
I expect Tezos.constantsize to be used most of the time because even if a user is using an already defined constant, he can always make use of michelson insertions
has a changelog entry