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: enforce non-empty maintainers in contract key in fetchByKey #7649

Merged
merged 2 commits into from
Oct 15, 2020

Conversation

remyhaemmerle-da
Copy link
Collaborator

@remyhaemmerle-da remyhaemmerle-da commented Oct 12, 2020

This fixes a bug in the Speedy interpreter. With this change, the
interpreter crashes if it attempts to exercise a choice using a
contract key that has an empty set of maintainers.

This is a breaking change approved by @bame-da .

CHANGELOG_BEGIN

[LF] (Bug fix) enforce non-empty maintainers in contract key during
    fetchByKey and exerciseByKey.

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.

@remyhaemmerle-da remyhaemmerle-da added this to the Maintenance milestone Oct 12, 2020
@remyhaemmerle-da remyhaemmerle-da force-pushed the remy-lf-key-with-maintainers branch from a025536 to 63508cf Compare October 12, 2020 14:12
@remyhaemmerle-da remyhaemmerle-da changed the title LF: enforce non-empty maintainers in contract key in exerciseByKey LF: enforce non-empty maintainers in contract key in fetchByKey Oct 12, 2020
@remyhaemmerle-da remyhaemmerle-da force-pushed the remy-lf-key-with-maintainers branch 2 times, most recently from 2d50dc2 to 96b51e0 Compare October 12, 2020 14:19
This fixes a bug in the Speedy interpreter. With this change, the
interpreter crashes if it attempts to fetch using a contract key that
has an empty set of maintainers. This propagates to exerciseByKey as
this command is compiled using fetchByKey speedy builtin.

This is a breaking change approved by @bame-da .

CHANGELOG_BEGIN

    [LF] (Bug fix) enforce non-empty maintainers in contract key during
        exericiseByKey.

CHANGELOG_END
@remyhaemmerle-da remyhaemmerle-da force-pushed the remy-lf-key-with-maintainers branch from 0371320 to 38bc3df Compare October 12, 2020 17:50
Copy link
Contributor

@hurryabit hurryabit left a comment

Choose a reason for hiding this comment

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

Very nice. Thanks a lot!

@remyhaemmerle-da remyhaemmerle-da merged commit 9b2a7d5 into master Oct 15, 2020
@remyhaemmerle-da remyhaemmerle-da deleted the remy-lf-key-with-maintainers branch October 15, 2020 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants