cairo_lang_starknet_classes::compiler_version

Function current_sierra_version_id

source
pub fn current_sierra_version_id() -> VersionId
Expand description

The version of the Sierra compiler that compiled the contract.

Major version should be updated in any non-backwards compatible change of the Sierra compiler. Minor version should be updated in any backwards compatible change of the Sierra compiler. For more information see docs/CONTRIBUTING.md.