DAL: move root constants type into lib_crypto_dal and environment
The following discussion from !5996 (merged) should be addressed:
-
@Saroupille started a discussion: (+2 comments) A suggestion which requires a bit of work, but IMHO, would be better.
Since those constants are shared by the protocol and the shell, it would be better to have this type declaration in
lib_crypto_daldirectly. Then export this type to the environment (as well as its encoding). In particular, themakefunction could take this datatype as input.Then having the
constant_parametric_constantsusing this datatype (you could usemerge_objsto stay compatible). Otherwise, I think it is a bit odd as it is.