4

I keep getting these warnings when compiling Solidity code:

Gas requirement of function [...] unknown or not constant.

I know that the gas requirement is not constant, and I've implemented a calculation to set an appropriate gas limit in my DApp's user interface.

Since I have addressed the issue, is there a way to disable this warning for a specific function or globally?

Jesbus
  • 10,478
  • 6
  • 35
  • 62

1 Answers1

0

This is currently not possible.

Jesbus
  • 24
  • 3