Test vectors #131
cryptoquick
started this conversation in
General
Replies: 2 comments 2 replies
-
I think this is one of the tasks of the primary importance |
Beta Was this translation helpful? Give feedback.
0 replies
-
@cryptoquick I think this should be transformed into an issue in RGB Node repository. Can you pls post it there? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions