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

Property based testing for db-sync #1115

Open
kderme opened this issue May 8, 2022 · 2 comments
Open

Property based testing for db-sync #1115

kderme opened this issue May 8, 2022 · 2 comments
Assignees

Comments

@kderme
Copy link
Contributor

kderme commented May 8, 2022

ledger recently extended its property based testing. They can generate txs chains for Babbage and for StandardCrypto. This means we can probably use them in db-sync. It would require grouping and wrapping these transactions in blocks, using the Interpreter and then pass blocks to the mock chainsync server. block headers affect part of the ledger though, so this may not be trivial to do.

@kderme kderme added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels May 8, 2022
@kderme kderme mentioned this issue May 24, 2022
7 tasks
@vfrsilva vfrsilva moved this to 🪴Curation in Cardano Node Product Backlog Jul 22, 2022
@kderme kderme moved this to In Progress in DBSync Board Sep 29, 2022
@kderme
Copy link
Contributor Author

kderme commented Sep 29, 2022

state-maching property base testing has been in #1269, for empty or almost empty blocks. They can be extended with the ledger generators

@marshada
Copy link

marshada commented Oct 25, 2022

N.B. this refers to Input generators for DBSync properties instead of Ledger properties. This is a large scope and should be an EPIC or broken down into small issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants