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

Use proptest for deserialisation and serialisation tests #717

Open
xgreenx opened this issue Apr 9, 2024 · 0 comments
Open

Use proptest for deserialisation and serialisation tests #717

xgreenx opened this issue Apr 9, 2024 · 0 comments
Labels

Comments

@xgreenx
Copy link
Collaborator

xgreenx commented Apr 9, 2024

In the codebase, we have many places where we try to generate different types of transactions with different inputs and see that we can serialize/deserialize them properly.

Instead of doing that manually we can use the proptest framework to generate transactions.

#707 (comment)
#707 (comment)
#707 (comment)
#707 (comment)

We have this problem for each type of transaction, so it should be a huge refactoring of all tests related to serialization and deserialization.

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

No branches or pull requests

1 participant