5

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

My question is, how to avoid this warning?

enter image description here

3

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, privacy policy and cookie policy

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