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

Use a non-random "randomness" value for testing #641

@ed255

Description

@ed255

Currently we are using a different random value on each test run for the randomness used for the RLC in the circuits:

I believe it's better for tests to use always the same "random" value to get reproducible executions and run the test always with the same intermediate values. Even more, we can use a particular value that makes debugging an RLC encode value easier, like 0x1000 as suggested by @lispc .

See #622 (comment) for a discussion on this topic.

Metadata

Metadata

Assignees

Labels

T-testType: test improvementscrate-mockIssues related to the mock workspace membercrate-zkevm-circuitsIssues related to the zkevm-circuits workspace member

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions