Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 481 Bytes

File metadata and controls

12 lines (7 loc) · 481 Bytes

Pragma

All files with .circom extension should start with a first pragmainstruction specifying the compiler version, like this:

pragma circom xx.yy.zz;

This is to ensure that the circuit is compatible with the compiler version indicated after the pragma instruction. Otherwise, the compiler throws a warning.

If a file does not contain this instruction, it is assumed that the code is compatible with the latest compiler's version and a warning is thrown.