Answers for "security/no-block-members: Avoid using 'block.timestamp'."

1

security/no-block-members: Avoid using 'block.timestamp'.

This linter advice is incorrect and in practice block.timestamp is safe. 
The risks of using block numbers are higher because the block production rate
is not deterministic. The linter advice is based on non-realistic security 
assumptions that are not a concern under any kind of real scenario.
Posted by: Guest on September-24-2021

Code answers related to "security/no-block-members: Avoid using 'block.timestamp'."

Browse Popular Code Answers by Language