daml icon indicating copy to clipboard operation
daml copied to clipboard

Review error messages that can occur at runtime upgrade

Open remyhaemmerle-da opened this issue 2 years ago • 3 comments

We should review all the error that can be triggers by upgrading contract.

Here are some non exhaustive list of issue that may be necessary to tackle.

  • In case of change of ensure clause definition the system fail, but do not make it clear it is because of the upgrade that it fails (Note that in general case we cannot if it really a problem of upgrade as we may not have the original package)

remyhaemmerle-da avatar Oct 24 '23 13:10 remyhaemmerle-da

See https://github.com/digital-asset/daml/pull/17610#issuecomment-1790949941.

We should handle the error better for dropping/adding non-optional fields.

basvangijzel-DA avatar Nov 02 '23 16:11 basvangijzel-DA

Can use https://docs.google.com/document/d/1qsWtp9rdrGhYn_yER3aDwvUtvPyqw66LFJR3hlRR3rE/edit as a base.

basvangijzel-DA avatar Nov 14 '23 13:11 basvangijzel-DA