Skip to content

Conversation

arajasek
Copy link
Contributor

This is a refactor intended to ultimately move the hashing portion of the randomness calculation into the FVM itself.

}
}

fn draw_randomness(
Copy link
Member

Choose a reason for hiding this comment

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

Can we have one or two "fixture" tests? I.e.:

  1. In lotus, explicitly generate some randomness (e.g., with a unit test).
  2. Hard-code those in a test in this file, and make sure this function generates the same outputs.

@arajasek
Copy link
Contributor Author

Closing, stale

@arajasek arajasek closed this May 29, 2023
@arajasek arajasek mentioned this pull request Aug 22, 2023
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

Successfully merging this pull request may close these issues.

2 participants