Fix comments

This commit is contained in:
Mark Spanbroek 2021-11-02 09:46:15 +01:00
parent 5eb571fe1c
commit 3b6ec4126d
3 changed files with 5 additions and 4 deletions

View File

@ -39,6 +39,10 @@ contract Proofs {
markers[id] = uint(blockhash(block.number - 1)) % period;
}
// Check whether a proof is required at the time of the block with the
// specified block number. A proof has to be submitted within the proof
// timeout for it to be valid. Whether a proof is required is determined
// randomly, but on average it is once every proof period.
function _isProofRequired(
bytes32 id,
uint blocknumber

View File

@ -69,10 +69,6 @@ contract Storage is Contracts, Proofs {
return _missed(contractId);
}
// Check whether a proof is required at the time of the block with the
// specified block number. A proof has to be submitted within the proof
// timeout for it to be valid. Whether a proof is required is determined
// randomly, but on average it is once every proof period.
function isProofRequired(
bytes32 contractId,
uint blocknumber

View File

@ -3,6 +3,7 @@ pragma solidity ^0.8.0;
import "./Contracts.sol";
// exposes internal functions of Contracts for testing
contract TestContracts is Contracts {
function newContract(