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 1
1
/**
2
2
* @authors: [@shalzz]
3
- * @reviewers: [@jaybuidl]
3
+ * @reviewers: [@jaybuidl*, @geaxed ]
4
4
* @auditors: []
5
5
* @bounties: []
6
6
* @deployments: []
@@ -27,6 +27,15 @@ contract BeaconRNGFallBack is RNG {
27
27
blockhashRNG = _blockhashRNG;
28
28
}
29
29
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
+
30
39
/**
31
40
* @dev Request a random number.
32
41
* @dev Since the beacon chain randomness is not related to a block
You can’t perform that action at this time.
0 commit comments