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

Derandomize generate_primitive_witness #194

Open
Sword-Smith opened this issue Oct 1, 2024 · 0 comments
Open

Derandomize generate_primitive_witness #194

Sword-Smith opened this issue Oct 1, 2024 · 0 comments
Assignees

Comments

@Sword-Smith
Copy link
Member

GlobalState::generate_primitive_witness creates SaltedUtxos structures through their new constructor. This uses thread_rng internally which means that the proofs cannot be reused across test runs. Let's give generate_primitive_witness a seed or a salt_seed argument such that we can reuse the proofs and get faster tests.

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

3 participants