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

Deterministic randomness for each SPARK round #27

Closed
Tracked by #47
bajtos opened this issue Oct 2, 2023 · 0 comments
Closed
Tracked by #47

Deterministic randomness for each SPARK round #27

bajtos opened this issue Oct 2, 2023 · 0 comments

Comments

@bajtos
Copy link
Member

bajtos commented Oct 2, 2023

ETA: 2024-07-31

Many steps of the decentralised SPARK Protocol rely on a source of deterministic randomness. This can be DRAND or Ethereum opcode PREVRANDAO.

In my limited understanding:

We need to integrate that source of randomness into SPARK, so that for each SPARK round, the following components know the randomness value:

  • spark-api
  • spark-evaluate
  • spark (Station module)

If feasible, we think it's better & safer if the IE smart contract can store & emit the randomness value for the current round, instead of trying to find it after the round by mapping the FVM or ETH epoch to the DRAND round using the genesis timestamps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ done
Development

No branches or pull requests

1 participant