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

Only include stakeholder contracts in result of query #7291

Merged
merged 4 commits into from
Sep 1, 2020
Merged

Conversation

cocreature
Copy link
Contributor

This fixes a bug in the script service. We need to filter out divulged
contracts since this should behave exactly like the ACS endpoint on
the ledger API.

changelog_begin
changelog_end

Pull Request Checklist

  • Read and understand the contribution guidelines
  • Include appropriate tests
  • Set a descriptive title and thorough description
  • Add a reference to the issue this PR will solve, if appropriate
  • Include changelog additions in one or more commit message bodies between the CHANGELOG_BEGIN and CHANGELOG_END tags
  • Normal production system change, include purpose of change in description

NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with /AzurePipelines run to
trigger the build.

This fixes a bug in the script service. We need to filter out divulged
contracts since this should behave exactly like the ACS endpoint on
the ledger API.

changelog_begin
changelog_end
@cocreature cocreature changed the title Only include stakeholder contrats in result of query Only include stakeholder contracts in result of query Sep 1, 2020
Copy link
Collaborator

@remyhaemmerle-da remyhaemmerle-da left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks.
Just very minor cosmetic suggestions.

cocreature and others added 3 commits September 1, 2020 11:34
…enario/ScenarioLedger.scala

Co-authored-by: Remy <remy.haemmerle@daml.com>
…ine/script/LedgerInteraction.scala

Co-authored-by: Remy <remy.haemmerle@daml.com>
changelog_begin
changelog_end
@mergify mergify bot merged commit 09a1b44 into master Sep 1, 2020
@mergify mergify bot deleted the query-divulge branch September 1, 2020 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants