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

Add V2 script context equivalence test shell scripts #4238

Merged
merged 2 commits into from
Sep 1, 2022

Conversation

Jimbo4350
Copy link
Contributor

This pr adds two plutus scripts with accompanying shell scripts:
scripts/babbage/script-context-equivalance-test.sh
scripts/babbage/script-mint-context-equivalance-test.sh

The plutus scripts test various fields in the ScriptContext for equivalence in our redeemer that is created by the create-script-context executable (from plutus-example in plutus-apps). The shell script succeed depending on if the fields in the ScriptContext are actually equivalent to what is in our redeemer.

@Jimbo4350 Jimbo4350 changed the title Add script context equivalence test shell scripts Add V2 script context equivalence test shell scripts Jul 27, 2022
@Jimbo4350 Jimbo4350 mentioned this pull request Jul 28, 2022
40 tasks
@Jimbo4350 Jimbo4350 force-pushed the jordan/implement-v2-script-equivalence-test branch from 2b89d4a to bf948fa Compare August 12, 2022 15:57
in the ScriptContxt is equivalent to the mint field in our redeemer
@Jimbo4350 Jimbo4350 force-pushed the jordan/implement-v2-script-equivalence-test branch from bf948fa to 289b7e4 Compare August 30, 2022 14:19
@Jimbo4350
Copy link
Contributor Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Sep 1, 2022

Build succeeded:

@iohk-bors iohk-bors bot merged commit b112a60 into master Sep 1, 2022
@iohk-bors iohk-bors bot deleted the jordan/implement-v2-script-equivalence-test branch September 1, 2022 16:02
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