Proto: contract-compatible encodings for implicit and originated accounts
Compare changes
Files
2@@ -59,18 +59,35 @@ let to_b58check = function
@@ -79,44 +96,78 @@ let pp_short ppf = function
The encoding of Contract
or Destination
is sometimes used when we only needed an implicit or originated account.
This MR provides encodings for them that are backward-compatible for the one of Contract
. I should be used for the storage to avoid a migration or operations for which we don't want to change the encoding.
They are also the de-facto encoding to use for forward-compatibility, e.g. if you build something that works only for originated accounts but may want to later support implicit accounts too.
Previous related MR: !5188 (merged)
See !5224 (merged) for a usage of it
docs/protocols/alpha.rst
for the protocol and the environment, CHANGES.rst
at the root of the repository for everything else).Reviewers
field below.Assignee
the next person who should take action on that MR