Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LF: Structure Errors. #9974

Closed
6 tasks done
remyhaemmerle-da opened this issue Jun 11, 2021 · 1 comment
Closed
6 tasks done

LF: Structure Errors. #9974

remyhaemmerle-da opened this issue Jun 11, 2021 · 1 comment
Assignees
Labels
Milestone

Comments

@remyhaemmerle-da
Copy link
Collaborator

remyhaemmerle-da commented Jun 11, 2021

TODOS:

  • On ContractNotFound
            // We crash here because:
            //  1. You cannot construct a cid yourself in scenarios or
            //     daml script
            //  2. Contract id fetch failures because a contract was
            //     archived or what not are turned into more specific
            //     errors so we never produce ContractNotFound
            //   (MK) This isn’t actually true. You can easily
            //   coerceContractId your way into this error. Not for
            //   this PR though.
    //  (MK) I’m not convinced the partial transaction here provides any real value.
    //  Afaict the only thing we use it for is to produce slightly different error
    //  if a contract is inactive due to a recursive exercise. We don’t do that in
    //  the scenario service however and I’ve never heard a request for it so I
    //  have a hard time believing that it is really useful here.
@remyhaemmerle-da
Copy link
Collaborator Author

cc @daravep

@remyhaemmerle-da remyhaemmerle-da added this to the Maintenance milestone Jun 11, 2021
remyhaemmerle-da added a commit that referenced this issue Jun 14, 2021
This PR is part of the effort to improve engine Errors.  Here we
classify all the errors the engine can report in 4 categories:

- Errors happening during package loading

- Error happening during command/transaction preprocessing

- Error happening during interpretation

- Error happening during transaction validation


part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 14, 2021
part of #9974.

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 15, 2021
part of #9974.

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 15, 2021
part of #9974.

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 15, 2021
part of #9974.

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 15, 2021
part of #9974.

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 15, 2021
part of #9974.

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 17, 2021
part of #9974.

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 17, 2021
part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 21, 2021
part of #9974

CHANGELOG_BEGIN
CHANGELOG_END

Update ledger/participant-integration-api/src/main/scala/platform/store/ErrorCause.scala

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

Update ledger/participant-integration-api/src/main/scala/platform/store/ErrorCause.scala

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

Address Moritz's review

cosmetic
remyhaemmerle-da added a commit that referenced this issue Jun 23, 2021
to be accessible from any package

part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 23, 2021
to be accessible from any package

part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 23, 2021
to be accessible from any package

part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 23, 2021
to be accessible from any package

part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 23, 2021
to be accessible from any package

part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 23, 2021
to be accessible from any package

part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 24, 2021
to be accessible from any package

part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 24, 2021
to be accessible from any package

part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jun 24, 2021
to be accessible from any package

part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
@remyhaemmerle-da remyhaemmerle-da linked a pull request Jul 27, 2021 that will close this issue
6 tasks
remyhaemmerle-da added a commit that referenced this issue Jul 27, 2021
explaining the origining of missing package.

This is part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jul 27, 2021
explaining the origining of missing package.

This is part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Jul 28, 2021
explaining the origining of missing package.

This is part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
@remyhaemmerle-da remyhaemmerle-da linked a pull request Jul 28, 2021 that will close this issue
6 tasks
remyhaemmerle-da added a commit that referenced this issue Jul 28, 2021
explaining the origining of missing package.

This is part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Aug 3, 2021
part of #9974

 - rename `msg` field to `message`
 - drop `engine.Error.Validation.Generic`
 - rename argument `where` to `location`
 - Builtin set the `dependsOnTime` before throwing the callback `SResultNeedTime`

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da added a commit that referenced this issue Aug 4, 2021
part of #9974

CHANGELOG_BEGIN
CHANGELOG_END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant