• © Goverland Inc. 2026
  • v1.0.1
  • Privacy Policy
  • Terms of Use
KlerosKlerosby0x25F73d547c8A847eB0aC99AF0cBA5399D027f070daisugist88.wallet

KIP-55: Update Random Number Generator

Voting ended over 3 years agoSucceeded

This is a proposal to use the function changeRNGenerator to update the RNG used by Kleros. The new RNG will use BeaconRNG.sol as deployed at https://etherscan.io/address/0x90992fb4E15ce0C59aEFfb376460Fda4Ee19C879#code.

Motivation:

Post-merge, the best native source of randomness that will be accessible in the EVM will be the Randao values that the Ethereum consensus algorithm itself will use to choose its committees of attestors/block producers in a given epoch. Particularly, under EIP 4399 which is part of the merge, this value will be returned by using the OPcode that is currently being used for block difficulty. The check that block.difficulty<=2**64 follows a pattern recommended by EIP 4399, where such values are very likely to be produced if and only if the merge has not happened yet, so if the merge has not happened yet the new RNG defaults back to the old RNG.

Note final testing on this contract is still being done, so if a critical vulnerability is found prior to implementation this proposal should be considered to be voided.

Off-Chain Vote

Accept
5.6M PNK100%
Reject
0 PNK0%
Download mobile app to vote

Discussion

KlerosKIP-55: Update Random Number Generator

Timeline

Sep 07, 2022Proposal created
Sep 07, 2022Proposal vote started
Sep 14, 2022Proposal vote ended
Feb 22, 2024Proposal updated