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

unit test - no such thing as a reference datum #3409

Merged
merged 1 commit into from
May 10, 2023

Conversation

JaredCorduan
Copy link
Contributor

Description

I have added a unit test to demonstrate that "there is no such thing as a reference datum". In other words, you cannot include a reference input that contains an inline datum and have it count for the datum witness where ever it is needed.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated
  • When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
    versioning process.
  • The version bounds in .cabal files for all affected packages are updated (See RELEASING.md)
  • Any changes are noted in the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
  • Code is formatted with fourmolu (use scripts/fourmolize.sh)
  • Cabal files are formatted (use scripts/cabal-format.sh)
  • hie.yaml has been updated (use scripts/gen-hie.sh)
  • Self-reviewed the diff

@JaredCorduan JaredCorduan requested review from teodanciu and lehins May 9, 2023 17:56
Copy link
Collaborator

@lehins lehins left a comment

Choose a reason for hiding this comment

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

👍

@JaredCorduan JaredCorduan force-pushed the jc/unit-test-no-such-thing-as-refence-datum branch from 7ebcd23 to a41a8d2 Compare May 10, 2023 01:28
Copy link
Contributor

@teodanciu teodanciu 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

@JaredCorduan JaredCorduan merged commit f500346 into master May 10, 2023
@iohk-bors iohk-bors bot deleted the jc/unit-test-no-such-thing-as-refence-datum branch May 10, 2023 12:06
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