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

Explore possible approach to conformance testing for Leios #42

Open
4 tasks
ghost opened this issue Oct 14, 2024 · 2 comments
Open
4 tasks

Explore possible approach to conformance testing for Leios #42

ghost opened this issue Oct 14, 2024 · 2 comments
Assignees

Comments

@ghost
Copy link

ghost commented Oct 14, 2024

  • understand the details of the mechanic through which conformance testing is done in the Conway ledger
  • write a simple executable specification for a small part of Leios (eg. IB delivery in freshest first way?) in Agda
  • write some conformance tests for this specification using similar approach than what's been done in Peras
  • understand whether or not the constrained-generators library would be relevant to our problem
@ghost ghost assigned yveshauser Oct 14, 2024
@WhatisRT
Copy link
Collaborator

Another angle on this is that we could also use the executable logic from the spec to run simulations. There would be some FFI overhead and MAlonzo code is typically 2x slower than equivalent hand written Haskell but it might be worth to just run that code in the simulations. With all the infrastructure we've built for the Ledger there's a chance that it's not too much work.

@ghost
Copy link
Author

ghost commented Oct 16, 2024

I would rather focus on using the executable logic as a reference and test oracle, and give the freedom to simulations to use whatever language and tools they need.

@ghost ghost mentioned this issue Oct 16, 2024
3 tasks
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

No branches or pull requests

2 participants