Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Fixed-value randomness tests#682

Merged
CPerezz merged 6 commits into
mainfrom
seeded_randomness_tests
Aug 16, 2022
Merged

Fixed-value randomness tests#682
CPerezz merged 6 commits into
mainfrom
seeded_randomness_tests

Conversation

@CPerezz
Copy link
Copy Markdown
Contributor

@CPerezz CPerezz commented Aug 15, 2022

So as per comment in #641 and discussion in #622 (comment) I've just used a constant value for all of the randomness-related tests.

As per my opinion, I think this is going to make it a bit more difficult to enforce consistency on the randomness used. And, instead, we should try to go for something like a lazy_static defined randomness value in the mock crate which can be used elsewhere.

I think this second option would make more sense. And I'm happy to open a new PR with that approach :)

@CPerezz CPerezz requested a review from miha-stopar as a code owner August 15, 2022 14:43
@github-actions github-actions Bot added crate-circuit-benchmarks Issues related to the circuit-benchmarks workspace member crate-integration-tests Issues related to the integration-tests workspace member crate-zkevm-circuits Issues related to the zkevm-circuits workspace member T-bench Type: benchmark improvements labels Aug 15, 2022
Copy link
Copy Markdown
Collaborator

@ChihChengLiang ChihChengLiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@han0110 han0110 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@CPerezz CPerezz merged commit de17e38 into main Aug 16, 2022
@CPerezz CPerezz deleted the seeded_randomness_tests branch August 16, 2022 09:50
z2trillion referenced this pull request in scroll-tech/zkevm-circuits Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

crate-circuit-benchmarks Issues related to the circuit-benchmarks workspace member crate-integration-tests Issues related to the integration-tests workspace member crate-zkevm-circuits Issues related to the zkevm-circuits workspace member T-bench Type: benchmark improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants