File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 11 /**
22 * @authors: [@shalzz]
3- * @reviewers: [@jaybuidl]
3+ * @reviewers: [@jaybuidl*, @geaxed ]
44 * @auditors: []
55 * @bounties: []
66 * @deployments: []
@@ -27,6 +27,15 @@ contract BeaconRNGFallBack is RNG {
2727 blockhashRNG = _blockhashRNG;
2828 }
2929
30+ /**
31+ * @dev Since we don't really need to incentivize requesting the beacon chain randomness,
32+ * this is a stub implementation required for backwards compatibility with the
33+ * RNG interface.
34+ * @notice All the ETH sent here will be lost forever.
35+ * @param _block Block the random number is linked to.
36+ */
37+ function contribute (uint _block ) public payable {}
38+
3039 /**
3140 * @dev Request a random number.
3241 * @dev Since the beacon chain randomness is not related to a block
You can’t perform that action at this time.
0 commit comments