I am aware that miner can have influence on block.timestamp

My question is, how to avoid this warning?

enter image description here


1 Answer 1


I don't think there's currently a way to do this. (Either in Remix or in the Solidity code directly.)

The following open issues are relevant. You might want to follow them on GitHub directly:

  • #2675: Be able to disable all warnings for certain files
  • #2691: Allow comments to ignore compiler warnings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.