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

Test vectors #150

Open
cryptoquick opened this issue Jan 26, 2023 Discussed in #131 · 1 comment
Open

Test vectors #150

cryptoquick opened this issue Jan 26, 2023 Discussed in #131 · 1 comment

Comments

@cryptoquick
Copy link
Member

Discussed in https://github.com/orgs/LNP-BP/discussions/131

Originally posted by cryptoquick October 5, 2022
It would really help in development to have a set of test vectors to verify certain activities such as minting, transfers, secondary transfers, and other more complex scenarios, especially as functionality is expanded. This way improvements can be made without compromising fundamental functionality. It would also help test certain assumptions made during development, and speed up review.

If something like this desired, where should these test vectors be made, and how should they work? Ideally the nodes and their methods could be tested in an ephemeral context, without necessarily needing to make shell commands.

To make this work easier, maybe embeddable API equivalents to the cli commands that make calls to microservices over zmq could be made available as a single, unified crate. This would make it easier to make calls to test functionality within Rust tests.

What do people think? Would this work be useful or necessary?

@dr-orlovsky
Copy link
Member

I think this is highly required - but it is better to wait for v0.10 since otherwise all these test vectors would be broken

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