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 an example to test the artifact CLI on CI #7382

Open
aakoshh opened this issue Feb 14, 2025 · 0 comments · May be fixed by #7417
Open

Add an example to test the artifact CLI on CI #7382

aakoshh opened this issue Feb 14, 2025 · 0 comments · May be fixed by #7417

Comments

@aakoshh
Copy link
Contributor

aakoshh commented Feb 14, 2025

Create a new module under https://github.com/noir-lang/noir/tree/master/examples that shows how to use the artefact CLI to execute oracle transcripts:

  • Create a contract that uses the mock functionality to make oracle calls in tests
  • Somehow capture the returned values from the mocks and save them as an Oracle.toml transcript file
  • Add a test.sh script to execute the following workflow:
    • Test the contract with nargo test
    • Compile the contract with nargo compile
    • Execute the compiled artefact with the Prover.toml and Oracle.toml files using noir-artifact execute
  • Call test.sh on CI
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Feb 14, 2025
@aakoshh aakoshh changed the title Add an example to test the artefact CLI on CI Add an example to test the artifact CLI on CI Feb 17, 2025
@aakoshh aakoshh linked a pull request Feb 18, 2025 that will close this issue
5 tasks
@aakoshh aakoshh linked a pull request Feb 18, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

Successfully merging a pull request may close this issue.

1 participant