diff --git a/contracts/standard/rng/BeaconRNGFallback.sol b/contracts/standard/rng/BeaconRNGFallback.sol index 5bcb1709..bdc130b9 100644 --- a/contracts/standard/rng/BeaconRNGFallback.sol +++ b/contracts/standard/rng/BeaconRNGFallback.sol @@ -1,6 +1,6 @@ /** * @authors: [@shalzz] - * @reviewers: [@jaybuidl] + * @reviewers: [@jaybuidl*, @geaxed] * @auditors: [] * @bounties: [] * @deployments: [] @@ -27,6 +27,15 @@ contract BeaconRNGFallBack is RNG { blockhashRNG = _blockhashRNG; } + /** + * @dev Since we don't really need to incentivize requesting the beacon chain randomness, + * this is a stub implementation required for backwards compatibility with the + * RNG interface. + * @notice All the ETH sent here will be lost forever. + * @param _block Block the random number is linked to. + */ + function contribute(uint _block) public payable {} + /** * @dev Request a random number. * @dev Since the beacon chain randomness is not related to a block